Skip to content

Commit 766cc55

Browse files
authored
mcpp.platforms 0.2.1: aarch64-netbsd and aarch64-openbsd run, in their systems' arm64 images (#842)
1 parent 97379d5 commit 766cc55

3 files changed

Lines changed: 36 additions & 4 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+
- **mcpp.platforms 0.2.1。** `aarch64-netbsd` 与 `aarch64-openbsd` 两行获得运行器(此前只构建):dirun 0.8.0 在
13+
qemu-system-aarch64 的 `virt` 机器中、以 xim `ovmf` 的 AArch64 EDK II 固件启动 xim 的 `aarch64-netbsd-disk-image@10.2`
14+
(NetBSD 10.2 的 arm64 live 映像,已首次启动一次)与 `aarch64-openbsd-disk-image@8.0`(由发行版 arm64 介质自动安装,
15+
Cortex-A72),在 x86_64 主机上由 QEMU 翻译运行。各行不变;该包 CI 在两行上运行检查程序(`import std`、异常、参数、状态 7)。
16+
1217
- **mcpp.plugins 0.26.1。** `plugins-core` 与 `plugins-progress` 经 mcpplibs.os 0.4.5 访问系统,它接受 openkal 0.24 至 0.26,
1318
openkal 为 0.26 的图(openkal-platform 0.31)因此可以包含插件;0.4.4 只接受 0.24 与 0.25,openkal-platform 0.31 的构建程序
1419
因版本不可调和被拒。成员不变,包的引擎下界仍为 mcpp 2026.10.30.1。

‎pkgs/m/mcpp.platforms.lua‎

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@
2323
-- (mcpp-community/mcpp-platforms#5). Both build on Linux hosts, Hurd also on macOS;
2424
-- not on Windows (mcpp-community/mcpp#965), and Haiku not on a case-insensitive
2525
-- file system (its string.h and String.h).
26+
--
27+
-- 0.2.1 (floor unchanged): aarch64-netbsd and aarch64-openbsd gain a runner, as
28+
-- aarch64-freebsd has one: dirun boots xim's aarch64-netbsd-disk-image@10.2 and
29+
-- aarch64-openbsd-disk-image@8.0 in qemu-system-aarch64's virt machine with the
30+
-- EDK II firmware of xim's ovmf (translated on an x86_64 host); no row changes
31+
-- (mcpp-community/mcpp-platforms#6).
2632
package = {
2733
spec = "1",
2834
namespace = "mcpp",
@@ -47,6 +53,13 @@ package = {
4753
-- One archive for every host: the package is a statement, not a program.
4854
xpm = {
4955
linux = {
56+
["0.2.1"] = {
57+
url = {
58+
GLOBAL = "https://github.com/mcpp-community/mcpp-platforms/archive/refs/tags/0.2.1.tar.gz",
59+
CN = "https://gitcode.com/mcpp-res/mcpp-platforms/releases/download/0.2.1/mcpp-platforms-0.2.1.tar.gz",
60+
},
61+
sha256 = "5e0116a157a8f24e38021fdadab5f940d43792f96759304a788b065c1417eb39",
62+
},
5063
["0.2.0"] = {
5164
url = {
5265
GLOBAL = "https://github.com/mcpp-community/mcpp-platforms/archive/refs/tags/0.2.0.tar.gz",
@@ -61,9 +74,16 @@ package = {
6174
},
6275
sha256 = "bd09836f9952af28ede3f9c4568aafd999ace803f2cad21fed0aa4ca495893f3",
6376
},
64-
["latest"] = { ref = "0.2.0" },
77+
["latest"] = { ref = "0.2.1" },
6578
},
6679
macosx = {
80+
["0.2.1"] = {
81+
url = {
82+
GLOBAL = "https://github.com/mcpp-community/mcpp-platforms/archive/refs/tags/0.2.1.tar.gz",
83+
CN = "https://gitcode.com/mcpp-res/mcpp-platforms/releases/download/0.2.1/mcpp-platforms-0.2.1.tar.gz",
84+
},
85+
sha256 = "5e0116a157a8f24e38021fdadab5f940d43792f96759304a788b065c1417eb39",
86+
},
6787
["0.2.0"] = {
6888
url = {
6989
GLOBAL = "https://github.com/mcpp-community/mcpp-platforms/archive/refs/tags/0.2.0.tar.gz",
@@ -78,9 +98,16 @@ package = {
7898
},
7999
sha256 = "bd09836f9952af28ede3f9c4568aafd999ace803f2cad21fed0aa4ca495893f3",
80100
},
81-
["latest"] = { ref = "0.2.0" },
101+
["latest"] = { ref = "0.2.1" },
82102
},
83103
windows = {
104+
["0.2.1"] = {
105+
url = {
106+
GLOBAL = "https://github.com/mcpp-community/mcpp-platforms/archive/refs/tags/0.2.1.tar.gz",
107+
CN = "https://gitcode.com/mcpp-res/mcpp-platforms/releases/download/0.2.1/mcpp-platforms-0.2.1.tar.gz",
108+
},
109+
sha256 = "5e0116a157a8f24e38021fdadab5f940d43792f96759304a788b065c1417eb39",
110+
},
84111
["0.2.0"] = {
85112
url = {
86113
GLOBAL = "https://github.com/mcpp-community/mcpp-platforms/archive/refs/tags/0.2.0.tar.gz",
@@ -95,7 +122,7 @@ package = {
95122
},
96123
sha256 = "bd09836f9952af28ede3f9c4568aafd999ace803f2cad21fed0aa4ca495893f3",
97124
},
98-
["latest"] = { ref = "0.2.0" },
125+
["latest"] = { ref = "0.2.1" },
99126
},
100127
},
101128

‎tests/examples/mcpp-platforms/mcpp.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ name = "mcpp-platforms-tests"
1010
version = "0.1.0"
1111

1212
[target.'cfg(any(os = "freebsd", os = "netbsd", os = "openbsd", os = "hurd", os = "haiku"))']
13-
platform = "mcpp.platforms@0.2.0"
13+
platform = "mcpp.platforms@0.2.1"
1414

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

0 commit comments

Comments
 (0)