Right now, wasi-sdk ships a single big package that includes both wasi-sysroot, and a copy of LLVM.
However, systems can already have a recent version of LLVM installed.
On MacOS, for example, the LLVM code included in wasi-sdk is useless as it will only run on Linux. But homebrew can seamlessly install the latest LLVM version. Most recent Linux and BSD distributions also include LLVM 8 or LLVM 9 packages that can compile to WebAssembly.
As CraneStation/wasi-libc doesn't ship any precompiled releases any more, would it make sense to split wasi-sdk in two, one package with LLVM for Linux, another package with only wasi-sysroot?
Right now,
wasi-sdkships a single big package that includes bothwasi-sysroot, and a copy of LLVM.However, systems can already have a recent version of LLVM installed.
On MacOS, for example, the LLVM code included in
wasi-sdkis useless as it will only run on Linux. Buthomebrewcan seamlessly install the latest LLVM version. Most recent Linux and BSD distributions also include LLVM 8 or LLVM 9 packages that can compile to WebAssembly.As
CraneStation/wasi-libcdoesn't ship any precompiled releases any more, would it make sense to splitwasi-sdkin two, one package with LLVM for Linux, another package with onlywasi-sysroot?