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
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
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 @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
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 @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
48 changes: 48 additions & 0 deletions pkgs/o/openkal-svr4.lua
Original file line number Diff line number Diff line change
@@ -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",
}
9 changes: 6 additions & 3 deletions tests/examples/openkal/mcpp.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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).
Expand Down
4 changes: 3 additions & 1 deletion tests/openkal/pins.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Loading