Skip to content

Commit a850f4d

Browse files
openkal-platform 0.21.0; openkal-emscripten 0.10.0 (#666)
Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
1 parent e4c8f62 commit a850f4d

4 files changed

Lines changed: 47 additions & 1 deletion

File tree

‎CHANGELOG.md‎

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

1616
### Added
1717

18+
- **openkal-platform 0.21.0;openkal-emscripten 0.10.0。** openkal 0.21 的版本组:openkal 0.21.0 与三个实现、openkal-musl 0.26.0、
19+
openkal-llvm-runtime 0.17.0、openkal-ld/run/tools 0.3.0;mcpp 2026.11.2.2 以它为内置的 `<arch>-openkal` 平台。openkal-emscripten
20+
0.10.0 按 openkal 0.21 编写,0.21 的增补都在它不提供的接口上,其余不变。GLOBAL 为 GitHub 标签归档,CN 为 GitCode `mcpp-res` 镜像,
21+
sha256 两处一致。
1822
- **openkal-musl 0.26.0、openkal-llvm-runtime 0.17.0。** openkal-musl 的分配器为嵌入的 mimalloc 3.6.1(`malloc-mimalloc`,默认;
1923
`malloc-mallocng` 保留 musl 自己的),匿名内存建在 `openkal.region` 上,定位读写不持锁,八个字符串函数按向量处理,普通互斥锁按
2024
glibc 的方式等待。openkal-llvm-runtime 建在其上(裸机选 mallocng),PE 与 Mach-O 上 `thread_local` 的析构读到自己的变量

‎pkgs/o/openkal-emscripten.lua‎

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

4747
xpm = {
4848
linux = {
49+
["0.10.0"] = {
50+
url = {
51+
GLOBAL = "https://github.com/mcpplibs/openkal-emscripten/archive/refs/tags/0.10.0.tar.gz",
52+
CN = "https://gitcode.com/mcpp-res/openkal-emscripten/releases/download/0.10.0/openkal-emscripten-0.10.0.tar.gz",
53+
},
54+
sha256 = "0a7988e5950d91cd5fa815e56e27bfce66780b3e4efc27f386c8d81a9904c8e8",
55+
},
4956
["0.9.0"] = {
5057
url = {
5158
GLOBAL = "https://github.com/mcpplibs/openkal-emscripten/archive/refs/tags/0.9.0.tar.gz",
@@ -125,6 +132,13 @@ package = {
125132
},
126133
},
127134
macosx = {
135+
["0.10.0"] = {
136+
url = {
137+
GLOBAL = "https://github.com/mcpplibs/openkal-emscripten/archive/refs/tags/0.10.0.tar.gz",
138+
CN = "https://gitcode.com/mcpp-res/openkal-emscripten/releases/download/0.10.0/openkal-emscripten-0.10.0.tar.gz",
139+
},
140+
sha256 = "0a7988e5950d91cd5fa815e56e27bfce66780b3e4efc27f386c8d81a9904c8e8",
141+
},
128142
["0.9.0"] = {
129143
url = {
130144
GLOBAL = "https://github.com/mcpplibs/openkal-emscripten/archive/refs/tags/0.9.0.tar.gz",
@@ -204,6 +218,13 @@ package = {
204218
},
205219
},
206220
windows = {
221+
["0.10.0"] = {
222+
url = {
223+
GLOBAL = "https://github.com/mcpplibs/openkal-emscripten/archive/refs/tags/0.10.0.tar.gz",
224+
CN = "https://gitcode.com/mcpp-res/openkal-emscripten/releases/download/0.10.0/openkal-emscripten-0.10.0.tar.gz",
225+
},
226+
sha256 = "0a7988e5950d91cd5fa815e56e27bfce66780b3e4efc27f386c8d81a9904c8e8",
227+
},
207228
["0.9.0"] = {
208229
url = {
209230
GLOBAL = "https://github.com/mcpplibs/openkal-emscripten/archive/refs/tags/0.9.0.tar.gz",

‎pkgs/o/openkal-platform.lua‎

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

2727
xpm = {
2828
linux = {
29+
["0.21.0"] = {
30+
url = {
31+
GLOBAL = "https://github.com/mcpplibs/openkal-platform/archive/refs/tags/0.21.0.tar.gz",
32+
CN = "https://gitcode.com/mcpp-res/openkal-platform/releases/download/0.21.0/openkal-platform-0.21.0.tar.gz",
33+
},
34+
sha256 = "278792651d83e585820dd2b243ba9ca53fb7b0371f1cfed212311e2f00495448",
35+
},
2936
["0.20.2"] = {
3037
url = {
3138
GLOBAL = "https://github.com/mcpplibs/openkal-platform/archive/refs/tags/0.20.2.tar.gz",
@@ -98,6 +105,13 @@ package = {
98105
},
99106
},
100107
macosx = {
108+
["0.21.0"] = {
109+
url = {
110+
GLOBAL = "https://github.com/mcpplibs/openkal-platform/archive/refs/tags/0.21.0.tar.gz",
111+
CN = "https://gitcode.com/mcpp-res/openkal-platform/releases/download/0.21.0/openkal-platform-0.21.0.tar.gz",
112+
},
113+
sha256 = "278792651d83e585820dd2b243ba9ca53fb7b0371f1cfed212311e2f00495448",
114+
},
101115
["0.20.2"] = {
102116
url = {
103117
GLOBAL = "https://github.com/mcpplibs/openkal-platform/archive/refs/tags/0.20.2.tar.gz",
@@ -170,6 +184,13 @@ package = {
170184
},
171185
},
172186
windows = {
187+
["0.21.0"] = {
188+
url = {
189+
GLOBAL = "https://github.com/mcpplibs/openkal-platform/archive/refs/tags/0.21.0.tar.gz",
190+
CN = "https://gitcode.com/mcpp-res/openkal-platform/releases/download/0.21.0/openkal-platform-0.21.0.tar.gz",
191+
},
192+
sha256 = "278792651d83e585820dd2b243ba9ca53fb7b0371f1cfed212311e2f00495448",
193+
},
173194
["0.20.2"] = {
174195
url = {
175196
GLOBAL = "https://github.com/mcpplibs/openkal-platform/archive/refs/tags/0.20.2.tar.gz",

‎tests/examples/openkal/mcpp.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ openkal-windows = "0.17.0"
3333
openkal-llvm-runtime = "0.17.0"
3434

3535
[target.'cfg(arch = "wasm32")'.dependencies.mcpplibs]
36-
openkal-emscripten = "0.9.0"
36+
openkal-emscripten = "0.10.0"
3737

3838
[target.'cfg(arch = "riscv64")'.dependencies.mcpplibs]
3939
openkal-opensbi = "0.8.3"

0 commit comments

Comments
 (0)