ipfs/distributions

Adding support for Linux + musl

Aperta

#322 aperta il 23 ott 2020

 (4 commenti) (1 reazione) (0 assegnatari)Less (31 fork)auto 404
P3dif/mediumeffort/hourshelp wantedkind/enhancementstatus/ready

Metriche repository

Star
 (49 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor