Wenyong Huang 1a4aa5ac2f Enable multi-thread for tensorflow sample, update wasm-c-api document (#651) 4 лет назад
..
XNNPACK eb29385963 Implement more wasm-c-apis and enable Envoy integration (#622) 4 лет назад
bwa 8b96f4fb71 Update sample workload's scripts to align with latest emcc (#609) 4 лет назад
docker eb29385963 Implement more wasm-c-apis and enable Envoy integration (#622) 4 лет назад
meshoptimizer a5188f5574 Add checks to avoid wasm_runtime_malloc memory with size 0 (#507) 5 лет назад
tensorflow 1a4aa5ac2f Enable multi-thread for tensorflow sample, update wasm-c-api document (#651) 4 лет назад
wasm-av1 8b96f4fb71 Update sample workload's scripts to align with latest emcc (#609) 4 лет назад
README.md 365ec6360b Update build scripts and documents of workload samples for wasi-sdk-12.0 (#484) 5 лет назад
preparation.sh 365ec6360b Update build scripts and documents of workload samples for wasi-sdk-12.0 (#484) 5 лет назад

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