Skip to content

Commit 5169dbc

Browse files
openkal-ld, openkal-run, openkal-tools, openkal-bind 0.1.5 (#636)
Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
1 parent 7c8abf2 commit 5169dbc

7 files changed

Lines changed: 92 additions & 4 deletions

File tree

‎CHANGELOG.md‎

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

1010
### Added
1111

12+
- **openkal-ld、openkal-run、openkal-tools、openkal-bind 0.1.5。** okrun 以 `openkal.map`(私有、可写)映射它运行的映像
13+
或 okb,而不是整体读入内存,映像结束时释放;映像绑定 `openkal.map` 的三个函数。四个成员钉 openkal 0.18.0、
14+
openkal-linux 0.19.0、openkal-macos 0.16.0、openkal-windows 0.14.0。测试成员 `openkal-tools`、`openkal-bind`
15+
随之移动。GLOBAL 为 GitHub 标签归档,CN 为 GitCode `mcpp-res` 镜像,sha256 两处一致。
1216
- **openkal 0.18.0、openkal-linux 0.19.0、openkal-macos 0.16.0、openkal-windows 0.14.0。** 新的可选接口
1317
`openkal.map`(`KAL_IFACE_MAP`):`kal_map_file` 把文件的一部分映射到地址空间(偏移为 `KAL_MAP_ALIGNMENT`,即
1418
64 KiB 的倍数;读或写、私有或共享),`kal_map_sync` 使共享区域的写入对文件读取可见,`kal_map_release` 按地址与长度

‎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.1.5"] = {
29+
url = {
30+
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.5.tar.gz",
31+
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.5/openkal-image-0.1.5.tar.gz",
32+
},
33+
sha256 = "5cd28c5bcebf7c4f0b9f69ea01e1e5d8f595ed148d485404ad367631c083aef8",
34+
},
2835
["0.1.4"] = {
2936
url = {
3037
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.4.tar.gz",
@@ -48,6 +55,13 @@ package = {
4855
},
4956
},
5057
macosx = {
58+
["0.1.5"] = {
59+
url = {
60+
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.5.tar.gz",
61+
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.5/openkal-image-0.1.5.tar.gz",
62+
},
63+
sha256 = "5cd28c5bcebf7c4f0b9f69ea01e1e5d8f595ed148d485404ad367631c083aef8",
64+
},
5165
["0.1.4"] = {
5266
url = {
5367
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.4.tar.gz",
@@ -71,6 +85,13 @@ package = {
7185
},
7286
},
7387
windows = {
88+
["0.1.5"] = {
89+
url = {
90+
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.5.tar.gz",
91+
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.5/openkal-image-0.1.5.tar.gz",
92+
},
93+
sha256 = "5cd28c5bcebf7c4f0b9f69ea01e1e5d8f595ed148d485404ad367631c083aef8",
94+
},
7495
["0.1.4"] = {
7596
url = {
7697
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.4.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.1.5"] = {
22+
url = {
23+
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.5.tar.gz",
24+
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.5/openkal-image-0.1.5.tar.gz",
25+
},
26+
sha256 = "5cd28c5bcebf7c4f0b9f69ea01e1e5d8f595ed148d485404ad367631c083aef8",
27+
},
2128
["0.1.4"] = {
2229
url = {
2330
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.4.tar.gz",
@@ -55,6 +62,13 @@ package = {
5562
},
5663
},
5764
macosx = {
65+
["0.1.5"] = {
66+
url = {
67+
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.5.tar.gz",
68+
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.5/openkal-image-0.1.5.tar.gz",
69+
},
70+
sha256 = "5cd28c5bcebf7c4f0b9f69ea01e1e5d8f595ed148d485404ad367631c083aef8",
71+
},
5872
["0.1.4"] = {
5973
url = {
6074
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.4.tar.gz",
@@ -92,6 +106,13 @@ package = {
92106
},
93107
},
94108
windows = {
109+
["0.1.5"] = {
110+
url = {
111+
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.5.tar.gz",
112+
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.5/openkal-image-0.1.5.tar.gz",
113+
},
114+
sha256 = "5cd28c5bcebf7c4f0b9f69ea01e1e5d8f595ed148d485404ad367631c083aef8",
115+
},
95116
["0.1.4"] = {
96117
url = {
97118
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.4.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.1.5"] = {
22+
url = {
23+
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.5.tar.gz",
24+
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.5/openkal-image-0.1.5.tar.gz",
25+
},
26+
sha256 = "5cd28c5bcebf7c4f0b9f69ea01e1e5d8f595ed148d485404ad367631c083aef8",
27+
},
2128
["0.1.4"] = {
2229
url = {
2330
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.4.tar.gz",
@@ -55,6 +62,13 @@ package = {
5562
},
5663
},
5764
macosx = {
65+
["0.1.5"] = {
66+
url = {
67+
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.5.tar.gz",
68+
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.5/openkal-image-0.1.5.tar.gz",
69+
},
70+
sha256 = "5cd28c5bcebf7c4f0b9f69ea01e1e5d8f595ed148d485404ad367631c083aef8",
71+
},
5872
["0.1.4"] = {
5973
url = {
6074
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.4.tar.gz",
@@ -92,6 +106,13 @@ package = {
92106
},
93107
},
94108
windows = {
109+
["0.1.5"] = {
110+
url = {
111+
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.5.tar.gz",
112+
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.5/openkal-image-0.1.5.tar.gz",
113+
},
114+
sha256 = "5cd28c5bcebf7c4f0b9f69ea01e1e5d8f595ed148d485404ad367631c083aef8",
115+
},
95116
["0.1.4"] = {
96117
url = {
97118
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.4.tar.gz",

‎pkgs/o/openkal-tools.lua‎

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

2121
xpm = {
2222
linux = {
23+
["0.1.5"] = {
24+
url = {
25+
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.5.tar.gz",
26+
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.5/openkal-image-0.1.5.tar.gz",
27+
},
28+
sha256 = "5cd28c5bcebf7c4f0b9f69ea01e1e5d8f595ed148d485404ad367631c083aef8",
29+
},
2330
["0.1.4"] = {
2431
url = {
2532
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.4.tar.gz",
@@ -57,6 +64,13 @@ package = {
5764
},
5865
},
5966
macosx = {
67+
["0.1.5"] = {
68+
url = {
69+
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.5.tar.gz",
70+
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.5/openkal-image-0.1.5.tar.gz",
71+
},
72+
sha256 = "5cd28c5bcebf7c4f0b9f69ea01e1e5d8f595ed148d485404ad367631c083aef8",
73+
},
6074
["0.1.4"] = {
6175
url = {
6276
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.4.tar.gz",
@@ -94,6 +108,13 @@ package = {
94108
},
95109
},
96110
windows = {
111+
["0.1.5"] = {
112+
url = {
113+
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.5.tar.gz",
114+
CN = "https://gitcode.com/mcpp-res/openkal-image/releases/download/0.1.5/openkal-image-0.1.5.tar.gz",
115+
},
116+
sha256 = "5cd28c5bcebf7c4f0b9f69ea01e1e5d8f595ed148d485404ad367631c083aef8",
117+
},
97118
["0.1.4"] = {
98119
url = {
99120
GLOBAL = "https://github.com/mcpplibs/openkal-image/archive/refs/tags/0.1.4.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.1.4"
20+
openkal-run = "0.1.5"
2121

2222
[build-dependencies.mcpplibs]
23-
openkal-bind = "0.1.4"
24-
openkal-tools = { version = "0.1.4", tools = ["okld"] }
23+
openkal-bind = "0.1.5"
24+
openkal-tools = { version = "0.1.5", 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.1.4", tools = ["okld", "okrun"] }
12+
openkal-tools = { version = "0.1.5", tools = ["okld", "okrun"] }
1313

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

0 commit comments

Comments
 (0)