Skip to content

Commit 3a1e98e

Browse files
committed
Update README to reflect new WebAssembly build process and output locations
1 parent 645bec2 commit 3a1e98e

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

wasm/combined/README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,17 +83,14 @@ The included `index.html` demonstrates how to use the combined module. It shows:
8383

8484
## Building the Module
8585

86-
The WebAssembly module is built using Emscripten. To rebuild it:
86+
The WebAssembly module can be built using the provided build script:
8787

8888
```bash
8989
cd /path/to/sherpa-onnx
90-
mkdir -p build-wasm-combined
91-
cd build-wasm-combined
92-
emcmake cmake -DCMAKE_BUILD_TYPE=Release -DSHERPA_ONNX_ENABLE_WASM=ON -DSHERPA_ONNX_ENABLE_CHECK=OFF ..
93-
make -j$(nproc)
90+
./build-wasm-combined.sh
9491
```
9592

96-
The built files will be located in `build-wasm-combined/wasm/combined/`.
93+
The built files will be located in `bin/wasm/combined/` and are also copied to `wasm/combined/`.
9794

9895
## Setting Up Models
9996

0 commit comments

Comments
 (0)