musl-sysroot
v0.1.1
Published
Prebuilt musl sysroots for the llvm-runtime compiler
Readme
musl-sysroot
Prebuilt musl sysroots for the llvm-runtime compiler. musl, the Linux kernel headers, and the C++ standard library are built from source for each supported target.
npm i musl-sysrootThe compiler runtime libraries ship with llvm-runtime itself. Link with --rtlib=compiler-rt, --unwindlib=libunwind, and -stdlib=libc++.
The sysroots only install on Linux hosts, as the compiler runtime libraries for musl ship with the Linux build of llvm-runtime.
Usage
const sysroot = require('musl-sysroot')
sysroot('aarch64-linux-musl')
// /path/to/node_modules/musl-sysroot-aarch64-linux-muslLicense
Apache-2.0
