Wenyong Huang 365ec6360b Update build scripts and documents of workload samples for wasi-sdk-12.0 (#484) %!s(int64=5) %!d(string=hai) anos
..
XNNPACK 365ec6360b Update build scripts and documents of workload samples for wasi-sdk-12.0 (#484) %!s(int64=5) %!d(string=hai) anos
bwa 365ec6360b Update build scripts and documents of workload samples for wasi-sdk-12.0 (#484) %!s(int64=5) %!d(string=hai) anos
docker 365ec6360b Update build scripts and documents of workload samples for wasi-sdk-12.0 (#484) %!s(int64=5) %!d(string=hai) anos
meshoptimizer 365ec6360b Update build scripts and documents of workload samples for wasi-sdk-12.0 (#484) %!s(int64=5) %!d(string=hai) anos
tensorflow 365ec6360b Update build scripts and documents of workload samples for wasi-sdk-12.0 (#484) %!s(int64=5) %!d(string=hai) anos
wasm-av1 365ec6360b Update build scripts and documents of workload samples for wasi-sdk-12.0 (#484) %!s(int64=5) %!d(string=hai) anos
README.md 365ec6360b Update build scripts and documents of workload samples for wasi-sdk-12.0 (#484) %!s(int64=5) %!d(string=hai) anos
preparation.sh 365ec6360b Update build scripts and documents of workload samples for wasi-sdk-12.0 (#484) %!s(int64=5) %!d(string=hai) anos

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