mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-06 06:55:07 +00:00
![]() The native function might call wasm function exported, in which the memory.grow opcode might be executed, and interpreter should update memory size after that, or load/store opcodes may run failed with "out of bounds memory access" exception thrown. Update tensorflow sample patch, allow tensorflow wasm app to grow memory so as to run more models. And fix some compile issues of littlevgl zephyr sample for latest zephyr source code. Signed-off-by: Wenyong Huang <wenyong.huang@intel.com> |
||
---|---|---|
.. | ||
bwa | ||
docker | ||
meshoptimizer | ||
tensorflow | ||
wasm-av1 | ||
XNNPACK | ||
preparation.sh | ||
README.md |
All workloads have similar requirment of software dependencies, including wasi-sdk, emsdk, wabt and binaryen
There might be slight differences when using MacOS and other Linux distro than Ubuntu. This document only target Ubuntu 18.04 as example.
Installation instructions
use preparation.sh to install all dependencies before compiling any workload.
for details, the script includes below steps:
-
wasi-sdk. Install latest release to /opt/wasi-sdk
-
wabt. Install latest release to /opt/wabt or /opt/wabt-1.0.20
-
emsdk. Refer to the guide. Don't forget to activate emsdk and set up environment variables. Verify it with
echo ${EMSDK}
. -
binaryen. Install latest release to /opt/binaryen or /opt/binaryen-version_97