Skip to content

Fix the release build - #5

Merged
yogthos merged 2 commits into
mainfrom
release-build
Oct 15, 2026
Merged

yogthos merged 2 commits into
mainfrom
release-build

Conversation

@yogthos

@yogthos yogthos commented Oct 13, 2026

Copy link
Copy Markdown
Member

The v0.3.0 release build failed on both platforms; no binary was built since v0.2.0, so these went unnoticed.

  • linux: llama.cpp is now built position-independent; jolt build links the archives into a shared object, which GNU ld refused llama-common's objects for.
  • mac and linux: jolt build links every :static archive, optional or not, so a tree without jolt mlx failed on the missing liblev_mlx.a. An empty archive stands in and lev.mlx reports itself unavailable. Load an optional native at runtime when its archive is missing jolt-lang/jolt#1341 fixes this in jolt.
  • mac: build_llm.sh now makes the QuartzCore stub deps.edn links; only build_mlx.sh made it before.

With these the mac release build passes (run 38472730534). Linux still fails while jolt preloads the archives (undefined C++ typeinfo symbol); that's jolt-lang/jolt#1343 and needs a jolt release.

jolt build links the archives into a shared object, and GNU ld refuses
llama-common's non-PIC objects there. It also links every :static
archive, optional or not, so a tree without jolt mlx (CI, linux) failed
on the missing liblev_mlx.a; an empty archive stands in and lev.mlx
reports itself unavailable.
deps.edn links QuartzCore on mac, and only build_mlx.sh made its stub, so
a tree without jolt mlx failed the binary's link.
@yogthos
yogthos merged commit 9e20f6a into main Oct 15, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant