Skip to content

Commit 5803d6f

Browse files
committed
register openkal-musl 0.19.2
Registration only: nothing here pins it yet. openkal-llvm-runtime names 0.19.1 exactly, and moving that pin is a separate change. 0.19.2 ships the eight archives musl's own `make install` places beside libc.a (libm, librt, libpthread, libcrypt, libutil, libxnet, libresolv and libdl, each an empty archive) and adds their directory to its Linux ldflags, so that a program's `-lm` is answered by the graph's C library and not by the build machine's libraries (mcpp-community/mcpp#696). Both urls were fetched before this entry was written: each serves 1157319 bytes with sha256 e8043bcd...c82238, and the CN copy is byte-for-byte identical to the GitHub archive. The tarball carries port/lib/lib*.a, eight files of eight bytes each.
1 parent 57f377e commit 5803d6f

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

‎pkgs/o/openkal-musl.lua‎

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,18 @@
2828
-- borrowed name, the release that withdraws it defines mcpp's own, and no
2929
-- engine defines neither. No source of musl itself changed.
3030
--
31+
-- 0.19.2 ships the eight archives musl's own `make install` places beside
32+
-- `libc.a` --- `libm.a', `librt.a', `libpthread.a', `libcrypt.a', `libutil.a',
33+
-- `libxnet.a', `libresolv.a' and `libdl.a', each an empty archive --- and adds
34+
-- their directory to its Linux `ldflags'. A program's `-lm' is then answered
35+
-- by this package rather than by the build machine's own libraries: with no
36+
-- host directory in a graph link's search (mcpp#696), `-lm' fails without them,
37+
-- and before that fix it was answered by the host's glibc archive. Nothing
38+
-- else changed, and it asks nothing more of `min_mcpp': openkal-musl's own CI
39+
-- builds 0.19.2 with the published 2026.9.18.3 and reads, in the linker's own
40+
-- trace, that each of `-lm', `-lpthread', `-ldl' and `-lrt' opened this
41+
-- package's archive and nothing under /usr or /lib.
42+
--
3143
-- IT ASKS NOTHING OF `index.toml`'s `min_mcpp`, AND THAT WAS MEASURED. mcpp
3244
-- ignores a top-level table it does not know and refuses an unknown MEMBER of
3345
-- a table it does know, so the first spelling of this table --- `[c-abi]`.`absent`
@@ -52,6 +64,13 @@ package = {
5264

5365
xpm = {
5466
linux = {
67+
["0.19.2"] = {
68+
url = {
69+
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.19.2.tar.gz",
70+
CN = "https://gitcode.com/mcpp-res/openkal-musl/releases/download/0.19.2/openkal-musl-0.19.2.tar.gz",
71+
},
72+
sha256 = "e8043bcd9971ee91a0861ef11b7678606a690898abfe98744a254222d9c82238",
73+
},
5574
["0.19.1"] = {
5675
url = {
5776
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.19.1.tar.gz",
@@ -250,6 +269,13 @@ package = {
250269
},
251270
},
252271
macosx = {
272+
["0.19.2"] = {
273+
url = {
274+
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.19.2.tar.gz",
275+
CN = "https://gitcode.com/mcpp-res/openkal-musl/releases/download/0.19.2/openkal-musl-0.19.2.tar.gz",
276+
},
277+
sha256 = "e8043bcd9971ee91a0861ef11b7678606a690898abfe98744a254222d9c82238",
278+
},
253279
["0.19.1"] = {
254280
url = {
255281
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.19.1.tar.gz",
@@ -448,6 +474,13 @@ package = {
448474
},
449475
},
450476
windows = {
477+
["0.19.2"] = {
478+
url = {
479+
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.19.2.tar.gz",
480+
CN = "https://gitcode.com/mcpp-res/openkal-musl/releases/download/0.19.2/openkal-musl-0.19.2.tar.gz",
481+
},
482+
sha256 = "e8043bcd9971ee91a0861ef11b7678606a690898abfe98744a254222d9c82238",
483+
},
451484
["0.19.1"] = {
452485
url = {
453486
GLOBAL = "https://github.com/mcpplibs/openkal-musl/archive/refs/tags/0.19.1.tar.gz",

0 commit comments

Comments
 (0)