Skip to content

Commit e4c8f62

Browse files
openkal-musl 0.26.0, openkal-llvm-runtime 0.17.0; CI mcpp 2026.11.2.1 (#665)
Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
1 parent 4188620 commit e4c8f62

9 files changed

Lines changed: 60 additions & 6 deletions

File tree

‎.github/workflows/openkal-compat.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ env:
4242
# run if this drifts from pins.toml. See the comment beside `mcpp` in
4343
# pins.toml for why this pin, not just validate.yml's, is gated by the
4444
# index floor.
45-
MCPP_VERSION: "2026.10.31.1"
45+
MCPP_VERSION: "2026.11.2.1"
4646
# CROSS-VALIDATION BEFORE A RELEASE, NOT AFTER IT.
4747
#
4848
# Empty in an ordinary run, so this measurement keeps using the RELEASED

‎.github/workflows/validate.yml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,11 @@ env:
443443
#
444444
# 2026.10.31.1 (mcpp-community/mcpp#869): `features` in the machine output,
445445
# and the floor openkal-platform states since 0.18.0 (2026.10.30.1).
446-
MCPP_VERSION: "2026.10.31.1"
446+
#
447+
# 2026.11.2.1 (mcpp-community/mcpp#882): a dependency's patches and a
448+
# dependency embedded in its consumer -- the floor openkal-musl 0.26.0
449+
# states, since it embeds compat.mimalloc.
450+
MCPP_VERSION: "2026.11.2.1"
447451

448452
jobs:
449453
lint:

‎.github/workflows/xpkgindex-update.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ concurrency:
2525

2626
env:
2727
PYTHONUTF8: '1'
28-
MCPP_VERSION: '2026.10.31.1'
28+
MCPP_VERSION: '2026.11.2.1'
2929
# CROSS-VALIDATION BEFORE A RELEASE: a candidate that needs an mcpp newer
3030
# than the pin (its package states the floor) is built with mcpp built from
3131
# this branch of mcpp-community/mcpp, as openkal-compat.yml measures with it.

‎CHANGELOG.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@
1515

1616
### Added
1717

18+
- **openkal-musl 0.26.0、openkal-llvm-runtime 0.17.0。** openkal-musl 的分配器为嵌入的 mimalloc 3.6.1(`malloc-mimalloc`,默认;
19+
`malloc-mallocng` 保留 musl 自己的),匿名内存建在 `openkal.region` 上,定位读写不持锁,八个字符串函数按向量处理,普通互斥锁按
20+
glibc 的方式等待。openkal-llvm-runtime 建在其上(裸机选 mallocng),PE 与 Mach-O 上 `thread_local` 的析构读到自己的变量
21+
(emutls 在最后一轮才释放),并带 L2 的工作负载对比(`bench/`)。测试成员 `openkal-musl`、`openkal` 随之移动。CI 的 mcpp 移到
22+
2026.11.2.1:openkal-musl 0.26.0 以 `embed` 嵌入 compat.mimalloc,并陈述 `mcpp >= 2026.11`。GLOBAL 为 GitHub 标签归档,CN 为
23+
GitCode `mcpp-res` 镜像,sha256 两处一致。
1824
- **mcpplibs.mwrap.mimalloc 3.6.1(新包)。** mimalloc-m:以 C++23 模块(`import mcpplibs.mwrap.mimalloc;`)使用 compat.mimalloc
1925
3.6.1。`<mimalloc.h>` 的函数、堆、arena、子进程、选项与 STL 分配器以上游的全局名导出;`.stats`、`.profile` 两个子模块对应
2026
`<mimalloc-stats.h>`、`<mimalloc-profile.h>`;上游的 `static inline` 辅助函数以同名适配在 `mcpplibs::mwrap::mimalloc`;值宏在

‎pkgs/o/openkal-llvm-runtime.lua‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,13 @@ package = {
7575

7676
xpm = {
7777
linux = {
78+
["0.17.0"] = {
79+
url = {
80+
GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.17.0.tar.gz",
81+
CN = "https://gitcode.com/mcpp-res/openkal-llvm-runtime/releases/download/0.17.0/openkal-llvm-runtime-0.17.0.tar.gz",
82+
},
83+
sha256 = "75d9fb8039de796fe8c447e7ecd6d849a5a343690f10ac08b447e2777f6abc93",
84+
},
7885
["0.16.15"] = {
7986
url = {
8087
GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.16.15.tar.gz",
@@ -413,6 +420,13 @@ package = {
413420
},
414421
},
415422
macosx = {
423+
["0.17.0"] = {
424+
url = {
425+
GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.17.0.tar.gz",
426+
CN = "https://gitcode.com/mcpp-res/openkal-llvm-runtime/releases/download/0.17.0/openkal-llvm-runtime-0.17.0.tar.gz",
427+
},
428+
sha256 = "75d9fb8039de796fe8c447e7ecd6d849a5a343690f10ac08b447e2777f6abc93",
429+
},
416430
["0.16.15"] = {
417431
url = {
418432
GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.16.15.tar.gz",
@@ -751,6 +765,13 @@ package = {
751765
},
752766
},
753767
windows = {
768+
["0.17.0"] = {
769+
url = {
770+
GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.17.0.tar.gz",
771+
CN = "https://gitcode.com/mcpp-res/openkal-llvm-runtime/releases/download/0.17.0/openkal-llvm-runtime-0.17.0.tar.gz",
772+
},
773+
sha256 = "75d9fb8039de796fe8c447e7ecd6d849a5a343690f10ac08b447e2777f6abc93",
774+
},
754775
["0.16.15"] = {
755776
url = {
756777
GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.16.15.tar.gz",

‎pkgs/o/openkal-musl.lua‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,13 @@ package = {
7575

7676
xpm = {
7777
linux = {
78+
["0.26.0"] = {
79+
url = {
80+
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.26.0.tar.gz",
81+
CN = "https://gitcode.com/mcpp-res/openkal-musl/releases/download/0.26.0/openkal-musl-0.26.0.tar.gz",
82+
},
83+
sha256 = "4521556c6abb4b928dba2c5b44e30f778a8a5a8bb39c4d55fb5239c7cd30892a",
84+
},
7885
["0.25.0"] = {
7986
url = {
8087
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.25.0.tar.gz",
@@ -427,6 +434,13 @@ package = {
427434
},
428435
},
429436
macosx = {
437+
["0.26.0"] = {
438+
url = {
439+
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.26.0.tar.gz",
440+
CN = "https://gitcode.com/mcpp-res/openkal-musl/releases/download/0.26.0/openkal-musl-0.26.0.tar.gz",
441+
},
442+
sha256 = "4521556c6abb4b928dba2c5b44e30f778a8a5a8bb39c4d55fb5239c7cd30892a",
443+
},
430444
["0.25.0"] = {
431445
url = {
432446
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.25.0.tar.gz",
@@ -779,6 +793,13 @@ package = {
779793
},
780794
},
781795
windows = {
796+
["0.26.0"] = {
797+
url = {
798+
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.26.0.tar.gz",
799+
CN = "https://gitcode.com/mcpp-res/openkal-musl/releases/download/0.26.0/openkal-musl-0.26.0.tar.gz",
800+
},
801+
sha256 = "4521556c6abb4b928dba2c5b44e30f778a8a5a8bb39c4d55fb5239c7cd30892a",
802+
},
782803
["0.25.0"] = {
783804
url = {
784805
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.25.0.tar.gz",

‎tests/examples/openkal-musl/mcpp.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ name = "openkal-musl-tests"
88
version = "0.1.0"
99

1010
[target.'cfg(os = "linux")'.dependencies.mcpplibs]
11-
openkal-musl = "0.25.0"
11+
openkal-musl = "0.26.0"
1212

1313
[target.'cfg(os = "linux")'.build]
1414
cxxflags = ["-DHAVE_OPENKAL_MUSL=1"]

‎tests/examples/openkal/mcpp.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ openkal-macos = "0.19.0"
3030
openkal-windows = "0.17.0"
3131

3232
[target.'cfg(all(os = "linux", env = "musl"))'.dependencies.mcpplibs]
33-
openkal-llvm-runtime = "0.16.15"
33+
openkal-llvm-runtime = "0.17.0"
3434

3535
[target.'cfg(arch = "wasm32")'.dependencies.mcpplibs]
3636
openkal-emscripten = "0.9.0"

‎tests/openkal/pins.toml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ toolchain = "llvm@22.1.8"
1818
# index requires mcpp >= 2026.9.18.1 but this is mcpp 2026.9.17.3 [E0006]"
1919
# before a single line of the member's own source is read.
2020
#
21+
# 2026-11-02: measurement engine 2026.11.2.1, the workflow's (openkal-musl 0.26.0
22+
# embeds compat.mimalloc and states mcpp >= 2026.11). The index client floor is unchanged.
2123
# 2026-10-30: measurement engine 2026.10.31.1, the workflow's (openkal-platform 0.18.0 and later
2224
# state mcpp >= 2026.10.30.1). The index client floor is unchanged.
2325
# 2026-10-28: measurement engine 2026.10.27.1, the workflow's (platforms, SPEC-013).
@@ -142,7 +144,7 @@ toolchain = "llvm@22.1.8"
142144
# openkal-musl 0.16.0 and openkal-llvm-runtime 0.12.0), because a pin that
143145
# moves onto an unreachable or divergent asset fails every member at once and
144146
# reports it as a compatibility result.
145-
mcpp = "2026.10.31.1"
147+
mcpp = "2026.11.2.1"
146148

147149
# The Windows target is named for the C environment the graph presents there,
148150
# which is musl's (openkal-musl declares `[c-abi] presents = "posix"`), not

0 commit comments

Comments
 (0)