ipfs/distributions

Adding support for Linux + musl

开放

#322 创建于 2020年10月23日

 (4 条评论) (1 个反应) (0 位负责人)Less (31 个派生)auto 404
P3dif/mediumeffort/hourshelp wantedkind/enhancementstatus/ready

仓库指标

星标
 (49 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南