Repository navigation
Expand file tree
/
Copy pathmcpp.platforms.lua
More file actions
76 lines (73 loc) · 3.79 KB
/
Copy pathmcpp.platforms.lua
File metadata and controls
76 lines (73 loc) · 3.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
-- mcpp:platforms -- rows for systems the engine does not carry: each system's
-- triples, the base each row links against (a sysroot package of xim) and,
-- where an image of the system exists, the runner that boots it (mcpp SPEC-013,
-- SPEC-016). A project selects the package for the rows it builds:
--
-- [target.'cfg(any(os = "freebsd", os = "netbsd", os = "openbsd"))']
-- platform = "mcpp.platforms@0.1.0"
-- runner = true # consent to the row's runner (fetches an image)
--
-- 0.1.0 (package floor mcpp 2026.11.17.1): FreeBSD 14.5, NetBSD 10.2 and
-- OpenBSD 8.0, x86_64 and aarch64. NetBSD's C++ layer is libc++ from source
-- (llvm.libcxx), so `import std` holds over the release's GCC 10 libstdc++
-- base. Runners: FreeBSD (both), NetBSD and OpenBSD (x86_64). The package is the
-- same on every host, and the entry lists each: it listed Linux alone, and a
-- macOS or Windows host could not install it ("has no build for windows"), so
-- the rows it serves could not be built there from the index (measured in
-- mcpp's e2e 1116, mcpp-community/mcpp#951). The rows build on Linux, macOS and
-- Windows hosts with mcpp 2026.11.18.1 (mcpp-community/mcpp-platforms#4).
package = {
spec = "1",
namespace = "mcpp",
name = "platforms",
description = "Rows for systems the engine does not carry (FreeBSD, NetBSD, OpenBSD): their definitions, bases and runners, as one versioned statement mcpp reads",
licenses = {"Apache-2.0"},
repo = "https://github.com/mcpp-community/mcpp-platforms",
type = "package",
-- The rows this platform serves, for mcpp's platform column (SPEC-013 §14): derived
-- from the newest version's manifest by tools/platform_rows.py, never written by hand.
platform_rows = { "aarch64-freebsd", "aarch64-netbsd", "aarch64-openbsd", "x86_64-freebsd", "x86_64-netbsd", "x86_64-openbsd" },
extensions = {
autoupdate = {
tag = "${version}",
url = "https://github.com/mcpp-community/mcpp-platforms/archive/refs/tags/${tag}.tar.gz",
},
},
-- The descriptor points at the source archive of the tag; the CN asset is the
-- same bytes, so one sha256 names both.
-- One archive for every host: the package is a statement, not a program.
xpm = {
linux = {
["0.1.0"] = {
url = {
GLOBAL = "https://github.com/mcpp-community/mcpp-platforms/archive/refs/tags/0.1.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/mcpp-platforms/releases/download/0.1.0/mcpp-platforms-0.1.0.tar.gz",
},
sha256 = "bd09836f9952af28ede3f9c4568aafd999ace803f2cad21fed0aa4ca495893f3",
},
["latest"] = { ref = "0.1.0" },
},
macosx = {
["0.1.0"] = {
url = {
GLOBAL = "https://github.com/mcpp-community/mcpp-platforms/archive/refs/tags/0.1.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/mcpp-platforms/releases/download/0.1.0/mcpp-platforms-0.1.0.tar.gz",
},
sha256 = "bd09836f9952af28ede3f9c4568aafd999ace803f2cad21fed0aa4ca495893f3",
},
["latest"] = { ref = "0.1.0" },
},
windows = {
["0.1.0"] = {
url = {
GLOBAL = "https://github.com/mcpp-community/mcpp-platforms/archive/refs/tags/0.1.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/mcpp-platforms/releases/download/0.1.0/mcpp-platforms-0.1.0.tar.gz",
},
sha256 = "bd09836f9952af28ede3f9c4568aafd999ace803f2cad21fed0aa4ca495893f3",
},
["latest"] = { ref = "0.1.0" },
},
},
-- The package's own manifest, at the archive root.
mcpp = "*/mcpp.toml",
}