From 6ec848c6cd7a9ca8a16b0c7409dca6e02f17b324 Mon Sep 17 00:00:00 2001 From: sunrisepeak Date: Thu, 3 Sep 2026 14:15:10 +0800 Subject: [PATCH] feat: the three board and freestanding packages adopt [xlings.workspace] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 ":" = "". 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. --- pkgs/a/aarch64-virt-rt.lua | 21 +++++++++++++++++++++ pkgs/r/riscv-virt-rt.lua | 21 +++++++++++++++++++++ pkgs/s/std-freestanding.lua | 21 +++++++++++++++++++++ 3 files changed, 63 insertions(+) diff --git a/pkgs/a/aarch64-virt-rt.lua b/pkgs/a/aarch64-virt-rt.lua index b786fea1..5ae017fa 100644 --- a/pkgs/a/aarch64-virt-rt.lua +++ b/pkgs/a/aarch64-virt-rt.lua @@ -56,6 +56,13 @@ package = { xpm = { linux = { deps = { "xim:qemu-arm@9.2.4-1" }, + ["0.1.1"] = { + url = { + GLOBAL = "https://github.com/mcpplibs/aarch64-virt-rt/archive/refs/tags/0.1.1.tar.gz", + CN = "https://gitcode.com/mcpp-res/aarch64-virt-rt/releases/download/0.1.1/aarch64-virt-rt-0.1.1.tar.gz", + }, + sha256 = "da297279ba4f5679169a0e36433cab329af7dff2cfacfe2067c7dea1936742a1", + }, ["0.1.0"] = { url = { GLOBAL = "https://github.com/mcpplibs/aarch64-virt-rt/archive/refs/tags/0.1.0.tar.gz", @@ -66,6 +73,13 @@ package = { }, macosx = { deps = { "xim:qemu-arm@9.2.4-1" }, + ["0.1.1"] = { + url = { + GLOBAL = "https://github.com/mcpplibs/aarch64-virt-rt/archive/refs/tags/0.1.1.tar.gz", + CN = "https://gitcode.com/mcpp-res/aarch64-virt-rt/releases/download/0.1.1/aarch64-virt-rt-0.1.1.tar.gz", + }, + sha256 = "da297279ba4f5679169a0e36433cab329af7dff2cfacfe2067c7dea1936742a1", + }, ["0.1.0"] = { url = { GLOBAL = "https://github.com/mcpplibs/aarch64-virt-rt/archive/refs/tags/0.1.0.tar.gz", @@ -76,6 +90,13 @@ package = { }, windows = { deps = { "xim:qemu-arm@9.2.4-1" }, + ["0.1.1"] = { + url = { + GLOBAL = "https://github.com/mcpplibs/aarch64-virt-rt/archive/refs/tags/0.1.1.tar.gz", + CN = "https://gitcode.com/mcpp-res/aarch64-virt-rt/releases/download/0.1.1/aarch64-virt-rt-0.1.1.tar.gz", + }, + sha256 = "da297279ba4f5679169a0e36433cab329af7dff2cfacfe2067c7dea1936742a1", + }, ["0.1.0"] = { url = { GLOBAL = "https://github.com/mcpplibs/aarch64-virt-rt/archive/refs/tags/0.1.0.tar.gz", diff --git a/pkgs/r/riscv-virt-rt.lua b/pkgs/r/riscv-virt-rt.lua index e32985ae..3be7f0a1 100644 --- a/pkgs/r/riscv-virt-rt.lua +++ b/pkgs/r/riscv-virt-rt.lua @@ -62,6 +62,13 @@ package = { -- published is a version someone may have pinned. xpm = { linux = { + ["0.6.1"] = { + url = { + GLOBAL = "https://github.com/mcpplibs/riscv-virt-rt/archive/refs/tags/0.6.1.tar.gz", + CN = "https://gitcode.com/mcpp-res/riscv-virt-rt/releases/download/0.6.1/riscv-virt-rt-0.6.1.tar.gz", + }, + sha256 = "6703365a65bcd0efa27c1f113a93b8517ace74831bf7f541690b8e41d88f2aec", + }, ["0.6.0"] = { url = { GLOBAL = "https://github.com/mcpplibs/riscv-virt-rt/archive/refs/tags/0.6.0.tar.gz", @@ -121,6 +128,13 @@ package = { }, }, macosx = { + ["0.6.1"] = { + url = { + GLOBAL = "https://github.com/mcpplibs/riscv-virt-rt/archive/refs/tags/0.6.1.tar.gz", + CN = "https://gitcode.com/mcpp-res/riscv-virt-rt/releases/download/0.6.1/riscv-virt-rt-0.6.1.tar.gz", + }, + sha256 = "6703365a65bcd0efa27c1f113a93b8517ace74831bf7f541690b8e41d88f2aec", + }, ["0.6.0"] = { url = { GLOBAL = "https://github.com/mcpplibs/riscv-virt-rt/archive/refs/tags/0.6.0.tar.gz", @@ -180,6 +194,13 @@ package = { }, }, windows = { + ["0.6.1"] = { + url = { + GLOBAL = "https://github.com/mcpplibs/riscv-virt-rt/archive/refs/tags/0.6.1.tar.gz", + CN = "https://gitcode.com/mcpp-res/riscv-virt-rt/releases/download/0.6.1/riscv-virt-rt-0.6.1.tar.gz", + }, + sha256 = "6703365a65bcd0efa27c1f113a93b8517ace74831bf7f541690b8e41d88f2aec", + }, ["0.6.0"] = { url = { GLOBAL = "https://github.com/mcpplibs/riscv-virt-rt/archive/refs/tags/0.6.0.tar.gz", diff --git a/pkgs/s/std-freestanding.lua b/pkgs/s/std-freestanding.lua index a96b54ff..4c5aa93e 100644 --- a/pkgs/s/std-freestanding.lua +++ b/pkgs/s/std-freestanding.lua @@ -44,6 +44,13 @@ package = { xpm = { linux = { + ["0.5.2"] = { + url = { + GLOBAL = "https://github.com/mcpplibs/std-freestanding/archive/refs/tags/0.5.2.tar.gz", + CN = "https://gitcode.com/mcpp-res/std-freestanding/releases/download/0.5.2/std-freestanding-0.5.2.tar.gz", + }, + sha256 = "c919229d97bd06ec1ba67fd92e0570b33addb239d517839ab39aec1bddaaf7f2", + }, ["0.5.1"] = { url = { GLOBAL = "https://github.com/mcpplibs/std-freestanding/archive/refs/tags/0.5.1.tar.gz", @@ -95,6 +102,13 @@ package = { }, }, macosx = { + ["0.5.2"] = { + url = { + GLOBAL = "https://github.com/mcpplibs/std-freestanding/archive/refs/tags/0.5.2.tar.gz", + CN = "https://gitcode.com/mcpp-res/std-freestanding/releases/download/0.5.2/std-freestanding-0.5.2.tar.gz", + }, + sha256 = "c919229d97bd06ec1ba67fd92e0570b33addb239d517839ab39aec1bddaaf7f2", + }, ["0.5.1"] = { url = { GLOBAL = "https://github.com/mcpplibs/std-freestanding/archive/refs/tags/0.5.1.tar.gz", @@ -146,6 +160,13 @@ package = { }, }, windows = { + ["0.5.2"] = { + url = { + GLOBAL = "https://github.com/mcpplibs/std-freestanding/archive/refs/tags/0.5.2.tar.gz", + CN = "https://gitcode.com/mcpp-res/std-freestanding/releases/download/0.5.2/std-freestanding-0.5.2.tar.gz", + }, + sha256 = "c919229d97bd06ec1ba67fd92e0570b33addb239d517839ab39aec1bddaaf7f2", + }, ["0.5.1"] = { url = { GLOBAL = "https://github.com/mcpplibs/std-freestanding/archive/refs/tags/0.5.1.tar.gz",