ci: publish musl (Alpine) Linux release binaries - #22
Open
clemperorpenguin wants to merge 6 commits into
Open
Conversation
superm1
reviewed
Jul 8, 2026
| # fork's original "track upstream" nightly behavior. A manual dispatch defaults | ||
| # to the llama_ref input (b9747) so a deliberate build matches lemonade's | ||
| # backend_versions.json pin. | ||
| LLAMA_REF: ${{ github.event.inputs.llama_ref }} |
Member
There was a problem hiding this comment.
I don't like this. The whole point of this is that we can eventually turn on newer ROCM builds in upstream llama.cpp and this repo goes away. If we have code like this that concept can never happen.
superm1
reviewed
Jul 8, 2026
Comment on lines
+599
to
+607
| # ======================================================================== | ||
| # musl (Alpine) — CPU. Upstream ggml-org ships only glibc ("ubuntu") Linux | ||
| # builds, so lemonade pulls musl CPU/Vulkan binaries from this fork instead. | ||
| # The source is cloned on the (glibc) host but compiled inside an Alpine | ||
| # container so it links musl. libstdc++/libgcc are linked statically and | ||
| # OpenMP is disabled so the tarball is self-contained (only musl libc, and | ||
| # for Vulkan libvulkan, are needed at runtime). | ||
| # ======================================================================== | ||
| linux-musl-cpu: |
Member
There was a problem hiding this comment.
can you propose this to upstream llama.cpp too? I think that they need to be willing to do this too.
Author
There was a problem hiding this comment.
Sure - sorry, I've been super busy, I'll get this caught up when I can and see about upstreaming these.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a musl/Alpine build to the release workflow so the Linux binaries run on musl-based distros (Alpine, etc.) without a glibc dependency. Produces
bin-linux-musl-x86_64andbin-linux-musl-vulkan-x86_64release assets (plus aarch64), matching the existing glibc asset shapes.Downstream consumer: lemonade-sdk/lemonade#2539, which selects these musl assets when running on a musl host.