Skip to content

Commit 321d1fc

Browse files
authored
openkal-musl 0.29.5, openkal-llvm-runtime 0.20.2, openkal-freebsd 0.1.2, openkal-uefi 0.9.0 (#769)
* openkal-musl 0.29.5, openkal-llvm-runtime 0.20.2 and openkal-freebsd 0.1.2 (i686-linux-musl; the runner is dirun); openkal-uefi 0.9.0 * openkal test fixture: openkal-freebsd and openkal-uefi named under their systems The candidate gate finds a package's consumer among the members; these two implementations are named under conditions no runner here builds for, as openkal-emscripten and openkal-opensbi are.
1 parent ad36a7d commit 321d1fc

5 files changed

Lines changed: 101 additions & 13 deletions

File tree

‎pkgs/o/openkal-freebsd.lua‎

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

2323
xpm = {
2424
linux = {
25+
["0.1.2"] = {
26+
url = {
27+
GLOBAL = "https://github.com/mcpplibs/openkal-freebsd/archive/refs/tags/0.1.2.tar.gz",
28+
CN = "https://gitcode.com/mcpp-res/openkal-freebsd/releases/download/0.1.2/openkal-freebsd-0.1.2.tar.gz",
29+
},
30+
sha256 = "4ea0ff9450a8d3935db9b24e8701f1f5a0ad00a1d42ca05214e8c3f9b896170e",
31+
},
2532
["0.1.0"] = {
2633
url = {
2734
GLOBAL = "https://github.com/mcpplibs/openkal-freebsd/archive/refs/tags/0.1.0.tar.gz",
@@ -31,6 +38,13 @@ package = {
3138
},
3239
},
3340
macosx = {
41+
["0.1.2"] = {
42+
url = {
43+
GLOBAL = "https://github.com/mcpplibs/openkal-freebsd/archive/refs/tags/0.1.2.tar.gz",
44+
CN = "https://gitcode.com/mcpp-res/openkal-freebsd/releases/download/0.1.2/openkal-freebsd-0.1.2.tar.gz",
45+
},
46+
sha256 = "4ea0ff9450a8d3935db9b24e8701f1f5a0ad00a1d42ca05214e8c3f9b896170e",
47+
},
3448
["0.1.0"] = {
3549
url = {
3650
GLOBAL = "https://github.com/mcpplibs/openkal-freebsd/archive/refs/tags/0.1.0.tar.gz",
@@ -40,6 +54,13 @@ package = {
4054
},
4155
},
4256
windows = {
57+
["0.1.2"] = {
58+
url = {
59+
GLOBAL = "https://github.com/mcpplibs/openkal-freebsd/archive/refs/tags/0.1.2.tar.gz",
60+
CN = "https://gitcode.com/mcpp-res/openkal-freebsd/releases/download/0.1.2/openkal-freebsd-0.1.2.tar.gz",
61+
},
62+
sha256 = "4ea0ff9450a8d3935db9b24e8701f1f5a0ad00a1d42ca05214e8c3f9b896170e",
63+
},
4364
["0.1.0"] = {
4465
url = {
4566
GLOBAL = "https://github.com/mcpplibs/openkal-freebsd/archive/refs/tags/0.1.0.tar.gz",

‎pkgs/o/openkal-llvm-runtime.lua‎

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

7979
xpm = {
8080
linux = {
81+
["0.20.2"] = {
82+
url = {
83+
GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.20.2.tar.gz",
84+
CN = "https://gitcode.com/mcpp-res/openkal-llvm-runtime/releases/download/0.20.2/openkal-llvm-runtime-0.20.2.tar.gz",
85+
},
86+
sha256 = "c0bbf3ca41288b02e0069aed4124ae62e62edea369f9b30c6ad562c159afd672",
87+
},
8188
["0.20.1"] = {
8289
url = {
8390
GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.20.1.tar.gz",
@@ -521,6 +528,13 @@ package = {
521528
},
522529
},
523530
macosx = {
531+
["0.20.2"] = {
532+
url = {
533+
GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.20.2.tar.gz",
534+
CN = "https://gitcode.com/mcpp-res/openkal-llvm-runtime/releases/download/0.20.2/openkal-llvm-runtime-0.20.2.tar.gz",
535+
},
536+
sha256 = "c0bbf3ca41288b02e0069aed4124ae62e62edea369f9b30c6ad562c159afd672",
537+
},
524538
["0.20.1"] = {
525539
url = {
526540
GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.20.1.tar.gz",
@@ -964,6 +978,13 @@ package = {
964978
},
965979
},
966980
windows = {
981+
["0.20.2"] = {
982+
url = {
983+
GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.20.2.tar.gz",
984+
CN = "https://gitcode.com/mcpp-res/openkal-llvm-runtime/releases/download/0.20.2/openkal-llvm-runtime-0.20.2.tar.gz",
985+
},
986+
sha256 = "c0bbf3ca41288b02e0069aed4124ae62e62edea369f9b30c6ad562c159afd672",
987+
},
967988
["0.20.1"] = {
968989
url = {
969990
GLOBAL = "https://github.com/mcpplibs/openkal-llvm-runtime/archive/refs/tags/0.20.1.tar.gz",

‎pkgs/o/openkal-musl.lua‎

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

8282
xpm = {
8383
linux = {
84+
["0.29.5"] = {
85+
url = {
86+
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.29.5.tar.gz",
87+
CN = "https://gitcode.com/mcpp-res/openkal-musl/releases/download/0.29.5/openkal-musl-0.29.5.tar.gz",
88+
},
89+
sha256 = "ddd8c4467f8d9c1d43b1f468f79b5318a5bfd4fda5ad34c0442101de23f4e7fa",
90+
},
8491
["0.29.4"] = {
8592
url = {
8693
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.29.4.tar.gz",
@@ -552,6 +559,13 @@ package = {
552559
},
553560
},
554561
macosx = {
562+
["0.29.5"] = {
563+
url = {
564+
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.29.5.tar.gz",
565+
CN = "https://gitcode.com/mcpp-res/openkal-musl/releases/download/0.29.5/openkal-musl-0.29.5.tar.gz",
566+
},
567+
sha256 = "ddd8c4467f8d9c1d43b1f468f79b5318a5bfd4fda5ad34c0442101de23f4e7fa",
568+
},
555569
["0.29.4"] = {
556570
url = {
557571
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.29.4.tar.gz",
@@ -1023,6 +1037,13 @@ package = {
10231037
},
10241038
},
10251039
windows = {
1040+
["0.29.5"] = {
1041+
url = {
1042+
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.29.5.tar.gz",
1043+
CN = "https://gitcode.com/mcpp-res/openkal-musl/releases/download/0.29.5/openkal-musl-0.29.5.tar.gz",
1044+
},
1045+
sha256 = "ddd8c4467f8d9c1d43b1f468f79b5318a5bfd4fda5ad34c0442101de23f4e7fa",
1046+
},
10261047
["0.29.4"] = {
10271048
url = {
10281049
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.29.4.tar.gz",

‎pkgs/o/openkal-uefi.lua‎

Lines changed: 28 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
-- openkal-uefi — openkal on UEFI Boot Services.
22
--
3-
-- ⚠️ The consuming project targets `x86_64-windows-gnu` with three link flags
4-
-- (`-nostdlib`, `--subsystem,10`, `-e,efi_main`), which is not a workaround: a
5-
-- UEFI application IS PE/COFF with subsystem 10, entered through the Microsoft
6-
-- x64 calling convention, and that target already has both properties.
7-
--
8-
-- An earlier analysis held that a new "PE freestanding" target would be needed
9-
-- first. Measured otherwise — the flags above produce
10-
-- IMAGE_SUBSYSTEM_EFI_APPLICATION with no DLL imports, verified booting under
11-
-- OVMF.
3+
-- From 0.9.0 a project names the target `x86_64-uefi` and nothing else: the
4+
-- row (clang's `x86_64-unknown-uefi`, PE32+ with the EFI application subsystem),
5+
-- its compile and link conventions and its runner (QEMU's q35 with the edk2
6+
-- firmware, through dirun) are the platform package openkal-uefi-platform's,
7+
-- which selects this implementation. Before 0.9.0 a consuming project targeted
8+
-- `x86_64-windows-gnu` with three link flags (`-nostdlib`, `--subsystem,10`,
9+
-- `-e,efi_main`); the platform states the same facts once.
1210
package = {
1311
spec = "1",
1412
namespace = "mcpplibs",
@@ -20,6 +18,13 @@ package = {
2018

2119
xpm = {
2220
linux = {
21+
["0.9.0"] = {
22+
url = {
23+
GLOBAL = "https://github.com/mcpplibs/openkal-uefi/archive/refs/tags/0.9.0.tar.gz",
24+
CN = "https://gitcode.com/mcpp-res/openkal-uefi/releases/download/0.9.0/openkal-uefi-0.9.0.tar.gz",
25+
},
26+
sha256 = "1581fffd2bc4e44502ad02c68c3ee19fa94241a70de8a0b61df0952acca952d7",
27+
},
2328
["0.8.1"] = {
2429
url = {
2530
GLOBAL = "https://github.com/mcpplibs/openkal-uefi/archive/refs/tags/0.8.1.tar.gz",
@@ -106,6 +111,13 @@ package = {
106111
},
107112
},
108113
macosx = {
114+
["0.9.0"] = {
115+
url = {
116+
GLOBAL = "https://github.com/mcpplibs/openkal-uefi/archive/refs/tags/0.9.0.tar.gz",
117+
CN = "https://gitcode.com/mcpp-res/openkal-uefi/releases/download/0.9.0/openkal-uefi-0.9.0.tar.gz",
118+
},
119+
sha256 = "1581fffd2bc4e44502ad02c68c3ee19fa94241a70de8a0b61df0952acca952d7",
120+
},
109121
["0.8.1"] = {
110122
url = {
111123
GLOBAL = "https://github.com/mcpplibs/openkal-uefi/archive/refs/tags/0.8.1.tar.gz",
@@ -192,6 +204,13 @@ package = {
192204
},
193205
},
194206
windows = {
207+
["0.9.0"] = {
208+
url = {
209+
GLOBAL = "https://github.com/mcpplibs/openkal-uefi/archive/refs/tags/0.9.0.tar.gz",
210+
CN = "https://gitcode.com/mcpp-res/openkal-uefi/releases/download/0.9.0/openkal-uefi-0.9.0.tar.gz",
211+
},
212+
sha256 = "1581fffd2bc4e44502ad02c68c3ee19fa94241a70de8a0b61df0952acca952d7",
213+
},
195214
["0.8.1"] = {
196215
url = {
197216
GLOBAL = "https://github.com/mcpplibs/openkal-uefi/archive/refs/tags/0.8.1.tar.gz",

‎tests/examples/openkal/mcpp.toml‎

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
# (tests/autoupdate/ci.py, `member_platforms`): an implementation for another
1010
# system is not in the host's lock, so asking that runner would prove nothing.
1111
#
12-
# The last three entries are named under conditions no runner here builds for
13-
# --- a musl environment, WebAssembly, a 64-bit RISC-V machine --- so the
14-
# candidate gate schedules none of them, and their own repositories measure
15-
# them on their targets.
12+
# The last five entries are named under conditions no runner here builds for
13+
# --- a musl environment, WebAssembly, a 64-bit RISC-V machine, FreeBSD, UEFI
14+
# firmware --- so the candidate gate schedules none of them, and their own
15+
# repositories measure them on their targets.
1616
[package]
1717
name = "openkal-tests"
1818
version = "0.1.0"
@@ -41,6 +41,12 @@ openkal-emscripten = "0.14.0"
4141
[target.'cfg(arch = "riscv64")'.dependencies.mcpplibs]
4242
openkal-opensbi = "0.9.0"
4343

44+
[target.'cfg(os = "freebsd")'.dependencies.mcpplibs]
45+
openkal-freebsd = "0.1.2"
46+
47+
[target.'cfg(os = "uefi")'.dependencies.mcpplibs]
48+
openkal-uefi = "0.9.0"
49+
4450
# This member names mcpplibs packages, which the workspace root's single
4551
# redirect does not carry, so it states its own (mcpp.toml at the root says why
4652
# a member that needs another namespace declares its own table).

0 commit comments

Comments
 (0)