From d25f473fe4ed1bd0b6fd866c37d1b2c73e2e4b8b Mon Sep 17 00:00:00 2001 From: Sunrisepeak Date: Wed, 18 Nov 2026 15:47:39 +0900 Subject: [PATCH 1/2] openkal-svr4 0.1.0 (new), openkal-musl 0.29.10, openkal-llvm-runtime 0.20.4 --- CHANGELOG.md | 7 +++++ pkgs/o/openkal-llvm-runtime.lua | 21 ++++++++++++++ pkgs/o/openkal-musl.lua | 21 ++++++++++++++ pkgs/o/openkal-svr4.lua | 48 ++++++++++++++++++++++++++++++++ tests/examples/openkal/mcpp.toml | 9 ++++-- 5 files changed, 103 insertions(+), 3 deletions(-) create mode 100644 pkgs/o/openkal-svr4.lua diff --git a/CHANGELOG.md b/CHANGELOG.md index f3a003ec..980d23ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,13 @@ ### Added +- **openkal-svr4 0.1.0(新包)、openkal-musl 0.29.10、openkal-llvm-runtime 0.20.4。** openkal-svr4 是 openkal 在 UNIX System V + Release 4 及其后裔(UnixWare、Solaris x86、OpenServer)的 i386 内核接口上的实现:七个接口(`abort`、`stream`、`memory`、`env`、 + `time`、`fs`、`terminal`),程序是经调用门进入内核的静态 ELF32,不链接也不读取系统的任何文件;仅在接口的模拟(xim 的 + `ibcs-us`,Linux x86_64)下运行过,未在 System V 内核上运行。行 `i686-svr4-musl` 由 openkal-platform 0.30.0 定义,该实现是其 + `kernel-abi` 层。openkal-musl 0.29.10 与 openkal-llvm-runtime 0.20.4 中,包不认识的系统取一般的选择(i386 的无系统头文件、 + builtins、486 的排除、分配器),此前这些选择以系统名单为条件;已有各行的选择不变(mcpplibs/openkal-svr4#1、 + mcpplibs/openkal-musl#100、mcpplibs/openkal-llvm-runtime#75)。 - **mcpp.plugins 0.25.0。** 新成员 `tools-steps`:多命令的步骤由成员描述为一组可移植操作(运行命令、touch、创建、删除、复制、 软链接、把运行时匹配的文件收进列表等),由后端执行,值原样传递;后端在 mcpp 原生支持之前为 `cmake -P` (mcpp-community/mcpp#955)。`dist-apk` 与 `dist-apple` 改用它,不再有 shell 脚本作为动作程序;`latest` 指向 0.25.0 diff --git a/pkgs/o/openkal-llvm-runtime.lua b/pkgs/o/openkal-llvm-runtime.lua index af7f911e..a6e6cfd4 100644 --- a/pkgs/o/openkal-llvm-runtime.lua +++ b/pkgs/o/openkal-llvm-runtime.lua @@ -78,6 +78,13 @@ package = { xpm = { linux = { + ["0.20.4"] = { + url = { + GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.20.4.tar.gz", + CN = "https://gitcode.com/mcpp-res/openkal-llvm-runtime/releases/download/0.20.4/openkal-llvm-runtime-0.20.4.tar.gz", + }, + sha256 = "2e54e9e57d4cdcf916befa78a4e4f8bf65ca181ab7f5d80432131ee91f32ca96", + }, ["0.20.3"] = { url = { GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.20.3.tar.gz", @@ -535,6 +542,13 @@ package = { }, }, macosx = { + ["0.20.4"] = { + url = { + GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.20.4.tar.gz", + CN = "https://gitcode.com/mcpp-res/openkal-llvm-runtime/releases/download/0.20.4/openkal-llvm-runtime-0.20.4.tar.gz", + }, + sha256 = "2e54e9e57d4cdcf916befa78a4e4f8bf65ca181ab7f5d80432131ee91f32ca96", + }, ["0.20.3"] = { url = { GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.20.3.tar.gz", @@ -992,6 +1006,13 @@ package = { }, }, windows = { + ["0.20.4"] = { + url = { + GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.20.4.tar.gz", + CN = "https://gitcode.com/mcpp-res/openkal-llvm-runtime/releases/download/0.20.4/openkal-llvm-runtime-0.20.4.tar.gz", + }, + sha256 = "2e54e9e57d4cdcf916befa78a4e4f8bf65ca181ab7f5d80432131ee91f32ca96", + }, ["0.20.3"] = { url = { GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.20.3.tar.gz", diff --git a/pkgs/o/openkal-musl.lua b/pkgs/o/openkal-musl.lua index b3d9545e..31976d41 100644 --- a/pkgs/o/openkal-musl.lua +++ b/pkgs/o/openkal-musl.lua @@ -81,6 +81,13 @@ package = { xpm = { linux = { + ["0.29.10"] = { + url = { + GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.29.10.tar.gz", + CN = "https://gitcode.com/mcpp-res/openkal-musl/releases/download/0.29.10/openkal-musl-0.29.10.tar.gz", + }, + sha256 = "c1dc9a72235d3055819633a1bce699dd648e9ce7df8ae3064825e471bb45b4a4", + }, ["0.29.9"] = { url = { GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.29.9.tar.gz", @@ -587,6 +594,13 @@ package = { }, }, macosx = { + ["0.29.10"] = { + url = { + GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.29.10.tar.gz", + CN = "https://gitcode.com/mcpp-res/openkal-musl/releases/download/0.29.10/openkal-musl-0.29.10.tar.gz", + }, + sha256 = "c1dc9a72235d3055819633a1bce699dd648e9ce7df8ae3064825e471bb45b4a4", + }, ["0.29.9"] = { url = { GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.29.9.tar.gz", @@ -1093,6 +1107,13 @@ package = { }, }, windows = { + ["0.29.10"] = { + url = { + GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.29.10.tar.gz", + CN = "https://gitcode.com/mcpp-res/openkal-musl/releases/download/0.29.10/openkal-musl-0.29.10.tar.gz", + }, + sha256 = "c1dc9a72235d3055819633a1bce699dd648e9ce7df8ae3064825e471bb45b4a4", + }, ["0.29.9"] = { url = { GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.29.9.tar.gz", diff --git a/pkgs/o/openkal-svr4.lua b/pkgs/o/openkal-svr4.lua new file mode 100644 index 00000000..1afe9a3e --- /dev/null +++ b/pkgs/o/openkal-svr4.lua @@ -0,0 +1,48 @@ +-- openkal-svr4 --- openkal for UNIX System V Release 4 and its descendants on +-- i386, on the kernel's own system-call interface. A project names the target +-- `i686-svr4-musl` with openkal-platform (0.30.0+), which states this +-- implementation as the row's `kernel-abi` layer and runs the program under +-- xim's ibcs-us, an emulation of the interface on Linux x86_64. Run under that +-- emulation only, not on a System V kernel (the package's README). +package = { + spec = "1", + namespace = "mcpplibs", + name = "openkal-svr4", + description = "An implementation of openkal for UNIX System V Release 4 and its descendants on i386, on the kernel's system-call interface", + licenses = {"Apache-2.0"}, + repo = "https://github.com/mcpplibs/openkal-svr4", + type = "package", + + xpm = { + linux = { + ["0.1.0"] = { + url = { + GLOBAL = "https://github.com/mcpplibs/openkal-svr4/archive/refs/tags/0.1.0.tar.gz", + CN = "https://gitcode.com/mcpp-res/openkal-svr4/releases/download/0.1.0/openkal-svr4-0.1.0.tar.gz", + }, + sha256 = "44400c3d1e4ffd1635df6fa63a415e3f305240a7414a75ffc0b384844906d72c", + }, + }, + macosx = { + ["0.1.0"] = { + url = { + GLOBAL = "https://github.com/mcpplibs/openkal-svr4/archive/refs/tags/0.1.0.tar.gz", + CN = "https://gitcode.com/mcpp-res/openkal-svr4/releases/download/0.1.0/openkal-svr4-0.1.0.tar.gz", + }, + sha256 = "44400c3d1e4ffd1635df6fa63a415e3f305240a7414a75ffc0b384844906d72c", + }, + }, + windows = { + ["0.1.0"] = { + url = { + GLOBAL = "https://github.com/mcpplibs/openkal-svr4/archive/refs/tags/0.1.0.tar.gz", + CN = "https://gitcode.com/mcpp-res/openkal-svr4/releases/download/0.1.0/openkal-svr4-0.1.0.tar.gz", + }, + sha256 = "44400c3d1e4ffd1635df6fa63a415e3f305240a7414a75ffc0b384844906d72c", + }, + }, + }, + + -- The package's own manifest, inside the tarball's wrap directory. + mcpp = "*/mcpp.toml", +} diff --git a/tests/examples/openkal/mcpp.toml b/tests/examples/openkal/mcpp.toml index 610df2f2..f842c362 100644 --- a/tests/examples/openkal/mcpp.toml +++ b/tests/examples/openkal/mcpp.toml @@ -9,10 +9,10 @@ # (tests/autoupdate/ci.py, `member_platforms`): an implementation for another # system is not in the host's lock, so asking that runner would prove nothing. # -# The last six entries are named under conditions no runner here builds for +# The last seven entries are named under conditions no runner here builds for # --- a musl environment, WebAssembly, a 64-bit RISC-V machine, FreeBSD, UEFI -# firmware, DOS --- so the candidate gate schedules none of them, and their own -# repositories measure them on their targets. openkal-dos-tools is released in +# firmware, DOS, System V --- so the candidate gate schedules none of them, and +# their own repositories measure them on their targets. openkal-dos-tools is released in # openkal-dos's archive, so this entry names it too (ci.py, a sibling). [package] name = "openkal-tests" @@ -51,6 +51,9 @@ openkal-uefi = "0.9.0" [target.'cfg(os = "dos")'.dependencies.mcpplibs] openkal-dos = "0.1.0" +[target.'cfg(os = "svr4")'.dependencies.mcpplibs] +openkal-svr4 = "0.1.0" + # This member names mcpplibs packages, which the workspace root's single # redirect does not carry, so it states its own (mcpp.toml at the root says why # a member that needs another namespace declares its own table). From 92031f9f8e4d3c6134404a188cf45c502a476465 Mon Sep 17 00:00:00 2001 From: Sunrisepeak Date: Wed, 18 Nov 2026 16:08:21 +0900 Subject: [PATCH 2/2] tests/openkal: the measurement engine is 2026.11.18.1, the workflows' --- tests/openkal/pins.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/openkal/pins.toml b/tests/openkal/pins.toml index 199fd315..460b239d 100644 --- a/tests/openkal/pins.toml +++ b/tests/openkal/pins.toml @@ -18,6 +18,8 @@ toolchain = "llvm@22.1.8" # index requires mcpp >= 2026.9.18.1 but this is mcpp 2026.9.17.3 [E0006]" # before a single line of the member's own source is read. # +# 2026-11-18: measurement engine 2026.11.18.1 (its built-in platform is +# openkal-platform 0.29.2) matches all CI workflows, which moved to it in #822. # 2026-11-16: measurement engine 2026.11.16.1 (its built-in platform is # openkal-platform 0.28.0) matches all CI workflows. # 2026-11-15: measurement engine 2026.11.15.1 (its built-in platform is @@ -159,7 +161,7 @@ toolchain = "llvm@22.1.8" # openkal-musl 0.16.0 and openkal-llvm-runtime 0.12.0), because a pin that # moves onto an unreachable or divergent asset fails every member at once and # reports it as a compatibility result. -mcpp = "2026.11.16.1" +mcpp = "2026.11.18.1" # The Windows target is named for the C environment the graph presents there, # which is musl's (openkal-musl declares `[c-abi] presents = "posix"`), not