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: 21 additions & 0 deletions pkgs/o/openkal-freebsd.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ package = {

xpm = {
linux = {
["0.1.2"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-freebsd/archive/refs/tags/0.1.2.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-freebsd/releases/download/0.1.2/openkal-freebsd-0.1.2.tar.gz",
},
sha256 = "4ea0ff9450a8d3935db9b24e8701f1f5a0ad00a1d42ca05214e8c3f9b896170e",
},
["0.1.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-freebsd/archive/refs/tags/0.1.0.tar.gz",
Expand All @@ -31,6 +38,13 @@ package = {
},
},
macosx = {
["0.1.2"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-freebsd/archive/refs/tags/0.1.2.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-freebsd/releases/download/0.1.2/openkal-freebsd-0.1.2.tar.gz",
},
sha256 = "4ea0ff9450a8d3935db9b24e8701f1f5a0ad00a1d42ca05214e8c3f9b896170e",
},
["0.1.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-freebsd/archive/refs/tags/0.1.0.tar.gz",
Expand All @@ -40,6 +54,13 @@ package = {
},
},
windows = {
["0.1.2"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-freebsd/archive/refs/tags/0.1.2.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-freebsd/releases/download/0.1.2/openkal-freebsd-0.1.2.tar.gz",
},
sha256 = "4ea0ff9450a8d3935db9b24e8701f1f5a0ad00a1d42ca05214e8c3f9b896170e",
},
["0.1.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-freebsd/archive/refs/tags/0.1.0.tar.gz",
Expand Down
21 changes: 21 additions & 0 deletions pkgs/o/openkal-llvm-runtime.lua
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,13 @@ package = {

xpm = {
linux = {
["0.20.2"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.20.2.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-llvm-runtime/releases/download/0.20.2/openkal-llvm-runtime-0.20.2.tar.gz",
},
sha256 = "c0bbf3ca41288b02e0069aed4124ae62e62edea369f9b30c6ad562c159afd672",
},
["0.20.1"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.20.1.tar.gz",
Expand Down Expand Up @@ -521,6 +528,13 @@ package = {
},
},
macosx = {
["0.20.2"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.20.2.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-llvm-runtime/releases/download/0.20.2/openkal-llvm-runtime-0.20.2.tar.gz",
},
sha256 = "c0bbf3ca41288b02e0069aed4124ae62e62edea369f9b30c6ad562c159afd672",
},
["0.20.1"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.20.1.tar.gz",
Expand Down Expand Up @@ -964,6 +978,13 @@ package = {
},
},
windows = {
["0.20.2"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.20.2.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-llvm-runtime/releases/download/0.20.2/openkal-llvm-runtime-0.20.2.tar.gz",
},
sha256 = "c0bbf3ca41288b02e0069aed4124ae62e62edea369f9b30c6ad562c159afd672",
},
["0.20.1"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.20.1.tar.gz",
Expand Down
21 changes: 21 additions & 0 deletions pkgs/o/openkal-musl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,13 @@ package = {

xpm = {
linux = {
["0.29.5"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.29.5.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-musl/releases/download/0.29.5/openkal-musl-0.29.5.tar.gz",
},
sha256 = "ddd8c4467f8d9c1d43b1f468f79b5318a5bfd4fda5ad34c0442101de23f4e7fa",
},
["0.29.4"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.29.4.tar.gz",
Expand Down Expand Up @@ -552,6 +559,13 @@ package = {
},
},
macosx = {
["0.29.5"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.29.5.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-musl/releases/download/0.29.5/openkal-musl-0.29.5.tar.gz",
},
sha256 = "ddd8c4467f8d9c1d43b1f468f79b5318a5bfd4fda5ad34c0442101de23f4e7fa",
},
["0.29.4"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.29.4.tar.gz",
Expand Down Expand Up @@ -1023,6 +1037,13 @@ package = {
},
},
windows = {
["0.29.5"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.29.5.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-musl/releases/download/0.29.5/openkal-musl-0.29.5.tar.gz",
},
sha256 = "ddd8c4467f8d9c1d43b1f468f79b5318a5bfd4fda5ad34c0442101de23f4e7fa",
},
["0.29.4"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.29.4.tar.gz",
Expand Down
37 changes: 28 additions & 9 deletions pkgs/o/openkal-uefi.lua
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
-- openkal-uefi — openkal on UEFI Boot Services.
--
-- ⚠️ The consuming project targets `x86_64-windows-gnu` with three link flags
-- (`-nostdlib`, `--subsystem,10`, `-e,efi_main`), which is not a workaround: a
-- UEFI application IS PE/COFF with subsystem 10, entered through the Microsoft
-- x64 calling convention, and that target already has both properties.
--
-- An earlier analysis held that a new "PE freestanding" target would be needed
-- first. Measured otherwise — the flags above produce
-- IMAGE_SUBSYSTEM_EFI_APPLICATION with no DLL imports, verified booting under
-- OVMF.
-- From 0.9.0 a project names the target `x86_64-uefi` and nothing else: the
-- row (clang's `x86_64-unknown-uefi`, PE32+ with the EFI application subsystem),
-- its compile and link conventions and its runner (QEMU's q35 with the edk2
-- firmware, through dirun) are the platform package openkal-uefi-platform's,
-- which selects this implementation. Before 0.9.0 a consuming project targeted
-- `x86_64-windows-gnu` with three link flags (`-nostdlib`, `--subsystem,10`,
-- `-e,efi_main`); the platform states the same facts once.
package = {
spec = "1",
namespace = "mcpplibs",
Expand All @@ -20,6 +18,13 @@ package = {

xpm = {
linux = {
["0.9.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-uefi/archive/refs/tags/0.9.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-uefi/releases/download/0.9.0/openkal-uefi-0.9.0.tar.gz",
},
sha256 = "1581fffd2bc4e44502ad02c68c3ee19fa94241a70de8a0b61df0952acca952d7",
},
["0.8.1"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-uefi/archive/refs/tags/0.8.1.tar.gz",
Expand Down Expand Up @@ -106,6 +111,13 @@ package = {
},
},
macosx = {
["0.9.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-uefi/archive/refs/tags/0.9.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-uefi/releases/download/0.9.0/openkal-uefi-0.9.0.tar.gz",
},
sha256 = "1581fffd2bc4e44502ad02c68c3ee19fa94241a70de8a0b61df0952acca952d7",
},
["0.8.1"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-uefi/archive/refs/tags/0.8.1.tar.gz",
Expand Down Expand Up @@ -192,6 +204,13 @@ package = {
},
},
windows = {
["0.9.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-uefi/archive/refs/tags/0.9.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/openkal-uefi/releases/download/0.9.0/openkal-uefi-0.9.0.tar.gz",
},
sha256 = "1581fffd2bc4e44502ad02c68c3ee19fa94241a70de8a0b61df0952acca952d7",
},
["0.8.1"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/openkal-uefi/archive/refs/tags/0.8.1.tar.gz",
Expand Down
14 changes: 10 additions & 4 deletions tests/examples/openkal/mcpp.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
# (tests/autoupdate/ci.py, `member_platforms`): an implementation for another
# system is not in the host's lock, so asking that runner would prove nothing.
#
# The last three entries are named under conditions no runner here builds for
# --- a musl environment, WebAssembly, a 64-bit RISC-V machine --- so the
# candidate gate schedules none of them, and their own repositories measure
# them on their targets.
# The last five entries are named under conditions no runner here builds for
# --- a musl environment, WebAssembly, a 64-bit RISC-V machine, FreeBSD, UEFI
# firmware --- so the candidate gate schedules none of them, and their own
# repositories measure them on their targets.
[package]
name = "openkal-tests"
version = "0.1.0"
Expand Down Expand Up @@ -41,6 +41,12 @@ openkal-emscripten = "0.14.0"
[target.'cfg(arch = "riscv64")'.dependencies.mcpplibs]
openkal-opensbi = "0.9.0"

[target.'cfg(os = "freebsd")'.dependencies.mcpplibs]
openkal-freebsd = "0.1.2"

[target.'cfg(os = "uefi")'.dependencies.mcpplibs]
openkal-uefi = "0.9.0"

# This member names mcpplibs packages, which the workspace root's single
# redirect does not carry, so it states its own (mcpp.toml at the root says why
# a member that needs another namespace declares its own table).
Expand Down
Loading