Skip to content

Commit 9fcd34b

Browse files
openkal-ld/run/tools/bind 0.4.0 (#676)
Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
1 parent c367502 commit 9fcd34b

8 files changed

Lines changed: 97 additions & 7 deletions

File tree

‎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-ld/run/tools/bind 0.4.0。** 在 openkal 0.23 的实现上构建(openkal-linux 0.24.0、openkal-macos 0.21.0、openkal-windows
19+
0.19.0):映像在每次开机选定的基址上放置,数据作为预备副本保存在用户缓存中;触页记录(`okprof record --what touch`、
20+
`okld touch`)按程序的资源偏好预读;初始化代码的快照每次开机生成一次、之后的启动直接映射(`OKRUN_SNAPSHOT=0` 关闭);启动的
21+
花费随资源偏好(performance、balanced、economy)变化,`okrun cache` 列出并回收运行器的缓存;`okld bundle --compress` 写出压缩
22+
的 okb(okb 2);okprof 成为 openkal-tools 的第三个程序。测试成员 `openkal-tools`(构建 okprof)、`openkal-bind` 随之移动。
23+
GLOBAL 为 GitHub 标签归档,CN 为 GitCode `mcpp-res` 镜像,sha256 两处一致。
1824
- **openkal 0.23.0;openkal-linux 0.24.0、openkal-macos 0.21.0、openkal-windows 0.19.0、openkal-emscripten 0.12.0。**
1925
映像在其基址上放置(`kal_exec_alloc_at`、placement note);exec 区域返回时为零,可封存(`kal_exec_seal_part`)、预取、私有映射
2026
文件的部分(`KAL_EXEC_MAP_WRITE`);按名字解析全部链接(`kal_fs_resolved_name`)与带属性的列举;目录授予的衰减(只读、不变、

‎pkgs/o/openkal-bind.lua‎

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

2626
xpm = {
2727
linux = {
28+
["0.4.0"] = {
29+
url = {
30+
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.4.0.tar.gz",
31+
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.4.0/openkal-image-0.4.0.tar.gz",
32+
},
33+
sha256 = "2ffec55b912f22c3efefca4e9ad651ea0180c3d2495c8bc5413503b05524a92f",
34+
},
2835
["0.3.2"] = {
2936
url = {
3037
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.3.2.tar.gz",
@@ -111,6 +118,13 @@ package = {
111118
},
112119
},
113120
macosx = {
121+
["0.4.0"] = {
122+
url = {
123+
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.4.0.tar.gz",
124+
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.4.0/openkal-image-0.4.0.tar.gz",
125+
},
126+
sha256 = "2ffec55b912f22c3efefca4e9ad651ea0180c3d2495c8bc5413503b05524a92f",
127+
},
114128
["0.3.2"] = {
115129
url = {
116130
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.3.2.tar.gz",
@@ -197,6 +211,13 @@ package = {
197211
},
198212
},
199213
windows = {
214+
["0.4.0"] = {
215+
url = {
216+
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.4.0.tar.gz",
217+
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.4.0/openkal-image-0.4.0.tar.gz",
218+
},
219+
sha256 = "2ffec55b912f22c3efefca4e9ad651ea0180c3d2495c8bc5413503b05524a92f",
220+
},
200221
["0.3.2"] = {
201222
url = {
202223
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.3.2.tar.gz",

‎pkgs/o/openkal-ld.lua‎

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

1919
xpm = {
2020
linux = {
21+
["0.4.0"] = {
22+
url = {
23+
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.4.0.tar.gz",
24+
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.4.0/openkal-image-0.4.0.tar.gz",
25+
},
26+
sha256 = "2ffec55b912f22c3efefca4e9ad651ea0180c3d2495c8bc5413503b05524a92f",
27+
},
2128
["0.3.2"] = {
2229
url = {
2330
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.3.2.tar.gz",
@@ -118,6 +125,13 @@ package = {
118125
},
119126
},
120127
macosx = {
128+
["0.4.0"] = {
129+
url = {
130+
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.4.0.tar.gz",
131+
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.4.0/openkal-image-0.4.0.tar.gz",
132+
},
133+
sha256 = "2ffec55b912f22c3efefca4e9ad651ea0180c3d2495c8bc5413503b05524a92f",
134+
},
121135
["0.3.2"] = {
122136
url = {
123137
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.3.2.tar.gz",
@@ -218,6 +232,13 @@ package = {
218232
},
219233
},
220234
windows = {
235+
["0.4.0"] = {
236+
url = {
237+
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.4.0.tar.gz",
238+
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.4.0/openkal-image-0.4.0.tar.gz",
239+
},
240+
sha256 = "2ffec55b912f22c3efefca4e9ad651ea0180c3d2495c8bc5413503b05524a92f",
241+
},
221242
["0.3.2"] = {
222243
url = {
223244
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.3.2.tar.gz",

‎pkgs/o/openkal-run.lua‎

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

1919
xpm = {
2020
linux = {
21+
["0.4.0"] = {
22+
url = {
23+
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.4.0.tar.gz",
24+
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.4.0/openkal-image-0.4.0.tar.gz",
25+
},
26+
sha256 = "2ffec55b912f22c3efefca4e9ad651ea0180c3d2495c8bc5413503b05524a92f",
27+
},
2128
["0.3.2"] = {
2229
url = {
2330
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.3.2.tar.gz",
@@ -118,6 +125,13 @@ package = {
118125
},
119126
},
120127
macosx = {
128+
["0.4.0"] = {
129+
url = {
130+
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.4.0.tar.gz",
131+
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.4.0/openkal-image-0.4.0.tar.gz",
132+
},
133+
sha256 = "2ffec55b912f22c3efefca4e9ad651ea0180c3d2495c8bc5413503b05524a92f",
134+
},
121135
["0.3.2"] = {
122136
url = {
123137
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.3.2.tar.gz",
@@ -218,6 +232,13 @@ package = {
218232
},
219233
},
220234
windows = {
235+
["0.4.0"] = {
236+
url = {
237+
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.4.0.tar.gz",
238+
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.4.0/openkal-image-0.4.0.tar.gz",
239+
},
240+
sha256 = "2ffec55b912f22c3efefca4e9ad651ea0180c3d2495c8bc5413503b05524a92f",
241+
},
221242
["0.3.2"] = {
222243
url = {
223244
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.3.2.tar.gz",

‎pkgs/o/openkal-tools.lua‎

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-- openkal-tools --- okrun and okld (openkal SPEC clause 12).
1+
-- openkal-tools --- okrun, okld and okprof (openkal SPEC clause 12).
22
--
33
-- A member of mcpplibs/openkal-image (one tag, one archive). A project that
44
-- builds ok images (`<arch>-openkal`) declares it for this machine:
@@ -13,13 +13,20 @@ package = {
1313
spec = "1",
1414
namespace = "mcpplibs",
1515
name = "openkal-tools",
16-
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",
16+
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",
1717
licenses = {"Apache-2.0"},
1818
repo = "https://github.com/mcpplibs/openkal-image",
1919
type = "package",
2020

2121
xpm = {
2222
linux = {
23+
["0.4.0"] = {
24+
url = {
25+
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.4.0.tar.gz",
26+
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.4.0/openkal-image-0.4.0.tar.gz",
27+
},
28+
sha256 = "2ffec55b912f22c3efefca4e9ad651ea0180c3d2495c8bc5413503b05524a92f",
29+
},
2330
["0.3.2"] = {
2431
url = {
2532
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.3.2.tar.gz",
@@ -120,6 +127,13 @@ package = {
120127
},
121128
},
122129
macosx = {
130+
["0.4.0"] = {
131+
url = {
132+
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.4.0.tar.gz",
133+
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.4.0/openkal-image-0.4.0.tar.gz",
134+
},
135+
sha256 = "2ffec55b912f22c3efefca4e9ad651ea0180c3d2495c8bc5413503b05524a92f",
136+
},
123137
["0.3.2"] = {
124138
url = {
125139
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.3.2.tar.gz",
@@ -220,6 +234,13 @@ package = {
220234
},
221235
},
222236
windows = {
237+
["0.4.0"] = {
238+
url = {
239+
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.4.0.tar.gz",
240+
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.4.0/openkal-image-0.4.0.tar.gz",
241+
},
242+
sha256 = "2ffec55b912f22c3efefca4e9ad651ea0180c3d2495c8bc5413503b05524a92f",
243+
},
223244
["0.3.2"] = {
224245
url = {
225246
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.3.2.tar.gz",

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ sources = []
1717
include_dirs = ["include"]
1818

1919
[dependencies.mcpplibs]
20-
openkal-run = "0.3.2"
20+
openkal-run = "0.4.0"
2121

2222
[build-dependencies.mcpplibs]
23-
openkal-bind = "0.3.2"
24-
openkal-tools = { version = "0.3.2", tools = ["okld"] }
23+
openkal-bind = "0.4.0"
24+
openkal-tools = { version = "0.4.0", tools = ["okld"] }
2525

2626
[xlings.workspace]
2727
"xim:llvm" = "23.1.3"

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

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

1111
[build-dependencies.mcpplibs]
12-
openkal-tools = { version = "0.3.2", tools = ["okld", "okrun"] }
12+
openkal-tools = { version = "0.4.0", tools = ["okld", "okrun", "okprof"] }
1313

1414
[indices]
1515
mcpplibs = { path = "../../.." }

‎tests/examples/openkal-tools/tests/tools.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
import std;
33

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

0 commit comments

Comments
 (0)