Dan Gohman
38cc8a607c
|
6 years ago | |
---|---|---|
src | 6 years ago | |
.gitignore | 6 years ago | |
.gitmodules | 6 years ago | |
Dockerfile | 6 years ago | |
Makefile | 6 years ago | |
README.md | 6 years ago | |
deb_from_installation.sh | 6 years ago | |
docker_build.sh | 6 years ago | |
llvm_version.sh | 6 years ago | |
tar_from_installation.sh | 6 years ago | |
version.sh | 6 years ago | |
wasi-sdk.cmake | 6 years ago | |
wasi-sdk.control | 6 years ago |
README.md
WASI SDK
Quick Start
About this repository
This repository contains no compiler or library code itself; it uses git submodules to pull in the upstream Clang and LLVM tree, as well as the wasi-sysroot tree.
The Sysroot portion of this SDK is the wasi-sysroot.
Upstream Clang and LLVM 8.0 can compile for WASI out of the box, and WebAssembly support is included in them by default. So, all that's done here is to provide builds configured to set the default target and sysroot for convenience.
One could also use a standard Clang 8.0, build a sysroot from the sources mentioned above, and compile with "--target=wasm32-wasi --sysroot=/path/to/sysroot".
Notes for Autoconf
Upstream autoconf now recognizes WASI.
For convenience when building packages that aren't yet updated, updated config.sub and config.guess files are installed at share/misc/config.* in the install directory.