WASI-enabled WebAssembly C/C++ toolchain
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Pat Hickey 5e25836f17
llvm project: use tag llvmorg-8.0.1 (#50)
6 years ago
src llvm project: use tag llvmorg-8.0.1 (#50) 6 years ago
.azure-pipelines.yml Add Azure Pipelines configuration for Linux and macOS 6 years ago
.gitignore produce deb and tars 6 years ago
.gitmodules Update to latest wasi-libc (formerly wasi-sysroot) and llvm 8.0.1. 6 years ago
Dockerfile Use ninja generator when using cmake (#42) 6 years ago
Makefile Use *_LIBDIR_SUFFIX cmake configs to implement multi-arch. 6 years ago
README.md Update to latest wasi-libc (formerly wasi-sysroot) and llvm 8.0.1. 6 years ago
deb_from_installation.sh produce deb and tars 6 years ago
docker_build.sh produce deb and tars 6 years ago
llvm_version.sh Allow llvm-project path change; version from llvm-config. 6 years ago
tar_from_installation.sh Create a tarball of the clang-rt builtins in tar_from_installation.sh 6 years ago
version.sh build system fixups 6 years ago
wasi-sdk.cmake Rename sysroot to wasi-sysroot. 6 years ago
wasi-sdk.control initial commit 6 years ago

README.md

WASI SDK

Quick Start

Download SDK packages here.

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-libc tree.

The libc portion of this SDK is the wasi-libc.

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.