Skip to content

Commit ad0f019

Browse files
authored
openkal-macos 0.14.1, openkal-musl 0.21.1 and openkal-llvm-runtime 0.15.6 (#566)
A program duplicated by fork on macOS can start a thread (mcpplibs/openkal-musl#55). Every GLOBAL address is the upstream tag archive and every CN address is the byte-identical gitcode asset, checked against the recorded sha256. The two openkal members move with them.
1 parent 0292416 commit ad0f019

6 files changed

Lines changed: 71 additions & 3 deletions

File tree

‎CHANGELOG.md‎

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

1010
### Added
1111

12+
- **`openkal-macos` 0.14.1、`openkal-musl` 0.21.1、`openkal-llvm-runtime` 0.15.6。** macOS 上
13+
经 `fork` 复制的程序此前不能启动线程(`pthread_create` 返回 `EAGAIN`,
14+
mcpplibs/openkal-musl#55):`kal_space_start` 只调用复制原语,而该系统的 `fork` 在原语前后
15+
由系统库各部分加锁并在副本中更新自身状态。0.14.1 按系统库自身的顺序调用这些导出的部分;
16+
0.21.1 与 0.15.6 移动锁定版本。两个 openkal 测试成员随之移动。GLOBAL/CN 与 sha256 的取法同上。
1217
- **`openkal` 0.16.0 及随之移动的七个包。** 规范新增 `kal_task_start_sized`(栈大小的下限,
1318
给不出时为 `kal_err_no_memory`)与 `KAL_TERM_PASS_INPUT`(环境不改写所输入的字节),
1419
并补述关闭目录即结束其未读完的枚举。`openkal-linux` 0.17.0、`openkal-macos` 0.14.0、

‎pkgs/o/openkal-llvm-runtime.lua‎

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

7676
xpm = {
7777
linux = {
78+
["0.15.6"] = {
79+
url = {
80+
GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.15.6.tar.gz",
81+
CN = "https://gitcode.com/mcpp-res/openkal-llvm-runtime/releases/download/0.15.6/openkal-llvm-runtime-0.15.6.tar.gz",
82+
},
83+
sha256 = "ceded7b07fe83100d2bc4409ffadc053374779c915a8632a27df150082f54cb4",
84+
},
7885
["0.15.5"] = {
7986
url = {
8087
GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.15.5.tar.gz",
@@ -294,6 +301,13 @@ package = {
294301
},
295302
},
296303
macosx = {
304+
["0.15.6"] = {
305+
url = {
306+
GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.15.6.tar.gz",
307+
CN = "https://gitcode.com/mcpp-res/openkal-llvm-runtime/releases/download/0.15.6/openkal-llvm-runtime-0.15.6.tar.gz",
308+
},
309+
sha256 = "ceded7b07fe83100d2bc4409ffadc053374779c915a8632a27df150082f54cb4",
310+
},
297311
["0.15.5"] = {
298312
url = {
299313
GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.15.5.tar.gz",
@@ -513,6 +527,13 @@ package = {
513527
},
514528
},
515529
windows = {
530+
["0.15.6"] = {
531+
url = {
532+
GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.15.6.tar.gz",
533+
CN = "https://gitcode.com/mcpp-res/openkal-llvm-runtime/releases/download/0.15.6/openkal-llvm-runtime-0.15.6.tar.gz",
534+
},
535+
sha256 = "ceded7b07fe83100d2bc4409ffadc053374779c915a8632a27df150082f54cb4",
536+
},
516537
["0.15.5"] = {
517538
url = {
518539
GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.15.5.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.14.1"] = {
23+
url = {
24+
GLOBAL = "https://github.com/mcpplibs/openkal-macos/archive/refs/tags/0.14.1.tar.gz",
25+
CN = "https://gitcode.com/mcpp-res/openkal-macos/releases/download/0.14.1/openkal-macos-0.14.1.tar.gz",
26+
},
27+
sha256 = "3a7adcca7e0b0643f0bee488e111713f9904c0ac6b7fdb8eb414381198f2e1f0",
28+
},
2229
["0.14.0"] = {
2330
url = {
2431
GLOBAL = "https://github.com/mcpplibs/openkal-macos/archive/refs/tags/0.14.0.tar.gz",
@@ -154,6 +161,13 @@ package = {
154161
},
155162
},
156163
macosx = {
164+
["0.14.1"] = {
165+
url = {
166+
GLOBAL = "https://github.com/mcpplibs/openkal-macos/archive/refs/tags/0.14.1.tar.gz",
167+
CN = "https://gitcode.com/mcpp-res/openkal-macos/releases/download/0.14.1/openkal-macos-0.14.1.tar.gz",
168+
},
169+
sha256 = "3a7adcca7e0b0643f0bee488e111713f9904c0ac6b7fdb8eb414381198f2e1f0",
170+
},
157171
["0.14.0"] = {
158172
url = {
159173
GLOBAL = "https://github.com/mcpplibs/openkal-macos/archive/refs/tags/0.14.0.tar.gz",
@@ -289,6 +303,13 @@ package = {
289303
},
290304
},
291305
windows = {
306+
["0.14.1"] = {
307+
url = {
308+
GLOBAL = "https://github.com/mcpplibs/openkal-macos/archive/refs/tags/0.14.1.tar.gz",
309+
CN = "https://gitcode.com/mcpp-res/openkal-macos/releases/download/0.14.1/openkal-macos-0.14.1.tar.gz",
310+
},
311+
sha256 = "3a7adcca7e0b0643f0bee488e111713f9904c0ac6b7fdb8eb414381198f2e1f0",
312+
},
292313
["0.14.0"] = {
293314
url = {
294315
GLOBAL = "https://github.com/mcpplibs/openkal-macos/archive/refs/tags/0.14.0.tar.gz",

‎pkgs/o/openkal-musl.lua‎

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

6565
xpm = {
6666
linux = {
67+
["0.21.1"] = {
68+
url = {
69+
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.21.1.tar.gz",
70+
CN = "https://gitcode.com/mcpp-res/openkal-musl/releases/download/0.21.1/openkal-musl-0.21.1.tar.gz",
71+
},
72+
sha256 = "cd1219b15c7485bf6aaad904ed7e6e7d1bfc6e76dcc90d4c3d5e8c1ec8557886",
73+
},
6774
["0.21.0"] = {
6875
url = {
6976
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.21.0.tar.gz",
@@ -297,6 +304,13 @@ package = {
297304
},
298305
},
299306
macosx = {
307+
["0.21.1"] = {
308+
url = {
309+
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.21.1.tar.gz",
310+
CN = "https://gitcode.com/mcpp-res/openkal-musl/releases/download/0.21.1/openkal-musl-0.21.1.tar.gz",
311+
},
312+
sha256 = "cd1219b15c7485bf6aaad904ed7e6e7d1bfc6e76dcc90d4c3d5e8c1ec8557886",
313+
},
300314
["0.21.0"] = {
301315
url = {
302316
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.21.0.tar.gz",
@@ -530,6 +544,13 @@ package = {
530544
},
531545
},
532546
windows = {
547+
["0.21.1"] = {
548+
url = {
549+
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.21.1.tar.gz",
550+
CN = "https://gitcode.com/mcpp-res/openkal-musl/releases/download/0.21.1/openkal-musl-0.21.1.tar.gz",
551+
},
552+
sha256 = "cd1219b15c7485bf6aaad904ed7e6e7d1bfc6e76dcc90d4c3d5e8c1ec8557886",
553+
},
533554
["0.21.0"] = {
534555
url = {
535556
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.21.0.tar.gz",

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

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

1010
[target.'cfg(os = "linux")'.dependencies.mcpplibs]
11-
openkal-musl = "0.21.0"
11+
openkal-musl = "0.21.1"
1212

1313
[target.'cfg(os = "linux")'.build]
1414
cxxflags = ["-DHAVE_OPENKAL_MUSL=1"]

‎tests/examples/openkal/mcpp.toml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ openkal = "0.16.0"
2424
openkal-linux = "0.17.0"
2525

2626
[target.'cfg(os = "macos")'.dependencies.mcpplibs]
27-
openkal-macos = "0.14.0"
27+
openkal-macos = "0.14.1"
2828

2929
[target.'cfg(windows)'.dependencies.mcpplibs]
3030
openkal-windows = "0.12.0"
3131

3232
[target.'cfg(all(os = "linux", env = "musl"))'.dependencies.mcpplibs]
33-
openkal-llvm-runtime = "0.15.5"
33+
openkal-llvm-runtime = "0.15.6"
3434

3535
[target.'cfg(arch = "wasm32")'.dependencies.mcpplibs]
3636
openkal-emscripten = "0.5.0"

0 commit comments

Comments
 (0)