Skip to content

Get Julia building cleanly on Alpine Linux #32636

Closed
@ararslan

Description

@ararslan

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 saw that you merged 2 patches needed for Julia compilation with musl in time for 1.2.0-rc2. There's now some final patches being merged for the final 1.2.0 release.
#32592

Julia still doesn't compile cleanly, but it's very close! 3 other patches are currently needed, as fredrikekre apply them in his Alpine repository.
https://github.com/fredrikekre/julia-alpine

The first patch is #31886
Really simple patch which shouldn't affect anyone, but allow compilation with musl.
There should be zero problems in merging for 1.2.0.

The second patch is more intrusive.
#31595

The last one is here.
https://github.com/fredrikekre/julia-alpine/blob/master/patches/revert-disable-BB-for-gmp-and-mpfr.diff

If we could add these patches in time for 1.2.0 then Julia would compile cleanly on Alpine Linux and the Julia organization could provide official musl binaries for users.

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildingBuild system, or building Julia or its dependenciescompiler:muslSupport for musl linked binaries on linux instead of glibcsystem:linuxAffects only Linux

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions