Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@

### Added

- **openkal-musl 0.22.7、openkal-llvm-runtime 0.16.7、openkal-ld / openkal-run / openkal-tools / openkal-bind 0.1.4。**
openkal-musl 钉 openkal-linux 0.18.3,并只在内部 overlay 在命令行上时为 C++ 定义 `restrict`:musl 的公开头写
`__restrict`,而为每个 C++ 消费者定义的宏占用了程序自己的名字(clang 的 `TokenKinds.def` 把 `restrict` 作为宏
实参传入)。openkal-llvm-runtime 随之移动;openkal-image 的四个成员钉 openkal-linux 0.18.3,okrun 与载体能在
可搜索不可读的目录中启动程序。测试成员 `openkal`、`openkal-musl`、`openkal-tools`、`openkal-bind` 随之移动。
GLOBAL 为 GitHub 标签归档,CN 为 GitCode `mcpp-res` 镜像,sha256 两处一致。
- **openkal-linux 0.18.3。** 每个 `kal_dir`(含两个预开放目录)以 `O_PATH` 打开:在其下解析名字、在其中启动程序、
描述它都不需要读权限,列举时另开可读的描述符。Android 应用沙箱(`run-as`,SELinux `runas_app`)中根目录的预开放以
EACCES 失败,以绝对名启动的每个程序报告为找不到(mcpp-community/mcpp#857)。测试成员 `openkal` 移到 0.18.3。
Expand Down
21 changes: 21 additions & 0 deletions pkgs/o/openkal-bind.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ package = {

xpm = {
linux = {
["0.1.4"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.4.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.4/openkal-image-0.1.4.tar.gz",
},
sha256 = "d9ec0dc0a78c2bdbd20f1420df510805ef3f019545cb5306393ca31765edf5ff",
},
["0.1.3"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.3.tar.gz",
Expand All @@ -41,6 +48,13 @@ package = {
},
},
macosx = {
["0.1.4"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.4.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.4/openkal-image-0.1.4.tar.gz",
},
sha256 = "d9ec0dc0a78c2bdbd20f1420df510805ef3f019545cb5306393ca31765edf5ff",
},
["0.1.3"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.3.tar.gz",
Expand All @@ -57,6 +71,13 @@ package = {
},
},
windows = {
["0.1.4"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.4.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.4/openkal-image-0.1.4.tar.gz",
},
sha256 = "d9ec0dc0a78c2bdbd20f1420df510805ef3f019545cb5306393ca31765edf5ff",
},
["0.1.3"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.3.tar.gz",
Expand Down
21 changes: 21 additions & 0 deletions pkgs/o/openkal-ld.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ package = {

xpm = {
linux = {
["0.1.4"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.4.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.4/openkal-image-0.1.4.tar.gz",
},
sha256 = "d9ec0dc0a78c2bdbd20f1420df510805ef3f019545cb5306393ca31765edf5ff",
},
["0.1.3"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.3.tar.gz",
Expand Down Expand Up @@ -48,6 +55,13 @@ package = {
},
},
macosx = {
["0.1.4"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.4.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.4/openkal-image-0.1.4.tar.gz",
},
sha256 = "d9ec0dc0a78c2bdbd20f1420df510805ef3f019545cb5306393ca31765edf5ff",
},
["0.1.3"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.3.tar.gz",
Expand Down Expand Up @@ -78,6 +92,13 @@ package = {
},
},
windows = {
["0.1.4"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.4.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.4/openkal-image-0.1.4.tar.gz",
},
sha256 = "d9ec0dc0a78c2bdbd20f1420df510805ef3f019545cb5306393ca31765edf5ff",
},
["0.1.3"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.3.tar.gz",
Expand Down
21 changes: 21 additions & 0 deletions pkgs/o/openkal-llvm-runtime.lua
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,13 @@ package = {

xpm = {
linux = {
["0.16.7"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.16.7.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-llvm-runtime/releases/download/0.16.7/openkal-llvm-runtime-0.16.7.tar.gz",
},
sha256 = "9847098058fd8255f9c417109bf9341efeb8a6eab1b3dadb128503ee656c9fb8",
},
["0.16.6"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.16.6.tar.gz",
Expand Down Expand Up @@ -350,6 +357,13 @@ package = {
},
},
macosx = {
["0.16.7"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.16.7.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-llvm-runtime/releases/download/0.16.7/openkal-llvm-runtime-0.16.7.tar.gz",
},
sha256 = "9847098058fd8255f9c417109bf9341efeb8a6eab1b3dadb128503ee656c9fb8",
},
["0.16.6"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.16.6.tar.gz",
Expand Down Expand Up @@ -625,6 +639,13 @@ package = {
},
},
windows = {
["0.16.7"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.16.7.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-llvm-runtime/releases/download/0.16.7/openkal-llvm-runtime-0.16.7.tar.gz",
},
sha256 = "9847098058fd8255f9c417109bf9341efeb8a6eab1b3dadb128503ee656c9fb8",
},
["0.16.6"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.16.6.tar.gz",
Expand Down
21 changes: 21 additions & 0 deletions pkgs/o/openkal-musl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,13 @@ package = {

xpm = {
linux = {
["0.22.7"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.22.7.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-musl/releases/download/0.22.7/openkal-musl-0.22.7.tar.gz",
},
sha256 = "034de7f9c4c57fe04560737c1c3fc5c9a3f656e00f3050f4957a97f61482c265",
},
["0.22.6"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.22.6.tar.gz",
Expand Down Expand Up @@ -364,6 +371,13 @@ package = {
},
},
macosx = {
["0.22.7"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.22.7.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-musl/releases/download/0.22.7/openkal-musl-0.22.7.tar.gz",
},
sha256 = "034de7f9c4c57fe04560737c1c3fc5c9a3f656e00f3050f4957a97f61482c265",
},
["0.22.6"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.22.6.tar.gz",
Expand Down Expand Up @@ -653,6 +667,13 @@ package = {
},
},
windows = {
["0.22.7"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.22.7.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-musl/releases/download/0.22.7/openkal-musl-0.22.7.tar.gz",
},
sha256 = "034de7f9c4c57fe04560737c1c3fc5c9a3f656e00f3050f4957a97f61482c265",
},
["0.22.6"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.22.6.tar.gz",
Expand Down
21 changes: 21 additions & 0 deletions pkgs/o/openkal-run.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ package = {

xpm = {
linux = {
["0.1.4"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.4.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.4/openkal-image-0.1.4.tar.gz",
},
sha256 = "d9ec0dc0a78c2bdbd20f1420df510805ef3f019545cb5306393ca31765edf5ff",
},
["0.1.3"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.3.tar.gz",
Expand Down Expand Up @@ -48,6 +55,13 @@ package = {
},
},
macosx = {
["0.1.4"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.4.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.4/openkal-image-0.1.4.tar.gz",
},
sha256 = "d9ec0dc0a78c2bdbd20f1420df510805ef3f019545cb5306393ca31765edf5ff",
},
["0.1.3"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.3.tar.gz",
Expand Down Expand Up @@ -78,6 +92,13 @@ package = {
},
},
windows = {
["0.1.4"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.4.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.4/openkal-image-0.1.4.tar.gz",
},
sha256 = "d9ec0dc0a78c2bdbd20f1420df510805ef3f019545cb5306393ca31765edf5ff",
},
["0.1.3"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.3.tar.gz",
Expand Down
21 changes: 21 additions & 0 deletions pkgs/o/openkal-tools.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ package = {

xpm = {
linux = {
["0.1.4"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.4.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.4/openkal-image-0.1.4.tar.gz",
},
sha256 = "d9ec0dc0a78c2bdbd20f1420df510805ef3f019545cb5306393ca31765edf5ff",
},
["0.1.3"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.3.tar.gz",
Expand Down Expand Up @@ -50,6 +57,13 @@ package = {
},
},
macosx = {
["0.1.4"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.4.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.4/openkal-image-0.1.4.tar.gz",
},
sha256 = "d9ec0dc0a78c2bdbd20f1420df510805ef3f019545cb5306393ca31765edf5ff",
},
["0.1.3"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.3.tar.gz",
Expand Down Expand Up @@ -80,6 +94,13 @@ package = {
},
},
windows = {
["0.1.4"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.4.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.4/openkal-image-0.1.4.tar.gz",
},
sha256 = "d9ec0dc0a78c2bdbd20f1420df510805ef3f019545cb5306393ca31765edf5ff",
},
["0.1.3"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.3.tar.gz",
Expand Down
6 changes: 3 additions & 3 deletions tests/examples/openkal-bind/mcpp.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ sources = []
include_dirs = ["include"]

[dependencies.mcpplibs]
openkal-run = "0.1.3"
openkal-run = "0.1.4"

[build-dependencies.mcpplibs]
openkal-bind = "0.1.3"
openkal-tools = { version = "0.1.3", tools = ["okld"] }
openkal-bind = "0.1.4"
openkal-tools = { version = "0.1.4", tools = ["okld"] }

[xlings.workspace]
"xim:llvm" = "23.1.3"
Expand Down
2 changes: 1 addition & 1 deletion tests/examples/openkal-musl/mcpp.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ name = "openkal-musl-tests"
version = "0.1.0"

[target.'cfg(os = "linux")'.dependencies.mcpplibs]
openkal-musl = "0.22.6"
openkal-musl = "0.22.7"

[target.'cfg(os = "linux")'.build]
cxxflags = ["-DHAVE_OPENKAL_MUSL=1"]
Expand Down
2 changes: 1 addition & 1 deletion tests/examples/openkal-tools/mcpp.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ name = "openkal-tools-tests"
version = "0.1.0"

[build-dependencies.mcpplibs]
openkal-tools = { version = "0.1.3", tools = ["okld", "okrun"] }
openkal-tools = { version = "0.1.4", tools = ["okld", "okrun"] }

[indices]
mcpplibs = { path = "../../.." }
2 changes: 1 addition & 1 deletion tests/examples/openkal/mcpp.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ openkal-macos = "0.15.1"
openkal-windows = "0.13.3"

[target.'cfg(all(os = "linux", env = "musl"))'.dependencies.mcpplibs]
openkal-llvm-runtime = "0.16.6"
openkal-llvm-runtime = "0.16.7"

[target.'cfg(arch = "wasm32")'.dependencies.mcpplibs]
openkal-emscripten = "0.6.0"
Expand Down
Loading