Skip to content

Commit e4a420c

Browse files
authored
The openkal 0.25 family: openkal 0.25.0, openkal-kit 0.3.1, linux 0.26.0, macos 0.23.0, windows 0.21.0, emscripten 0.14.0, opensbi 0.9.0 (#744)
* openkal 0.25.0 and openkal-kit 0.3.0: a second name for a file, the requests to end counted * The openkal 0.25 family: linux 0.26.0, macos 0.23.0, windows 0.21.0, emscripten 0.14.0, opensbi 0.9.0; the examples moved to it, and openkal-kit has a consumer tests/examples/openkal names the family and observes a second name for a file where the volume states it. tests/examples/openkal-kit consumes the kit through the index, so the candidate gate has a member that names it. * openkal-kit 0.3.1 in place of 0.3.0; the kit member uses port 8080 and is a workspace member kit 0.3.0 wrote at most three digits of a port (8080 as 080); 0.3.1 writes them all. The openkal-kit member formats 8080, so it exercises the fix, and the workspace root names it among its members.
1 parent f113755 commit e4a420c

13 files changed

Lines changed: 231 additions & 7 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@
2525

2626
### Added
2727

28+
- **openkal 0.25 一族,一次变更:openkal 0.25.0、openkal-kit 0.3.1、openkal-linux 0.26.0、openkal-macos 0.23.0、
29+
openkal-windows 0.21.0、openkal-emscripten 0.14.0、openkal-opensbi 0.9.0。** 规范新增 `kal_fs_hard_link`(按卷由
30+
`KAL_FS_PROP_HARD_LINKS` 回答,条款 11 第 59 条),`kal_process_stop_requested` 的字改为计数每次结束请求(第 60 条);一致性
31+
套件按 mtest 测试协议报告,并核对实现清单的 `provides-interfaces`、`kal_interfaces()` 与导出名。各实现提供上述两项,测试改为
32+
mtest 的用例;openkal-emscripten 声明 `requires = ["mcpp:c-abi"]`。`tests/examples/openkal` 改用此族,新增成员
33+
`tests/examples/openkal-kit` 作为 kit 的直接使用者。kit 0.3.1 修正 `format_v4` 只写端口前三位数字的错误(8080 写作 080)。
2834
- **mcpplibs.os 0.4.3.** 依赖改为同时容纳 openkal 0.24 与 0.25 两族的版本区间(openkal `>=0.24.0, <0.26.0`,各实现同理),
2935
mcpp 版本下限不变;openkal 实现以 mtest 测试自身时,经 mtest 到达 os 的图得以解析(mcpplibs/os#23)。
3036
- **openkal-platform 0.24.5、openkal-image 0.5.4(openkal-ld、openkal-run、openkal-tools、openkal-bind)、mcpplibs.os 0.4.2,

‎mcpp.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ members = [
260260
"tests/examples/rapidcsv",
261261
"tests/examples/mcr",
262262
"tests/examples/openkal",
263+
"tests/examples/openkal-kit",
263264
"tests/examples/openkal-musl",
264265
"tests/examples/openkal-platform",
265266
"tests/examples/compiler-rt-builtins",

‎pkgs/o/openkal-emscripten.lua‎

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

4747
xpm = {
4848
linux = {
49+
["0.14.0"] = {
50+
url = {
51+
GLOBAL = "https://github.com/mcpplibs/openkal-emscripten/archive/refs/tags/0.14.0.tar.gz",
52+
CN = "https://gitcode.com/mcpp-res/openkal-emscripten/releases/download/0.14.0/openkal-emscripten-0.14.0.tar.gz",
53+
},
54+
sha256 = "d8d9e4b437bc0deeccab274d54a6f99eba7b9e77b9333c22377949893d5e7aab",
55+
},
4956
["0.13.0"] = {
5057
url = {
5158
GLOBAL = "https://github.com/mcpplibs/openkal-emscripten/archive/refs/tags/0.13.0.tar.gz",
@@ -153,6 +160,13 @@ package = {
153160
},
154161
},
155162
macosx = {
163+
["0.14.0"] = {
164+
url = {
165+
GLOBAL = "https://github.com/mcpplibs/openkal-emscripten/archive/refs/tags/0.14.0.tar.gz",
166+
CN = "https://gitcode.com/mcpp-res/openkal-emscripten/releases/download/0.14.0/openkal-emscripten-0.14.0.tar.gz",
167+
},
168+
sha256 = "d8d9e4b437bc0deeccab274d54a6f99eba7b9e77b9333c22377949893d5e7aab",
169+
},
156170
["0.13.0"] = {
157171
url = {
158172
GLOBAL = "https://github.com/mcpplibs/openkal-emscripten/archive/refs/tags/0.13.0.tar.gz",
@@ -260,6 +274,13 @@ package = {
260274
},
261275
},
262276
windows = {
277+
["0.14.0"] = {
278+
url = {
279+
GLOBAL = "https://github.com/mcpplibs/openkal-emscripten/archive/refs/tags/0.14.0.tar.gz",
280+
CN = "https://gitcode.com/mcpp-res/openkal-emscripten/releases/download/0.14.0/openkal-emscripten-0.14.0.tar.gz",
281+
},
282+
sha256 = "d8d9e4b437bc0deeccab274d54a6f99eba7b9e77b9333c22377949893d5e7aab",
283+
},
263284
["0.13.0"] = {
264285
url = {
265286
GLOBAL = "https://github.com/mcpplibs/openkal-emscripten/archive/refs/tags/0.13.0.tar.gz",

‎pkgs/o/openkal-kit.lua‎

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

4242
xpm = {
4343
linux = {
44+
["0.3.1"] = {
45+
url = {
46+
GLOBAL = "https://github.com/mcpplibs/openkal/archive/refs/tags/kit-0.3.1.tar.gz",
47+
CN = "https://gitcode.com/mcpp-res/openkal/releases/download/kit-0.3.1/openkal-kit-0.3.1.tar.gz",
48+
},
49+
sha256 = "81cea3b8a749089a39bfbed4dfa7a90603383152120a8b88c81fd4d206880a8d",
50+
},
4451
["0.2.0"] = {
4552
url = {
4653
GLOBAL = "https://github.com/mcpplibs/openkal/archive/refs/tags/kit-0.2.0.tar.gz",
@@ -57,6 +64,13 @@ package = {
5764
},
5865
},
5966
macosx = {
67+
["0.3.1"] = {
68+
url = {
69+
GLOBAL = "https://github.com/mcpplibs/openkal/archive/refs/tags/kit-0.3.1.tar.gz",
70+
CN = "https://gitcode.com/mcpp-res/openkal/releases/download/kit-0.3.1/openkal-kit-0.3.1.tar.gz",
71+
},
72+
sha256 = "81cea3b8a749089a39bfbed4dfa7a90603383152120a8b88c81fd4d206880a8d",
73+
},
6074
["0.2.0"] = {
6175
url = {
6276
GLOBAL = "https://github.com/mcpplibs/openkal/archive/refs/tags/kit-0.2.0.tar.gz",
@@ -73,6 +87,13 @@ package = {
7387
},
7488
},
7589
windows = {
90+
["0.3.1"] = {
91+
url = {
92+
GLOBAL = "https://github.com/mcpplibs/openkal/archive/refs/tags/kit-0.3.1.tar.gz",
93+
CN = "https://gitcode.com/mcpp-res/openkal/releases/download/kit-0.3.1/openkal-kit-0.3.1.tar.gz",
94+
},
95+
sha256 = "81cea3b8a749089a39bfbed4dfa7a90603383152120a8b88c81fd4d206880a8d",
96+
},
7697
["0.2.0"] = {
7798
url = {
7899
GLOBAL = "https://github.com/mcpplibs/openkal/archive/refs/tags/kit-0.2.0.tar.gz",

‎pkgs/o/openkal-linux.lua‎

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

2020
xpm = {
2121
linux = {
22+
["0.26.0"] = {
23+
url = {
24+
GLOBAL = "https://github.com/mcpplibs/openkal-linux/archive/refs/tags/0.26.0.tar.gz",
25+
CN = "https://gitcode.com/mcpp-res/openkal-linux/releases/download/0.26.0/openkal-linux-0.26.0.tar.gz",
26+
},
27+
sha256 = "07b9a68742a3d40a9d74cf1a60f9dabb73ebebf594d4321333fa9ac88dccaa49",
28+
},
2229
["0.25.0"] = {
2330
url = {
2431
GLOBAL = "https://github.com/mcpplibs/openkal-linux/archive/refs/tags/0.25.0.tar.gz",
@@ -245,6 +252,13 @@ package = {
245252
},
246253
},
247254
macosx = {
255+
["0.26.0"] = {
256+
url = {
257+
GLOBAL = "https://github.com/mcpplibs/openkal-linux/archive/refs/tags/0.26.0.tar.gz",
258+
CN = "https://gitcode.com/mcpp-res/openkal-linux/releases/download/0.26.0/openkal-linux-0.26.0.tar.gz",
259+
},
260+
sha256 = "07b9a68742a3d40a9d74cf1a60f9dabb73ebebf594d4321333fa9ac88dccaa49",
261+
},
248262
["0.25.0"] = {
249263
url = {
250264
GLOBAL = "https://github.com/mcpplibs/openkal-linux/archive/refs/tags/0.25.0.tar.gz",
@@ -471,6 +485,13 @@ package = {
471485
},
472486
},
473487
windows = {
488+
["0.26.0"] = {
489+
url = {
490+
GLOBAL = "https://github.com/mcpplibs/openkal-linux/archive/refs/tags/0.26.0.tar.gz",
491+
CN = "https://gitcode.com/mcpp-res/openkal-linux/releases/download/0.26.0/openkal-linux-0.26.0.tar.gz",
492+
},
493+
sha256 = "07b9a68742a3d40a9d74cf1a60f9dabb73ebebf594d4321333fa9ac88dccaa49",
494+
},
474495
["0.25.0"] = {
475496
url = {
476497
GLOBAL = "https://github.com/mcpplibs/openkal-linux/archive/refs/tags/0.25.0.tar.gz",

‎pkgs/o/openkal-macos.lua‎

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

2020
xpm = {
2121
linux = {
22+
["0.23.0"] = {
23+
url = {
24+
GLOBAL = "https://github.com/mcpplibs/openkal-macos/archive/refs/tags/0.23.0.tar.gz",
25+
CN = "https://gitcode.com/mcpp-res/openkal-macos/releases/download/0.23.0/openkal-macos-0.23.0.tar.gz",
26+
},
27+
sha256 = "b1a061939bd99b8a888182223f1e68c9a2e036266af34569d5c4307abc2d151c",
28+
},
2229
["0.22.1"] = {
2330
url = {
2431
GLOBAL = "https://github.com/mcpplibs/openkal-macos/archive/refs/tags/0.22.1.tar.gz",
@@ -259,6 +266,13 @@ package = {
259266
},
260267
},
261268
macosx = {
269+
["0.23.0"] = {
270+
url = {
271+
GLOBAL = "https://github.com/mcpplibs/openkal-macos/archive/refs/tags/0.23.0.tar.gz",
272+
CN = "https://gitcode.com/mcpp-res/openkal-macos/releases/download/0.23.0/openkal-macos-0.23.0.tar.gz",
273+
},
274+
sha256 = "b1a061939bd99b8a888182223f1e68c9a2e036266af34569d5c4307abc2d151c",
275+
},
262276
["0.22.1"] = {
263277
url = {
264278
GLOBAL = "https://github.com/mcpplibs/openkal-macos/archive/refs/tags/0.22.1.tar.gz",
@@ -499,6 +513,13 @@ package = {
499513
},
500514
},
501515
windows = {
516+
["0.23.0"] = {
517+
url = {
518+
GLOBAL = "https://github.com/mcpplibs/openkal-macos/archive/refs/tags/0.23.0.tar.gz",
519+
CN = "https://gitcode.com/mcpp-res/openkal-macos/releases/download/0.23.0/openkal-macos-0.23.0.tar.gz",
520+
},
521+
sha256 = "b1a061939bd99b8a888182223f1e68c9a2e036266af34569d5c4307abc2d151c",
522+
},
502523
["0.22.1"] = {
503524
url = {
504525
GLOBAL = "https://github.com/mcpplibs/openkal-macos/archive/refs/tags/0.22.1.tar.gz",

‎pkgs/o/openkal-opensbi.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.9.0"] = {
24+
url = {
25+
GLOBAL = "https://github.com/mcpplibs/openkal-opensbi/archive/refs/tags/0.9.0.tar.gz",
26+
CN = "https://gitcode.com/mcpp-res/openkal-opensbi/releases/download/0.9.0/openkal-opensbi-0.9.0.tar.gz",
27+
},
28+
sha256 = "70bf7414283bb431bf1d1db05f75e432bf1187d60e7000063bb7d103088576a7",
29+
},
2330
["0.8.3"] = {
2431
url = {
2532
GLOBAL = "https://github.com/mcpplibs/openkal-opensbi/archive/refs/tags/0.8.3.tar.gz",
@@ -127,6 +134,13 @@ package = {
127134
},
128135
},
129136
macosx = {
137+
["0.9.0"] = {
138+
url = {
139+
GLOBAL = "https://github.com/mcpplibs/openkal-opensbi/archive/refs/tags/0.9.0.tar.gz",
140+
CN = "https://gitcode.com/mcpp-res/openkal-opensbi/releases/download/0.9.0/openkal-opensbi-0.9.0.tar.gz",
141+
},
142+
sha256 = "70bf7414283bb431bf1d1db05f75e432bf1187d60e7000063bb7d103088576a7",
143+
},
130144
["0.8.3"] = {
131145
url = {
132146
GLOBAL = "https://github.com/mcpplibs/openkal-opensbi/archive/refs/tags/0.8.3.tar.gz",
@@ -234,6 +248,13 @@ package = {
234248
},
235249
},
236250
windows = {
251+
["0.9.0"] = {
252+
url = {
253+
GLOBAL = "https://github.com/mcpplibs/openkal-opensbi/archive/refs/tags/0.9.0.tar.gz",
254+
CN = "https://gitcode.com/mcpp-res/openkal-opensbi/releases/download/0.9.0/openkal-opensbi-0.9.0.tar.gz",
255+
},
256+
sha256 = "70bf7414283bb431bf1d1db05f75e432bf1187d60e7000063bb7d103088576a7",
257+
},
237258
["0.8.3"] = {
238259
url = {
239260
GLOBAL = "https://github.com/mcpplibs/openkal-opensbi/archive/refs/tags/0.8.3.tar.gz",

‎pkgs/o/openkal-windows.lua‎

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

2222
xpm = {
2323
linux = {
24+
["0.21.0"] = {
25+
url = {
26+
GLOBAL = "https://github.com/mcpplibs/openkal-windows/archive/refs/tags/0.21.0.tar.gz",
27+
CN = "https://gitcode.com/mcpp-res/openkal-windows/releases/download/0.21.0/openkal-windows-0.21.0.tar.gz",
28+
},
29+
sha256 = "585370e929875f996ec0283695c3d7768ce00f4c126be1c0cbd6d40ef1cc0757",
30+
},
2431
["0.20.0"] = {
2532
url = {
2633
GLOBAL = "https://github.com/mcpplibs/openkal-windows/archive/refs/tags/0.20.0.tar.gz",
@@ -254,6 +261,13 @@ package = {
254261
},
255262
},
256263
macosx = {
264+
["0.21.0"] = {
265+
url = {
266+
GLOBAL = "https://github.com/mcpplibs/openkal-windows/archive/refs/tags/0.21.0.tar.gz",
267+
CN = "https://gitcode.com/mcpp-res/openkal-windows/releases/download/0.21.0/openkal-windows-0.21.0.tar.gz",
268+
},
269+
sha256 = "585370e929875f996ec0283695c3d7768ce00f4c126be1c0cbd6d40ef1cc0757",
270+
},
257271
["0.20.0"] = {
258272
url = {
259273
GLOBAL = "https://github.com/mcpplibs/openkal-windows/archive/refs/tags/0.20.0.tar.gz",
@@ -487,6 +501,13 @@ package = {
487501
},
488502
},
489503
windows = {
504+
["0.21.0"] = {
505+
url = {
506+
GLOBAL = "https://github.com/mcpplibs/openkal-windows/archive/refs/tags/0.21.0.tar.gz",
507+
CN = "https://gitcode.com/mcpp-res/openkal-windows/releases/download/0.21.0/openkal-windows-0.21.0.tar.gz",
508+
},
509+
sha256 = "585370e929875f996ec0283695c3d7768ce00f4c126be1c0cbd6d40ef1cc0757",
510+
},
490511
["0.20.0"] = {
491512
url = {
492513
GLOBAL = "https://github.com/mcpplibs/openkal-windows/archive/refs/tags/0.20.0.tar.gz",

‎pkgs/o/openkal.lua‎

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

2323
xpm = {
2424
linux = {
25+
["0.25.0"] = {
26+
url = {
27+
GLOBAL = "https://github.com/mcpplibs/openkal/archive/refs/tags/0.25.0.tar.gz",
28+
CN = "https://gitcode.com/mcpp-res/openkal/releases/download/0.25.0/openkal-0.25.0.tar.gz",
29+
},
30+
sha256 = "5dd0e82bd150562bd26824f515698d45e71157adcbe97289b28c3e399acc0771",
31+
},
2532
["0.24.0"] = {
2633
url = {
2734
GLOBAL = "https://github.com/mcpplibs/openkal/archive/refs/tags/0.24.0.tar.gz",
@@ -192,6 +199,13 @@ package = {
192199
},
193200
},
194201
macosx = {
202+
["0.25.0"] = {
203+
url = {
204+
GLOBAL = "https://github.com/mcpplibs/openkal/archive/refs/tags/0.25.0.tar.gz",
205+
CN = "https://gitcode.com/mcpp-res/openkal/releases/download/0.25.0/openkal-0.25.0.tar.gz",
206+
},
207+
sha256 = "5dd0e82bd150562bd26824f515698d45e71157adcbe97289b28c3e399acc0771",
208+
},
195209
["0.24.0"] = {
196210
url = {
197211
GLOBAL = "https://github.com/mcpplibs/openkal/archive/refs/tags/0.24.0.tar.gz",
@@ -362,6 +376,13 @@ package = {
362376
},
363377
},
364378
windows = {
379+
["0.25.0"] = {
380+
url = {
381+
GLOBAL = "https://github.com/mcpplibs/openkal/archive/refs/tags/0.25.0.tar.gz",
382+
CN = "https://gitcode.com/mcpp-res/openkal/releases/download/0.25.0/openkal-0.25.0.tar.gz",
383+
},
384+
sha256 = "5dd0e82bd150562bd26824f515698d45e71157adcbe97289b28c3e399acc0771",
385+
},
365386
["0.24.0"] = {
366387
url = {
367388
GLOBAL = "https://github.com/mcpplibs/openkal/archive/refs/tags/0.24.0.tar.gz",
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# openkal-kit test project: the facilities composed from openkal's interfaces,
2+
# consumed as a program consumes them --- the kit, the specification it is
3+
# written against, and the implementation for this system. The observation is
4+
# of behaviour (tests/kit.cpp): an endpoint is parsed and written back, and a
5+
# malformed one is refused.
6+
[package]
7+
name = "openkal-kit-tests"
8+
version = "0.1.0"
9+
10+
[dependencies.mcpplibs]
11+
openkal = "0.25.0"
12+
openkal-kit = "0.3.1"
13+
14+
[target.'cfg(os = "linux")'.dependencies.mcpplibs]
15+
openkal-linux = "0.26.0"
16+
17+
[target.'cfg(os = "macos")'.dependencies.mcpplibs]
18+
openkal-macos = "0.23.0"
19+
20+
[target.'cfg(windows)'.dependencies.mcpplibs]
21+
openkal-windows = "0.21.0"
22+
23+
# This member names mcpplibs packages, which the workspace root's single
24+
# redirect does not carry, so it states its own.
25+
[indices]
26+
mcpplibs = { path = "../../.." }

0 commit comments

Comments
 (0)