mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-11-27 10:00:59 +00:00
add more checks to enhance security clear "wasi proc exit" exception before return to caller in wasm/aot call functions fix memory profiling issue change movdqa to movdqu in simd invokeNative asm codes to fix issue of unaligned address access move setjmp/longjmp from libc-builtin to libc-emcc fix zephyr platform compilation issue in latest zephyr version |
||
|---|---|---|
| .. | ||
| bwa | ||
| cmake | ||
| docker | ||
| meshoptimizer | ||
| tensorflow | ||
| wasm-av1 | ||
| XNNPACK | ||
| README.md | ||
All workloads have similar a requirment of software dependencies. It includes wasi-sdk, clang-11, emsdk, wabt and binaryen
It might slightly different when using MacOS, and other linux distro than Ubuntu. This document only target Ubuntu 18.04 as an example.
Installation instructions
-
wasi-sdk. Install latest release in /opt/wasi-sdk or /opt/wasi-sdk-11
-
wabt. Install latest release in /opt/wabt or /opt/wabt-1.0.19
-
clang-11. Refer to the guide.
-
emsdk. Refer to the guide. Don't forget to activate emsdk and set up environment variables. Verify it with
echo ${EMSDK}. -
libclang_rt.builtins-wasm32.a. wasi has its private rt library. Put it under clang search path
# copy it
$ cp -r /opt/wasi-sdk-11.0/lib/clang/10.0.0/lib/wasi /usr/lib/llvm-11/lib/clang/11.0.0/lib/
# or just link it
$ ln -sf /opt/wasi-sdk-11.0/lib/clang/10.0.0/lib/wasi/ /usr/lib/llvm-11/lib/clang/11.0.0/lib/
- binaryen. Install latest release in /opt/binaryen or /opt/binaryen-version_97