-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get Julia building cleanly on Alpine Linux #32636
Comments
The first two patches here are pretty safe:
The |
The release folks have decided not to pursue this for 1.2. We'll target 1.3, by which time new GMP and MPFR binaries from BinaryBuilder should be available, making the last point above a non-issue. |
#31886 is not needed if we make a new BB release for libunwind that includes JuliaPackaging/Yggdrasil#13 |
Is this still planned for 1.3 or now being pushed back to 1.4 since we're already at the RC stage for 1.3? |
1.4. We don't, for example, have functioning GMP + MPFR binaries yet. |
Well, we have functioning binaries, they're just much slower so we don't use them. |
I see that Julia v1.4.0-rc2 is now available but there are no musl binaries. |
I thought we've never released official julia musl binaries in the past. |
If we got Julia building in binary builder we’d get all the things for free. Just saying. |
Nope, this would be a newly supported platform. We've had partial support for quite a while but it always required some weird workarounds and had issues. |
Julia now builds from source without any patches on Alpine.
After a few minutes a beautiful binary is born.
Base Julia and all seems to be working great. Expect issues if you try to packages which depend on non-Julia code. julia> using Plots
julia> using SymbolicUtils
julia> Pkg.add("Cxx")
And so on... Basically any packages that have external deps. But as this issue is specific for building core julia from source I thought I'd let you know we reached 100% on that! The other issues are related to packaging and should be solved by JLL, Yggdrasil and friends. Congrats on the milestone. |
Thanks. I suggest closing this issue and opening specific issues related to binaries. Those issues may being possibly even to other orgs. |
We do build musl-linked binaries in yggsrasil but some packages are not successful. |
Note that a few tests still fail on Alpine, but that's great that things are otherwise working well! |
We should open individual issues for those - so that we get them fixed over time! |
I received an email from someone who is particularly interested in using Julia on Alpine Linux, which uses musl libc rather than glibc. They gave me a summary of what existing changes could be included, ideally in 1.2, to get Julia building cleanly on Alpine. I've reproduced the email below.
I'd be particularly interested in feedback from @fredrikekre, whose
julia-alpine
repository is referenced above, as well as the rest of the usual release suspects to determine an appropriate timeline and whether any of the above changes are sufficiently minimal to include in the next 1.2.0 release candidate.The text was updated successfully, but these errors were encountered: