Skip to content

Commit 3ee1b1b

Browse files
openkal-platform 0.17.1: the platform of the ok-image targets (mcpp SPEC-013) (#600)
Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
1 parent 9d3455d commit 3ee1b1b

2 files changed

Lines changed: 63 additions & 0 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@
3838
openkal-macos 0.15.1 与 openkal-windows 0.13.3,以 `KAL_SPAWN_ONE_STRING` 启动命令解释器的 image 在 okrun
3939
下得到该标志的语义;三个包仍为同一版本、同一归档。openkal-musl 随 openkal-windows 0.13.3 与 openkal-ld 0.1.1
4040
移动,openkal-llvm-runtime 随 openkal-musl 移动。测试成员 `openkal`、`openkal-musl`、`openkal-tools` 随之移动。
41+
- **openkal-platform 0.17.1(新包)。** ok 映像目标 `x86_64-openkal`、`aarch64-openkal` 的平台包(mcpp SPEC-013):
42+
工具链 llvm@23.1.3,C 库 openkal-musl 0.22.3,C++ 与编译器运行时 openkal-llvm-runtime 0.16.3,工具 okld、okrun
43+
(openkal-tools 0.1.1),编译与链接约定、封装、命名、运行器、载体,宿主组合与 openkal 0.17.1 的版本组。
44+
mcpp 2026.10.27.1 的目标表为这两个目标选用它,工程不再声明运行时与工具。GLOBAL 为 GitHub 标签归档,
45+
CN 为 GitCode `mcpp-res` 镜像,sha256 两处一致。
4146
- **openkal 0.17.2 这一轮:openkal-ld、openkal-run、openkal-tools 0.1.2,新包 openkal-bind 0.1.2,
4247
openkal-musl 0.22.4,openkal-llvm-runtime 0.16.4。** openkal-image 0.1.2 定义 okb v1(`docs/okb.md`):
4348
一个 ZIP 归档,映像以 stored 存放、数据起点按 64 KiB 对齐,`okb.json` 给出各架构的目录、入口与每个成员的

‎pkgs/o/openkal-platform.lua‎

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
-- openkal-platform --- the platform of the ok-image targets (mcpp SPEC-013).
2+
--
3+
-- A data package mcpp reads: the configuration of `x86_64-openkal` and
4+
-- `aarch64-openkal` -- their toolchain, C library, C++ and compiler run-time,
5+
-- tools, compile and link conventions, seal, runner and carrier -- and the
6+
-- version group of the openkal family. mcpp's target table selects it for
7+
-- both targets, so a project for an ok image declares nothing but its
8+
-- sources; a project selects another release with
9+
-- [target.'cfg(os = "openkal")'] platform = "openkal-platform@<version>"
10+
-- Read by mcpp 2026.10.27.1 and later (the package states the floor).
11+
package = {
12+
spec = "1",
13+
namespace = "mcpplibs",
14+
name = "openkal-platform",
15+
description = "The platform of ok images (<arch>-openkal): toolchain, C library and C++ run-time, tools, compile and link conventions, seal, runner and carrier, and the openkal family's version group, as one versioned statement mcpp reads",
16+
licenses = {"Apache-2.0"},
17+
repo = "https://github.com/mcpplibs/openkal-platform",
18+
type = "package",
19+
20+
extensions = {
21+
autoupdate = {
22+
tag = "${version}",
23+
url = "https://github.com/mcpplibs/openkal-platform/archive/refs/tags/${tag}.tar.gz",
24+
},
25+
},
26+
27+
xpm = {
28+
linux = {
29+
["0.17.1"] = {
30+
url = {
31+
GLOBAL = "https://github.com/mcpplibs/openkal-platform/archive/refs/tags/0.17.1.tar.gz",
32+
CN = "https://gitcode.com/mcpp-res/openkal-platform/releases/download/0.17.1/openkal-platform-0.17.1.tar.gz",
33+
},
34+
sha256 = "db006660fff2b34ff39dfa570774afac15b392e30ebcadd34675f88ea6a60b50",
35+
},
36+
},
37+
macosx = {
38+
["0.17.1"] = {
39+
url = {
40+
GLOBAL = "https://github.com/mcpplibs/openkal-platform/archive/refs/tags/0.17.1.tar.gz",
41+
CN = "https://gitcode.com/mcpp-res/openkal-platform/releases/download/0.17.1/openkal-platform-0.17.1.tar.gz",
42+
},
43+
sha256 = "db006660fff2b34ff39dfa570774afac15b392e30ebcadd34675f88ea6a60b50",
44+
},
45+
},
46+
windows = {
47+
["0.17.1"] = {
48+
url = {
49+
GLOBAL = "https://github.com/mcpplibs/openkal-platform/archive/refs/tags/0.17.1.tar.gz",
50+
CN = "https://gitcode.com/mcpp-res/openkal-platform/releases/download/0.17.1/openkal-platform-0.17.1.tar.gz",
51+
},
52+
sha256 = "db006660fff2b34ff39dfa570774afac15b392e30ebcadd34675f88ea6a60b50",
53+
},
54+
},
55+
},
56+
57+
mcpp = "*/mcpp.toml",
58+
}

0 commit comments

Comments
 (0)