@@ -41,16 +41,16 @@ compile_wasm_bin := $(TOOLS_DIR)/scripts/compile_wasm
41
41
#
42
42
# - If unable to compile WebAssemby artifacts, the recipe prints an error message and tries compiling WebAssembly artifacts for the next package.
43
43
#
44
- # @param {string} [PKGS_WASM_PATTERN] - package pattern (e.g., `**/math/ base/special/**/package.json `)
44
+ # @param {string} [PKGS_WASM_PATTERN] - package pattern (e.g., `blas/ base/daxpy-wasm `)
45
45
#
46
46
# @example
47
47
# make wasm
48
48
#
49
49
# @example
50
- # make wasm PKGS_WASM_PATTERN=**/math/ base/special/**/package.json
50
+ # make wasm PKGS_WASM_PATTERN="blas/ base/daxpy-wasm"
51
51
# /
52
52
wasm : $(NODE_MODULES )
53
- $(QUIET ) $(MAKE ) LIST_PACKAGE_WASM_FLAGS =$(pkgs_wasm_list_wasm_flags ) -f $(this_file ) list-pkgs-wasm | while read -r pkg; do \
53
+ $(QUIET ) $(MAKE ) LIST_PKGS_WASM_FLAGS =$(pkgs_wasm_list_wasm_flags ) -f $(this_file ) list-pkgs-wasm | while read -r pkg; do \
54
54
if echo " $$ pkg" | grep -v ' ^\/.*\|^[a-zA-Z]:.*' > /dev/null; then \
55
55
continue ; \
56
56
fi ; \
@@ -71,16 +71,16 @@ wasm: $(NODE_MODULES)
71
71
# /
72
72
# Removes all compiled and generated WebAssembly files.
73
73
#
74
- # @param {string} [PKGS_WASM_PATTERN] - package pattern (e.g., `**/math/ base/special/**/package.json `)
74
+ # @param {string} [PKGS_WASM_PATTERN] - package pattern (e.g., `blas/ base/daxpy-wasm `)
75
75
#
76
76
# @example
77
77
# make clean-wasm
78
78
#
79
79
# @example
80
- # make clean-wasm PKGS_WASM_PATTERN=**/math/ base/special/**/package.json
80
+ # make clean-wasm PKGS_WASM_PATTERN="blas/ base/daxpy-wasm"
81
81
# /
82
82
clean-wasm : $(NODE_MODULES )
83
- $(QUIET ) $(MAKE ) LIST_PACKAGE_WASM_FLAGS =$(pkgs_wasm_list_wasm_flags ) -f $(this_file ) list-pkgs-wasm | while read -r pkg; do \
83
+ $(QUIET ) $(MAKE ) LIST_PKGS_WASM_FLAGS =$(pkgs_wasm_list_wasm_flags ) -f $(this_file ) list-pkgs-wasm | while read -r pkg; do \
84
84
if echo " $$ pkg" | grep -v ' ^\/.*\|^[a-zA-Z]:.*' > /dev/null; then \
85
85
continue ; \
86
86
fi ; \
0 commit comments