Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 18 additions & 3 deletions pkgs/a/aarch64-virt-rt.lua
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,24 @@
-- `ldflag`, not as a directive one board needs and the other cannot express.
-- The board-package interface is therefore complete, and "board package" and
-- "C library provider" are separable roles.
-- THE EMULATOR IS NO LONGER AN INSTALL-TIME EDGE, BECAUSE THE PACKAGE NOW SAYS
-- WHEN IT IS NEEDED.
--
-- `deps` here is materialised when the PACKAGE is installed, so it fetched the
-- emulator for anyone who added this board — including a CI job that compiles
-- firmware and never runs it. From 0.7.1 the package declares the emulator in
-- `[xlings.workspace]` with `when = "run"`, which provisions it for the verbs
-- that execute an artefact and no others.
--
-- MEASURED, AND ONLY A SANDBOX COULD MEASURE IT. Both board repositories assert
-- the tier in their own CI and both pass, because a repository testing itself
-- builds from its working tree where no package install happens. In a fresh
-- sandbox the same build downloaded 33 MB of emulator anyway — through this
-- line. The tier was correct and bought nothing.
--
-- Older versions keep working: their `[xlings.workspace]` entry is untiered,
-- which means `Always`, so the emulator arrives when they build rather than
-- when they install.
package = {
spec = "1",
namespace = "mcpplibs",
Expand All @@ -55,7 +73,6 @@ package = {

xpm = {
linux = {
deps = { "xim:qemu-arm@9.2.4-1" },
["0.2.1"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/aarch64-virt-rt/archive/refs/tags/0.2.1.tar.gz",
Expand Down Expand Up @@ -86,7 +103,6 @@ package = {
},
},
macosx = {
deps = { "xim:qemu-arm@9.2.4-1" },
["0.2.1"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/aarch64-virt-rt/archive/refs/tags/0.2.1.tar.gz",
Expand Down Expand Up @@ -117,7 +133,6 @@ package = {
},
},
windows = {
deps = { "xim:qemu-arm@9.2.4-1" },
["0.2.1"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/aarch64-virt-rt/archive/refs/tags/0.2.1.tar.gz",
Expand Down
24 changes: 21 additions & 3 deletions pkgs/r/riscv-virt-rt.lua
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,24 @@
-- mcpp 2026.8.20.2+) and stops treating an absent C library as an error, while
-- still supplying the emulator. 0.4.0 stays listed; its default template is
-- unaffected.
-- THE EMULATOR IS NO LONGER AN INSTALL-TIME EDGE, BECAUSE THE PACKAGE NOW SAYS
-- WHEN IT IS NEEDED.
--
-- `deps` here is materialised when the PACKAGE is installed, so it fetched the
-- emulator for anyone who added this board — including a CI job that compiles
-- firmware and never runs it. From 0.7.1 the package declares the emulator in
-- `[xlings.workspace]` with `when = "run"`, which provisions it for the verbs
-- that execute an artefact and no others.
--
-- MEASURED, AND ONLY A SANDBOX COULD MEASURE IT. Both board repositories assert
-- the tier in their own CI and both pass, because a repository testing itself
-- builds from its working tree where no package install happens. In a fresh
-- sandbox the same build downloaded 33 MB of emulator anyway — through this
-- line. The tier was correct and bought nothing.
--
-- Older versions keep working: their `[xlings.workspace]` entry is untiered,
-- which means `Always`, so the emulator arrives when they build rather than
-- when they install.
package = {
spec = "1",
namespace = "mcpplibs",
Expand Down Expand Up @@ -90,7 +108,7 @@ package = {
},
sha256 = "a0c59deff6b40061637f452c8eafb17cfcb1a7a23f8da4a79050db352e27b064",
},
deps = { "xim:picolibc-riscv@1.8.12", "xim:qemu-riscv@9.2.4-1" },
deps = { "xim:picolibc-riscv@1.8.12" },
["0.1.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/riscv-virt-rt/archive/refs/tags/0.1.0.tar.gz",
Expand Down Expand Up @@ -170,7 +188,7 @@ package = {
},
sha256 = "a0c59deff6b40061637f452c8eafb17cfcb1a7a23f8da4a79050db352e27b064",
},
deps = { "xim:picolibc-riscv@1.8.12", "xim:qemu-riscv@9.2.4-1" },
deps = { "xim:picolibc-riscv@1.8.12" },
["0.1.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/riscv-virt-rt/archive/refs/tags/0.1.0.tar.gz",
Expand Down Expand Up @@ -250,7 +268,7 @@ package = {
},
sha256 = "a0c59deff6b40061637f452c8eafb17cfcb1a7a23f8da4a79050db352e27b064",
},
deps = { "xim:picolibc-riscv@1.8.12", "xim:qemu-riscv@9.2.4-1" },
deps = { "xim:picolibc-riscv@1.8.12" },
["0.1.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/riscv-virt-rt/archive/refs/tags/0.1.0.tar.gz",
Expand Down
Loading