Skip to content

Latest commit

 

History

History
97 lines (55 loc) · 2.11 KB

File metadata and controls

97 lines (55 loc) · 2.11 KB

WebAssembly

WebAssembly commands.

This directory contains make rules for managing WebAssembly.

Usage

Usage: make <command> [<ENV_VAR>=<value> <ENV_VAR>=<value> ...]

Commands

wasm

Compiles WebAssembly artifacts.

$ make wasm

The 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.

clean-wasm

Removes all compiled and generated WebAssembly files.

$ make clean-wasm

The command supports the following environment variables:

  • PKGS_WASM_PATTERN: package pattern; e.g., blas/base/daxpy-wasm.