From 6290f519332d9d13b30b15fc8b8546ebfd4997bf Mon Sep 17 00:00:00 2001 From: Sunrisepeak Date: Fri, 30 Oct 2026 03:43:12 +0900 Subject: [PATCH] openkal-musl 0.22.7, openkal-llvm-runtime 0.16.7, openkal-ld/run/tools/bind 0.1.4 Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com> --- CHANGELOG.md | 6 ++++++ pkgs/o/openkal-bind.lua | 21 +++++++++++++++++++++ pkgs/o/openkal-ld.lua | 21 +++++++++++++++++++++ pkgs/o/openkal-llvm-runtime.lua | 21 +++++++++++++++++++++ pkgs/o/openkal-musl.lua | 21 +++++++++++++++++++++ pkgs/o/openkal-run.lua | 21 +++++++++++++++++++++ pkgs/o/openkal-tools.lua | 21 +++++++++++++++++++++ tests/examples/openkal-bind/mcpp.toml | 6 +++--- tests/examples/openkal-musl/mcpp.toml | 2 +- tests/examples/openkal-tools/mcpp.toml | 2 +- tests/examples/openkal/mcpp.toml | 2 +- 11 files changed, 138 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ce4286c7..c66d18f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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。 diff --git a/pkgs/o/openkal-bind.lua b/pkgs/o/openkal-bind.lua index 135423ff..d264b078 100644 --- a/pkgs/o/openkal-bind.lua +++ b/pkgs/o/openkal-bind.lua @@ -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", @@ -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", @@ -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", diff --git a/pkgs/o/openkal-ld.lua b/pkgs/o/openkal-ld.lua index 2c4db03f..e4ece901 100644 --- a/pkgs/o/openkal-ld.lua +++ b/pkgs/o/openkal-ld.lua @@ -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", @@ -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", @@ -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", diff --git a/pkgs/o/openkal-llvm-runtime.lua b/pkgs/o/openkal-llvm-runtime.lua index a627e0db..f1f9d80a 100644 --- a/pkgs/o/openkal-llvm-runtime.lua +++ b/pkgs/o/openkal-llvm-runtime.lua @@ -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", @@ -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", @@ -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", diff --git a/pkgs/o/openkal-musl.lua b/pkgs/o/openkal-musl.lua index 9160ce4f..02584e6f 100644 --- a/pkgs/o/openkal-musl.lua +++ b/pkgs/o/openkal-musl.lua @@ -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", @@ -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", @@ -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", diff --git a/pkgs/o/openkal-run.lua b/pkgs/o/openkal-run.lua index 01081b9e..8ef059c4 100644 --- a/pkgs/o/openkal-run.lua +++ b/pkgs/o/openkal-run.lua @@ -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", @@ -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", @@ -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", diff --git a/pkgs/o/openkal-tools.lua b/pkgs/o/openkal-tools.lua index 50b302ae..7c84f2f0 100644 --- a/pkgs/o/openkal-tools.lua +++ b/pkgs/o/openkal-tools.lua @@ -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", @@ -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", @@ -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", diff --git a/tests/examples/openkal-bind/mcpp.toml b/tests/examples/openkal-bind/mcpp.toml index 55ae6c6e..56c2a769 100644 --- a/tests/examples/openkal-bind/mcpp.toml +++ b/tests/examples/openkal-bind/mcpp.toml @@ -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" diff --git a/tests/examples/openkal-musl/mcpp.toml b/tests/examples/openkal-musl/mcpp.toml index 0809d5a2..12cf47ee 100644 --- a/tests/examples/openkal-musl/mcpp.toml +++ b/tests/examples/openkal-musl/mcpp.toml @@ -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"] diff --git a/tests/examples/openkal-tools/mcpp.toml b/tests/examples/openkal-tools/mcpp.toml index 8b2bca0d..7745c485 100644 --- a/tests/examples/openkal-tools/mcpp.toml +++ b/tests/examples/openkal-tools/mcpp.toml @@ -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 = "../../.." } diff --git a/tests/examples/openkal/mcpp.toml b/tests/examples/openkal/mcpp.toml index 01add1fd..d537ccdf 100644 --- a/tests/examples/openkal/mcpp.toml +++ b/tests/examples/openkal/mcpp.toml @@ -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"