WASMScript - tools to build WebAssembly script modules
Use download.sh or
git submodule update --init --recursive
# Then, download latest LLVM and clangLLVM 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
makeLLVM (with download.sh):
cd llvm-build
makeWABT:
cd wabt
makeBinaryen:
cd binaryen
cmake .; makeC/C++
cd wasm/cpp
make