WebAssembly commands.
This directory contains make rules for managing WebAssembly.
Usage: make <command> [<ENV_VAR>=<value> <ENV_VAR>=<value> ...]
Compiles WebAssembly artifacts.
$ make wasmThe command supports the following environment variables:
- PKGS_WASM_PATTERN: package pattern; e.g.,
blas/base/daxpy-wasm.
If unable to compile WebAssemby artifacts, the command prints an error message and tries compiling WebAssembly artifacts for the next package.
Removes all compiled and generated WebAssembly files.
$ make clean-wasmThe command supports the following environment variables:
- PKGS_WASM_PATTERN: package pattern; e.g.,
blas/base/daxpy-wasm.