Skip to content

Commit 60fca19

Browse files
authored
feat: the three board and freestanding packages adopt [xlings.workspace] (#332)
riscv-virt-rt 0.6.1, aarch64-virt-rt 0.1.1, std-freestanding 0.5.2. mcpp 2026.9.3.2 makes [xlings.workspace] the table an author writes, and a namespaced package is written "<namespace>:<name>" = "<version>". Each package now declares its environment that way and keeps the older [xlings] deps line beside it: an engine that knows the table collapses the two, and one that predates it reads deps and behaves as before. Dropping the older line would be a silent regression there — such an engine parses the table and provisions nothing from it, so these packages' own build.mcpp would find no emulator and configure no runner. Every sha256 was computed from the GitHub tarball and then verified against the CN mirror by re-downloading it, so the two hosts are known to serve the same bytes rather than assumed to.
1 parent fb4b324 commit 60fca19

3 files changed

Lines changed: 63 additions & 0 deletions

File tree

pkgs/a/aarch64-virt-rt.lua

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,13 @@ package = {
5656
xpm = {
5757
linux = {
5858
deps = { "xim:qemu-arm@9.2.4-1" },
59+
["0.1.1"] = {
60+
url = {
61+
GLOBAL = "https://github.com/mcpplibs/aarch64-virt-rt/archive/refs/tags/0.1.1.tar.gz",
62+
CN = "https://gitcode.com/mcpp-res/aarch64-virt-rt/releases/download/0.1.1/aarch64-virt-rt-0.1.1.tar.gz",
63+
},
64+
sha256 = "da297279ba4f5679169a0e36433cab329af7dff2cfacfe2067c7dea1936742a1",
65+
},
5966
["0.1.0"] = {
6067
url = {
6168
GLOBAL = "https://github.com/mcpplibs/aarch64-virt-rt/archive/refs/tags/0.1.0.tar.gz",
@@ -66,6 +73,13 @@ package = {
6673
},
6774
macosx = {
6875
deps = { "xim:qemu-arm@9.2.4-1" },
76+
["0.1.1"] = {
77+
url = {
78+
GLOBAL = "https://github.com/mcpplibs/aarch64-virt-rt/archive/refs/tags/0.1.1.tar.gz",
79+
CN = "https://gitcode.com/mcpp-res/aarch64-virt-rt/releases/download/0.1.1/aarch64-virt-rt-0.1.1.tar.gz",
80+
},
81+
sha256 = "da297279ba4f5679169a0e36433cab329af7dff2cfacfe2067c7dea1936742a1",
82+
},
6983
["0.1.0"] = {
7084
url = {
7185
GLOBAL = "https://github.com/mcpplibs/aarch64-virt-rt/archive/refs/tags/0.1.0.tar.gz",
@@ -76,6 +90,13 @@ package = {
7690
},
7791
windows = {
7892
deps = { "xim:qemu-arm@9.2.4-1" },
93+
["0.1.1"] = {
94+
url = {
95+
GLOBAL = "https://github.com/mcpplibs/aarch64-virt-rt/archive/refs/tags/0.1.1.tar.gz",
96+
CN = "https://gitcode.com/mcpp-res/aarch64-virt-rt/releases/download/0.1.1/aarch64-virt-rt-0.1.1.tar.gz",
97+
},
98+
sha256 = "da297279ba4f5679169a0e36433cab329af7dff2cfacfe2067c7dea1936742a1",
99+
},
79100
["0.1.0"] = {
80101
url = {
81102
GLOBAL = "https://github.com/mcpplibs/aarch64-virt-rt/archive/refs/tags/0.1.0.tar.gz",

pkgs/r/riscv-virt-rt.lua

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,13 @@ package = {
6262
-- published is a version someone may have pinned.
6363
xpm = {
6464
linux = {
65+
["0.6.1"] = {
66+
url = {
67+
GLOBAL = "https://github.com/mcpplibs/riscv-virt-rt/archive/refs/tags/0.6.1.tar.gz",
68+
CN = "https://gitcode.com/mcpp-res/riscv-virt-rt/releases/download/0.6.1/riscv-virt-rt-0.6.1.tar.gz",
69+
},
70+
sha256 = "6703365a65bcd0efa27c1f113a93b8517ace74831bf7f541690b8e41d88f2aec",
71+
},
6572
["0.6.0"] = {
6673
url = {
6774
GLOBAL = "https://github.com/mcpplibs/riscv-virt-rt/archive/refs/tags/0.6.0.tar.gz",
@@ -121,6 +128,13 @@ package = {
121128
},
122129
},
123130
macosx = {
131+
["0.6.1"] = {
132+
url = {
133+
GLOBAL = "https://github.com/mcpplibs/riscv-virt-rt/archive/refs/tags/0.6.1.tar.gz",
134+
CN = "https://gitcode.com/mcpp-res/riscv-virt-rt/releases/download/0.6.1/riscv-virt-rt-0.6.1.tar.gz",
135+
},
136+
sha256 = "6703365a65bcd0efa27c1f113a93b8517ace74831bf7f541690b8e41d88f2aec",
137+
},
124138
["0.6.0"] = {
125139
url = {
126140
GLOBAL = "https://github.com/mcpplibs/riscv-virt-rt/archive/refs/tags/0.6.0.tar.gz",
@@ -180,6 +194,13 @@ package = {
180194
},
181195
},
182196
windows = {
197+
["0.6.1"] = {
198+
url = {
199+
GLOBAL = "https://github.com/mcpplibs/riscv-virt-rt/archive/refs/tags/0.6.1.tar.gz",
200+
CN = "https://gitcode.com/mcpp-res/riscv-virt-rt/releases/download/0.6.1/riscv-virt-rt-0.6.1.tar.gz",
201+
},
202+
sha256 = "6703365a65bcd0efa27c1f113a93b8517ace74831bf7f541690b8e41d88f2aec",
203+
},
183204
["0.6.0"] = {
184205
url = {
185206
GLOBAL = "https://github.com/mcpplibs/riscv-virt-rt/archive/refs/tags/0.6.0.tar.gz",

pkgs/s/std-freestanding.lua

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

4545
xpm = {
4646
linux = {
47+
["0.5.2"] = {
48+
url = {
49+
GLOBAL = "https://github.com/mcpplibs/std-freestanding/archive/refs/tags/0.5.2.tar.gz",
50+
CN = "https://gitcode.com/mcpp-res/std-freestanding/releases/download/0.5.2/std-freestanding-0.5.2.tar.gz",
51+
},
52+
sha256 = "c919229d97bd06ec1ba67fd92e0570b33addb239d517839ab39aec1bddaaf7f2",
53+
},
4754
["0.5.1"] = {
4855
url = {
4956
GLOBAL = "https://github.com/mcpplibs/std-freestanding/archive/refs/tags/0.5.1.tar.gz",
@@ -95,6 +102,13 @@ package = {
95102
},
96103
},
97104
macosx = {
105+
["0.5.2"] = {
106+
url = {
107+
GLOBAL = "https://github.com/mcpplibs/std-freestanding/archive/refs/tags/0.5.2.tar.gz",
108+
CN = "https://gitcode.com/mcpp-res/std-freestanding/releases/download/0.5.2/std-freestanding-0.5.2.tar.gz",
109+
},
110+
sha256 = "c919229d97bd06ec1ba67fd92e0570b33addb239d517839ab39aec1bddaaf7f2",
111+
},
98112
["0.5.1"] = {
99113
url = {
100114
GLOBAL = "https://github.com/mcpplibs/std-freestanding/archive/refs/tags/0.5.1.tar.gz",
@@ -146,6 +160,13 @@ package = {
146160
},
147161
},
148162
windows = {
163+
["0.5.2"] = {
164+
url = {
165+
GLOBAL = "https://github.com/mcpplibs/std-freestanding/archive/refs/tags/0.5.2.tar.gz",
166+
CN = "https://gitcode.com/mcpp-res/std-freestanding/releases/download/0.5.2/std-freestanding-0.5.2.tar.gz",
167+
},
168+
sha256 = "c919229d97bd06ec1ba67fd92e0570b33addb239d517839ab39aec1bddaaf7f2",
169+
},
149170
["0.5.1"] = {
150171
url = {
151172
GLOBAL = "https://github.com/mcpplibs/std-freestanding/archive/refs/tags/0.5.1.tar.gz",

0 commit comments

Comments
 (0)