Skip to content

strelok2012/WASMScript

Repository files navigation

WASMScript - tools to build WebAssembly script modules

Install (on Linux)

Download dependencies

Use download.sh or

git submodule update --init --recursive
# Then, download latest LLVM and clang

Build dependencies

LLVM build takes 15-40 minutes, and huge amount of memory. Be careful with make -jN, it can consume more then 16Gb of memory.

LLVM (without download.sh):

mkdir llvm-build
cd llvm-build

cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=`pwd` -DLLVM_TARGETS_TO_BUILD= -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=WebAssembly ../llvm 
make

LLVM (with download.sh):

cd llvm-build
make

WABT:

cd wabt
make

Binaryen:

cd binaryen
cmake .; make

Build examples

C/C++

cd wasm/cpp
make

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published