Skip to content

Latest commit

 

History

History

wasm

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

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.