Crafter.Build/packaging/flatpak
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jorijn van der Graaf 4159ee4117
feat(packaging): ship libc++ 22's std module source for sysroots
With LLVM 23 bundled, a sysroot still on libc++ 22 without its own
module source (Alpine v3.24) is the mirror image of the case that
started this: the toolchain's source is a release ahead of the
sysroot's headers. The new libcxx-22-modules module installs libc++
22.1.8's module source under share/crafter-build/libc++-modules/22,
where SysrootStdModule looks for the release a sysroot is on.

It only configures libc++'s runtimes build and installs the cxx-modules
component: std.cppm as configure generates it and the .inc files from
the source tree, nothing compiled, about 600 KB installed. The
component is staged and copied because it also writes
lib/libc++.modules.json, which belongs to the bundled libc++.

Verified in the built Flatpak: `crafter-build --version` lists release
22, and a cross build against an Alpine v3.24 aarch64 sysroot (libc++
22.1.3) precompiles that source with clang 23, links and runs under
qemu.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-03 17:01:21 +02:00
..
catcrafts.flatpakrepo feat(packaging): ship crafter-build as a Flatpak with its own toolchain 2026-10-02 23:18:10 +02:00
net.catcrafts.CrafterBuild.flatpakref feat(packaging): ship crafter-build as a Flatpak with its own toolchain 2026-10-02 23:18:10 +02:00
net.catcrafts.CrafterBuild.metainfo.xml fix(ci): name master builds after the release they follow 2026-10-03 15:41:57 +02:00
net.catcrafts.CrafterBuild.yaml feat(packaging): ship libc++ 22's std module source for sysroots 2026-10-03 17:01:21 +02:00
wasi-host-toolchain.cmake feat(packaging): ship crafter-build as a Flatpak with its own toolchain 2026-10-02 23:18:10 +02:00
wasi-sdk-asm-target.patch fix(packaging): assemble compiler-rt's wasm stubs for wasm32 2026-10-02 23:29:42 +02:00