ipfs/distributions

Adding support for Linux + musl

Open

#322 opened on Oct 23, 2020

View on GitHub
 (4 comments) (1 reaction) (0 assignees)Less (31 forks)auto 404
P3dif/mediumeffort/hourshelp wantedkind/enhancementstatus/ready

Repository metrics

Stars
 (49 stars)
PR merge metrics
 (PR metrics pending)

Description

As noted in https://github.com/ipfs/fs-repo-migrations/issues/111 we very briefly supported building for musl libc alternative to the more common glibc in 2017 and then stopped.

If it's not too painful to support it'd be nice if we could build with support for musl as well as glibc. Note: we need to support building with CGO enabled for things like plugins or OS specific optimizations so just ignoring libc entirely isn't really an option.

It looks like we used to only support x64 linux + musl back in 2017. I suspect that's enough for the most common use case (alpine linux in docker images), but we could potentially build more as well.

Contributor guide