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

### Added

- **openkal-ld/run/tools/bind 0.4.0。** 在 openkal 0.23 的实现上构建(openkal-linux 0.24.0、openkal-macos 0.21.0、openkal-windows
0.19.0):映像在每次开机选定的基址上放置,数据作为预备副本保存在用户缓存中;触页记录(`okprof record --what touch`、
`okld touch`)按程序的资源偏好预读;初始化代码的快照每次开机生成一次、之后的启动直接映射(`OKRUN_SNAPSHOT=0` 关闭);启动的
花费随资源偏好(performance、balanced、economy)变化,`okrun cache` 列出并回收运行器的缓存;`okld bundle --compress` 写出压缩
的 okb(okb 2);okprof 成为 openkal-tools 的第三个程序。测试成员 `openkal-tools`(构建 okprof)、`openkal-bind` 随之移动。
GLOBAL 为 GitHub 标签归档,CN 为 GitCode `mcpp-res` 镜像,sha256 两处一致。
- **openkal 0.23.0;openkal-linux 0.24.0、openkal-macos 0.21.0、openkal-windows 0.19.0、openkal-emscripten 0.12.0。**
映像在其基址上放置(`kal_exec_alloc_at`、placement note);exec 区域返回时为零,可封存(`kal_exec_seal_part`)、预取、私有映射
文件的部分(`KAL_EXEC_MAP_WRITE`);按名字解析全部链接(`kal_fs_resolved_name`)与带属性的列举;目录授予的衰减(只读、不变、
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.4.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.4.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.4.0/openkal-image-0.4.0.tar.gz",
},
sha256 = "2ffec55b912f22c3efefca4e9ad651ea0180c3d2495c8bc5413503b05524a92f",
},
["0.3.2"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.3.2.tar.gz",
Expand Down Expand Up @@ -111,6 +118,13 @@ package = {
},
},
macosx = {
["0.4.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.4.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.4.0/openkal-image-0.4.0.tar.gz",
},
sha256 = "2ffec55b912f22c3efefca4e9ad651ea0180c3d2495c8bc5413503b05524a92f",
},
["0.3.2"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.3.2.tar.gz",
Expand Down Expand Up @@ -197,6 +211,13 @@ package = {
},
},
windows = {
["0.4.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.4.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.4.0/openkal-image-0.4.0.tar.gz",
},
sha256 = "2ffec55b912f22c3efefca4e9ad651ea0180c3d2495c8bc5413503b05524a92f",
},
["0.3.2"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.3.2.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.4.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.4.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.4.0/openkal-image-0.4.0.tar.gz",
},
sha256 = "2ffec55b912f22c3efefca4e9ad651ea0180c3d2495c8bc5413503b05524a92f",
},
["0.3.2"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.3.2.tar.gz",
Expand Down Expand Up @@ -118,6 +125,13 @@ package = {
},
},
macosx = {
["0.4.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.4.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.4.0/openkal-image-0.4.0.tar.gz",
},
sha256 = "2ffec55b912f22c3efefca4e9ad651ea0180c3d2495c8bc5413503b05524a92f",
},
["0.3.2"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.3.2.tar.gz",
Expand Down Expand Up @@ -218,6 +232,13 @@ package = {
},
},
windows = {
["0.4.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.4.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.4.0/openkal-image-0.4.0.tar.gz",
},
sha256 = "2ffec55b912f22c3efefca4e9ad651ea0180c3d2495c8bc5413503b05524a92f",
},
["0.3.2"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.3.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.4.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.4.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.4.0/openkal-image-0.4.0.tar.gz",
},
sha256 = "2ffec55b912f22c3efefca4e9ad651ea0180c3d2495c8bc5413503b05524a92f",
},
["0.3.2"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.3.2.tar.gz",
Expand Down Expand Up @@ -118,6 +125,13 @@ package = {
},
},
macosx = {
["0.4.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.4.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.4.0/openkal-image-0.4.0.tar.gz",
},
sha256 = "2ffec55b912f22c3efefca4e9ad651ea0180c3d2495c8bc5413503b05524a92f",
},
["0.3.2"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.3.2.tar.gz",
Expand Down Expand Up @@ -218,6 +232,13 @@ package = {
},
},
windows = {
["0.4.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.4.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.4.0/openkal-image-0.4.0.tar.gz",
},
sha256 = "2ffec55b912f22c3efefca4e9ad651ea0180c3d2495c8bc5413503b05524a92f",
},
["0.3.2"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.3.2.tar.gz",
Expand Down
25 changes: 23 additions & 2 deletions pkgs/o/openkal-tools.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- openkal-tools --- okrun and okld (openkal SPEC clause 12).
-- openkal-tools --- okrun, okld and okprof (openkal SPEC clause 12).
--
-- A member of mcpplibs/openkal-image (one tag, one archive). A project that
-- builds ok images (`<arch>-openkal`) declares it for this machine:
Expand All @@ -13,13 +13,20 @@ package = {
spec = "1",
namespace = "mcpplibs",
name = "openkal-tools",
description = "okrun and okld: the runner of ok images, and the tool that writes an image's requirements note, checks the convention and signs it",
description = "okrun, okld and okprof: the runner of ok images; the tool that writes an image's notes (requirements, placement, touches), checks the convention, signs and bundles it; and the reader of the runner's reports",
licenses = {"Apache-2.0"},
repo = "https://github.com/mcpplibs/openkal-image",
type = "package",

xpm = {
linux = {
["0.4.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.4.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.4.0/openkal-image-0.4.0.tar.gz",
},
sha256 = "2ffec55b912f22c3efefca4e9ad651ea0180c3d2495c8bc5413503b05524a92f",
},
["0.3.2"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.3.2.tar.gz",
Expand Down Expand Up @@ -120,6 +127,13 @@ package = {
},
},
macosx = {
["0.4.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.4.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.4.0/openkal-image-0.4.0.tar.gz",
},
sha256 = "2ffec55b912f22c3efefca4e9ad651ea0180c3d2495c8bc5413503b05524a92f",
},
["0.3.2"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.3.2.tar.gz",
Expand Down Expand Up @@ -220,6 +234,13 @@ package = {
},
},
windows = {
["0.4.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.4.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.4.0/openkal-image-0.4.0.tar.gz",
},
sha256 = "2ffec55b912f22c3efefca4e9ad651ea0180c3d2495c8bc5413503b05524a92f",
},
["0.3.2"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.3.2.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.3.2"
openkal-run = "0.4.0"

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

[xlings.workspace]
"xim:llvm" = "23.1.3"
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.3.2", tools = ["okld", "okrun"] }
openkal-tools = { version = "0.4.0", tools = ["okld", "okrun", "okprof"] }

[indices]
mcpplibs = { path = "../../.." }
2 changes: 1 addition & 1 deletion tests/examples/openkal-tools/tests/tools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
import std;

int main() {
std::println("openkal-tools-tests: okld and okrun were built for this machine");
std::println("openkal-tools-tests: okld, okrun and okprof were built for this machine");
return 0;
}
Loading