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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@

### Added

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

xpm = {
linux = {
["0.10.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-emscripten/archive/refs/tags/0.10.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-emscripten/releases/download/0.10.0/openkal-emscripten-0.10.0.tar.gz",
},
sha256 = "0a7988e5950d91cd5fa815e56e27bfce66780b3e4efc27f386c8d81a9904c8e8",
},
["0.9.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-emscripten/archive/refs/tags/0.9.0.tar.gz",
Expand Down Expand Up @@ -125,6 +132,13 @@ package = {
},
},
macosx = {
["0.10.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-emscripten/archive/refs/tags/0.10.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-emscripten/releases/download/0.10.0/openkal-emscripten-0.10.0.tar.gz",
},
sha256 = "0a7988e5950d91cd5fa815e56e27bfce66780b3e4efc27f386c8d81a9904c8e8",
},
["0.9.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-emscripten/archive/refs/tags/0.9.0.tar.gz",
Expand Down Expand Up @@ -204,6 +218,13 @@ package = {
},
},
windows = {
["0.10.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-emscripten/archive/refs/tags/0.10.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-emscripten/releases/download/0.10.0/openkal-emscripten-0.10.0.tar.gz",
},
sha256 = "0a7988e5950d91cd5fa815e56e27bfce66780b3e4efc27f386c8d81a9904c8e8",
},
["0.9.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-emscripten/archive/refs/tags/0.9.0.tar.gz",
Expand Down
21 changes: 21 additions & 0 deletions pkgs/o/openkal-platform.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ package = {

xpm = {
linux = {
["0.21.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-platform/archive/refs/tags/0.21.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-platform/releases/download/0.21.0/openkal-platform-0.21.0.tar.gz",
},
sha256 = "278792651d83e585820dd2b243ba9ca53fb7b0371f1cfed212311e2f00495448",
},
["0.20.2"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-platform/archive/refs/tags/0.20.2.tar.gz",
Expand Down Expand Up @@ -98,6 +105,13 @@ package = {
},
},
macosx = {
["0.21.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-platform/archive/refs/tags/0.21.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-platform/releases/download/0.21.0/openkal-platform-0.21.0.tar.gz",
},
sha256 = "278792651d83e585820dd2b243ba9ca53fb7b0371f1cfed212311e2f00495448",
},
["0.20.2"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-platform/archive/refs/tags/0.20.2.tar.gz",
Expand Down Expand Up @@ -170,6 +184,13 @@ package = {
},
},
windows = {
["0.21.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-platform/archive/refs/tags/0.21.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-platform/releases/download/0.21.0/openkal-platform-0.21.0.tar.gz",
},
sha256 = "278792651d83e585820dd2b243ba9ca53fb7b0371f1cfed212311e2f00495448",
},
["0.20.2"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-platform/archive/refs/tags/0.20.2.tar.gz",
Expand Down
2 changes: 1 addition & 1 deletion tests/examples/openkal/mcpp.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ openkal-windows = "0.17.0"
openkal-llvm-runtime = "0.17.0"

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

[target.'cfg(arch = "riscv64")'.dependencies.mcpplibs]
openkal-opensbi = "0.8.3"
Expand Down
Loading