Crafter.Build/packaging/flatpak
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jorijn van der Graaf 6e9eedfd21
All checks were successful
Flatpak / flatpak (push) Successful in 19m22s
fix(packaging): check out the WASI sysroot's LLVM tree from git
The previous commit made the LLVM tree inside the wasi-sdk checkout a
git repository with `git init`, so that wasi-sdk's patch step would
apply. That was half the fix: wasi-sdk also runs `git rev-parse HEAD`
in that tree to write the sysroot's VERSION file, which on an empty
repository raises a traceback during configure and leaves VERSION
without its llvm lines. The build went on regardless, so the suite
passed and the published beta carries the truncated file.

Fetching the tree as a git source pinned to the release tag gives
wasi-sdk what it has upstream, a submodule checkout at a commit, and
removes the shell step instead of stacking a second workaround on it.
The llvm module keeps the release tarball: it is the same commit, and a
tarball is the cheaper download for a tree that is only compiled.
flatpak-builder keeps a mirror of the clone in its state directory, so
the fetch costs the cold run about 300 MB once.

Verified locally: no traceback, VERSION lists llvm 85ac56026243 and
llvm-version 23.1.2, the eight patch steps apply, the suite passes in
the sandbox and a wasm32-wasip1 program runs under the bundled wasmtime.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-03 19:04:47 +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 fix(packaging): check out the WASI sysroot's LLVM tree from git 2026-10-03 19:04:47 +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