diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 02334b2..0ade650 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -73,7 +73,7 @@ jobs: strategy: fail-fast: false matrix: - row: [x86_64-freebsd, aarch64-freebsd, x86_64-netbsd, x86_64-openbsd, x86_64-hurd, x86_64-haiku] + row: [x86_64-freebsd, aarch64-freebsd, x86_64-netbsd, aarch64-netbsd, x86_64-openbsd, aarch64-openbsd, x86_64-hurd, x86_64-haiku] runs-on: ubuntu-24.04 timeout-minutes: 60 defaults: diff --git a/README.md b/README.md index f102e05..ebf2366 100644 --- a/README.md +++ b/README.md @@ -16,9 +16,9 @@ mcpp run --target x86_64-netbsd # once the row's runner is enabled | `x86_64-freebsd` | `xim:x86_64-freebsd-sysroot@14.5` | the base's libc++ | FreeBSD 14.5 in QEMU (dirun) | | `aarch64-freebsd` | `xim:aarch64-freebsd-sysroot@14.5` | the base's libc++ | FreeBSD 14.5 in QEMU (dirun) | | `x86_64-netbsd` | `xim:x86_64-netbsd-sysroot@10.2` | libc++ from source (`llvm.libcxx`) | NetBSD 10.2 in QEMU (dirun) | -| `aarch64-netbsd` | `xim:aarch64-netbsd-sysroot@10.2` | libc++ from source (`llvm.libcxx`) | none | +| `aarch64-netbsd` | `xim:aarch64-netbsd-sysroot@10.2` | libc++ from source (`llvm.libcxx`) | NetBSD 10.2 in QEMU (dirun) | | `x86_64-openbsd` | `xim:x86_64-openbsd-sysroot@8.0` | the base's libc++ | OpenBSD 8.0 in QEMU (dirun) | -| `aarch64-openbsd` | `xim:aarch64-openbsd-sysroot@8.0` | the base's libc++ | none | +| `aarch64-openbsd` | `xim:aarch64-openbsd-sysroot@8.0` | the base's libc++ | OpenBSD 8.0 in QEMU (dirun) | | `x86_64-hurd` | `xim:x86_64-hurd-sysroot@20260314` | the base's libstdc++ | Debian GNU/Hurd in QEMU (dirun) | | `x86_64-haiku` | `xim:x86_64-haiku-sysroot@hrev60431` | the base's libstdc++ | Haiku hrev60431 in QEMU (dirun) | diff --git a/docs/adding-a-system.md b/docs/adding-a-system.md index c6305b1..21149a5 100644 --- a/docs/adding-a-system.md +++ b/docs/adding-a-system.md @@ -11,8 +11,8 @@ document states the procedure and what each part must hold. | System | Rows | Base | Runner | State | |---|---|---|---|---| | FreeBSD 14.5 | `x86_64-freebsd`, `aarch64-freebsd` (mcpp's built-in rows) | the release's base set | both | `preview` | -| NetBSD 10.2 | `x86_64-netbsd`, `aarch64-netbsd` | the release's base and comp sets; the C++ layer is libc++ from source (`llvm.libcxx`) | x86_64 | `preview` | -| OpenBSD 8.0 | `x86_64-openbsd`, `aarch64-openbsd` | the release's base and comp sets | x86_64 | `preview` | +| NetBSD 10.2 | `x86_64-netbsd`, `aarch64-netbsd` | the release's base and comp sets; the C++ layer is libc++ from source (`llvm.libcxx`) | both | `preview` | +| OpenBSD 8.0 | `x86_64-openbsd`, `aarch64-openbsd` | the release's base and comp sets | both | `preview` | | GNU/Hurd (Debian, hurd-amd64) | `x86_64-hurd` | the packages of Debian's pre-installed image of 2026-03-14, from the archive's snapshot of that day; the C++ layer is GCC 15's libstdc++ | x86_64 | `preview` | | Haiku hrev60431 | `x86_64-haiku` | the revision's system and development packages, with GCC's run-time from HaikuPorts; the C++ layer is GCC's libstdc++ | x86_64 | `preview` | | illumos (OmniOS r151054) | none | assembled, not published | measured | not included: see below | diff --git a/mcpp.toml b/mcpp.toml index c4f623e..d8e86ba 100644 --- a/mcpp.toml +++ b/mcpp.toml @@ -1,7 +1,7 @@ [package] namespace = "mcpp" name = "platforms" -version = "0.2.0" +version = "0.2.1" description = "Rows for systems the engine does not carry: their definitions, bases and runners" license = "Apache-2.0" repo = "https://github.com/mcpp-community/mcpp-platforms" @@ -98,6 +98,12 @@ serves = ["aarch64-netbsd"] sysroot = "xim:aarch64-netbsd-sysroot@10.2" layers = { "c++-abi" = "llvm.libcxx@22.1.8.3" } hosted = true +# NetBSD 10.2's arm64 live image, booted once (xim's aarch64-netbsd-disk-image), in QEMU's +# `virt' machine with the EDK II firmware for AArch64, translated on an x86_64 host. +runner = { cmd = ["dirun", "--profile", "{pkg:aarch64-netbsd-disk-image}/dirun.toml", "--var", "firmware={pkg:ovmf}/share/edk2/edk2-aarch64-code.fd", + "--emulator", "{pkg:qemu-system}/bin/qemu-system-aarch64", "--", "{}"], + host = "any", hosts = ["linux-x86_64"], + requires = ["xim:dirun@0.8.0", "xim:aarch64-netbsd-disk-image@10.2", "xim:ovmf@9.2.4-4", "xim:qemu-system@9.2.4"], enabled = false } # ── OpenBSD ───────────────────────────────────────────────────────────────── # OpenBSD 7.4 and later accept system calls only from libc (pinsyscalls): a @@ -139,6 +145,12 @@ runner = { cmd = ["dirun", "--profile", "{pkg:openbsd-disk-image}/dirun.toml", serves = ["aarch64-openbsd"] sysroot = "xim:aarch64-openbsd-sysroot@8.0" hosted = true +# OpenBSD 8.0 for arm64 installed from the release's media (xim's aarch64-openbsd-disk-image), +# in QEMU's `virt' machine with the EDK II firmware for AArch64 and a Cortex-A72. +runner = { cmd = ["dirun", "--profile", "{pkg:aarch64-openbsd-disk-image}/dirun.toml", "--var", "firmware={pkg:ovmf}/share/edk2/edk2-aarch64-code.fd", + "--emulator", "{pkg:qemu-system}/bin/qemu-system-aarch64", "--", "{}"], + host = "any", hosts = ["linux-x86_64"], + requires = ["xim:dirun@0.8.0", "xim:aarch64-openbsd-disk-image@8.0", "xim:ovmf@9.2.4-4", "xim:qemu-system@9.2.4"], enabled = false } # ── GNU/Hurd ──────────────────────────────────────────────────────────────── # Debian GNU/Hurd's amd64 port: glibc on the Hurd, with GCC's run-time and