ipfs/distributions

Adding support for Linux + musl

Aberta

#322 aberto em 23 de out. de 2020

 (4 comentários) (1 reação) (0 responsável)Less (31 forks)auto 404
P3dif/mediumeffort/hourshelp wantedkind/enhancementstatus/ready

Métricas do repositório

Stars
 (49 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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.

Guia do colaborador