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-ld/run/tools/bind 0.1.8;openkal-musl 0.24.0;openkal-llvm-runtime 0.16.13。** openkal 0.19 的一轮:
okb 为每个映像成员记录 1 MiB 分块的 SHA-256(`files.<member>.chunks`),okrun 在多个上下文上同时校验各块,`okld bundle`
写入、`okld bundle check` 两种摘要都校验;openkal-musl 的 `getpid` 为环境给出的标识,`kill(pid, 0)`、`getsid`、`getpgid`
经 `kal_process_open_id` 回答另一程序是否在运行,`flock` 与 `F_OFD_SETLK[W]` 取打开文件的锁(`kal_fs_lock`),
`SCHED_OTHER/BATCH/IDLE` 与 `setpriority` 为调用上下文的占用(`kal_task_set_priority`);openkal-llvm-runtime 随之移动。
测试成员 `openkal`、`openkal-musl`、`openkal-tools`、`openkal-bind` 的版本随之移动。GLOBAL 为 GitHub 标签归档,CN 为
GitCode `mcpp-res` 镜像,sha256 两处一致。
- **openkal 0.19.0;openkal-linux 0.20.0、openkal-macos 0.17.0、openkal-windows 0.15.0、openkal-emscripten 0.8.0。**
`openkal.task` 增加两项:`kal_task_cores`(程序可运行于其上的处理器的物理核数,0 为无法回答)与
`kal_task_set_priority`(调用者所在上下文对处理器的占用:DEFAULT、LOW、BACKGROUND,属性位 `KAL_TASK_PROP_PRIORITY`,
Expand Down
21 changes: 21 additions & 0 deletions pkgs/o/openkal-bind.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ package = {

xpm = {
linux = {
["0.1.8"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.8.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.8/openkal-image-0.1.8.tar.gz",
},
sha256 = "16cfe46581667fcaefeb288a43162f9e4e5393950f443ac7f09d6ddae313fcdd",
},
["0.1.7"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.7.tar.gz",
Expand Down Expand Up @@ -69,6 +76,13 @@ package = {
},
},
macosx = {
["0.1.8"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.8.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.8/openkal-image-0.1.8.tar.gz",
},
sha256 = "16cfe46581667fcaefeb288a43162f9e4e5393950f443ac7f09d6ddae313fcdd",
},
["0.1.7"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.7.tar.gz",
Expand Down Expand Up @@ -113,6 +127,13 @@ package = {
},
},
windows = {
["0.1.8"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.8.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.8/openkal-image-0.1.8.tar.gz",
},
sha256 = "16cfe46581667fcaefeb288a43162f9e4e5393950f443ac7f09d6ddae313fcdd",
},
["0.1.7"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.7.tar.gz",
Expand Down
21 changes: 21 additions & 0 deletions pkgs/o/openkal-ld.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ package = {

xpm = {
linux = {
["0.1.8"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.8.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.8/openkal-image-0.1.8.tar.gz",
},
sha256 = "16cfe46581667fcaefeb288a43162f9e4e5393950f443ac7f09d6ddae313fcdd",
},
["0.1.7"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.7.tar.gz",
Expand Down Expand Up @@ -76,6 +83,13 @@ package = {
},
},
macosx = {
["0.1.8"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.8.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.8/openkal-image-0.1.8.tar.gz",
},
sha256 = "16cfe46581667fcaefeb288a43162f9e4e5393950f443ac7f09d6ddae313fcdd",
},
["0.1.7"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.7.tar.gz",
Expand Down Expand Up @@ -134,6 +148,13 @@ package = {
},
},
windows = {
["0.1.8"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.8.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.8/openkal-image-0.1.8.tar.gz",
},
sha256 = "16cfe46581667fcaefeb288a43162f9e4e5393950f443ac7f09d6ddae313fcdd",
},
["0.1.7"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.7.tar.gz",
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 @@ -75,6 +75,13 @@ package = {

xpm = {
linux = {
["0.16.13"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.16.13.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-llvm-runtime/releases/download/0.16.13/openkal-llvm-runtime-0.16.13.tar.gz",
},
sha256 = "3870389b0a5ff5527d86c72b49494c1e6c2326110f7a68062d4ad12dfaa0e05d",
},
["0.16.12"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.16.12.tar.gz",
Expand Down Expand Up @@ -392,6 +399,13 @@ package = {
},
},
macosx = {
["0.16.13"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.16.13.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-llvm-runtime/releases/download/0.16.13/openkal-llvm-runtime-0.16.13.tar.gz",
},
sha256 = "3870389b0a5ff5527d86c72b49494c1e6c2326110f7a68062d4ad12dfaa0e05d",
},
["0.16.12"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.16.12.tar.gz",
Expand Down Expand Up @@ -709,6 +723,13 @@ package = {
},
},
windows = {
["0.16.13"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.16.13.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-llvm-runtime/releases/download/0.16.13/openkal-llvm-runtime-0.16.13.tar.gz",
},
sha256 = "3870389b0a5ff5527d86c72b49494c1e6c2326110f7a68062d4ad12dfaa0e05d",
},
["0.16.12"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.16.12.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 @@ -75,6 +75,13 @@ package = {

xpm = {
linux = {
["0.24.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.24.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-musl/releases/download/0.24.0/openkal-musl-0.24.0.tar.gz",
},
sha256 = "fb0ad879e738dfb10e8405f49b15317cf818284270ebe221d2902b9c0c47ff51",
},
["0.23.2"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.23.2.tar.gz",
Expand Down Expand Up @@ -406,6 +413,13 @@ package = {
},
},
macosx = {
["0.24.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.24.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-musl/releases/download/0.24.0/openkal-musl-0.24.0.tar.gz",
},
sha256 = "fb0ad879e738dfb10e8405f49b15317cf818284270ebe221d2902b9c0c47ff51",
},
["0.23.2"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.23.2.tar.gz",
Expand Down Expand Up @@ -737,6 +751,13 @@ package = {
},
},
windows = {
["0.24.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.24.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-musl/releases/download/0.24.0/openkal-musl-0.24.0.tar.gz",
},
sha256 = "fb0ad879e738dfb10e8405f49b15317cf818284270ebe221d2902b9c0c47ff51",
},
["0.23.2"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.23.2.tar.gz",
Expand Down
21 changes: 21 additions & 0 deletions pkgs/o/openkal-run.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ package = {

xpm = {
linux = {
["0.1.8"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.8.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.8/openkal-image-0.1.8.tar.gz",
},
sha256 = "16cfe46581667fcaefeb288a43162f9e4e5393950f443ac7f09d6ddae313fcdd",
},
["0.1.7"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.7.tar.gz",
Expand Down Expand Up @@ -76,6 +83,13 @@ package = {
},
},
macosx = {
["0.1.8"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.8.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.8/openkal-image-0.1.8.tar.gz",
},
sha256 = "16cfe46581667fcaefeb288a43162f9e4e5393950f443ac7f09d6ddae313fcdd",
},
["0.1.7"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.7.tar.gz",
Expand Down Expand Up @@ -134,6 +148,13 @@ package = {
},
},
windows = {
["0.1.8"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.8.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.8/openkal-image-0.1.8.tar.gz",
},
sha256 = "16cfe46581667fcaefeb288a43162f9e4e5393950f443ac7f09d6ddae313fcdd",
},
["0.1.7"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.7.tar.gz",
Expand Down
21 changes: 21 additions & 0 deletions pkgs/o/openkal-tools.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ package = {

xpm = {
linux = {
["0.1.8"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.8.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.8/openkal-image-0.1.8.tar.gz",
},
sha256 = "16cfe46581667fcaefeb288a43162f9e4e5393950f443ac7f09d6ddae313fcdd",
},
["0.1.7"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.7.tar.gz",
Expand Down Expand Up @@ -78,6 +85,13 @@ package = {
},
},
macosx = {
["0.1.8"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.8.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.8/openkal-image-0.1.8.tar.gz",
},
sha256 = "16cfe46581667fcaefeb288a43162f9e4e5393950f443ac7f09d6ddae313fcdd",
},
["0.1.7"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.7.tar.gz",
Expand Down Expand Up @@ -136,6 +150,13 @@ package = {
},
},
windows = {
["0.1.8"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.8.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.8/openkal-image-0.1.8.tar.gz",
},
sha256 = "16cfe46581667fcaefeb288a43162f9e4e5393950f443ac7f09d6ddae313fcdd",
},
["0.1.7"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.7.tar.gz",
Expand Down
6 changes: 3 additions & 3 deletions tests/examples/openkal-bind/mcpp.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ sources = []
include_dirs = ["include"]

[dependencies.mcpplibs]
openkal-run = "0.1.7"
openkal-run = "0.1.8"

[build-dependencies.mcpplibs]
openkal-bind = "0.1.7"
openkal-tools = { version = "0.1.7", tools = ["okld"] }
openkal-bind = "0.1.8"
openkal-tools = { version = "0.1.8", tools = ["okld"] }

[xlings.workspace]
"xim:llvm" = "23.1.3"
Expand Down
2 changes: 1 addition & 1 deletion tests/examples/openkal-musl/mcpp.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ name = "openkal-musl-tests"
version = "0.1.0"

[target.'cfg(os = "linux")'.dependencies.mcpplibs]
openkal-musl = "0.23.2"
openkal-musl = "0.24.0"

[target.'cfg(os = "linux")'.build]
cxxflags = ["-DHAVE_OPENKAL_MUSL=1"]
Expand Down
2 changes: 1 addition & 1 deletion tests/examples/openkal-tools/mcpp.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ name = "openkal-tools-tests"
version = "0.1.0"

[build-dependencies.mcpplibs]
openkal-tools = { version = "0.1.7", tools = ["okld", "okrun"] }
openkal-tools = { version = "0.1.8", tools = ["okld", "okrun"] }

[indices]
mcpplibs = { path = "../../.." }
2 changes: 1 addition & 1 deletion tests/examples/openkal/mcpp.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ openkal-macos = "0.17.0"
openkal-windows = "0.15.0"

[target.'cfg(all(os = "linux", env = "musl"))'.dependencies.mcpplibs]
openkal-llvm-runtime = "0.16.12"
openkal-llvm-runtime = "0.16.13"

[target.'cfg(arch = "wasm32")'.dependencies.mcpplibs]
openkal-emscripten = "0.8.0"
Expand Down
Loading