Skip to content

Commit

Permalink
Fix the emsdk version for building WebAssembly. (#668)
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj authored Oct 29, 2024
1 parent 83e1841 commit ba01902
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
9 changes: 7 additions & 2 deletions docs/source/onnx/tts/wasm/install-emscripten.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,13 @@ The following is an example to show you how to install it on Linux/macOS.
git clone https://github.com/emscripten-core/emsdk.git
cd emsdk
git pull
./emsdk install latest
./emsdk activate latest
# Hint: Please use a version <= 3.1.64
# Other versions, like 3.1.70, are known not to work
./emsdk install 3.1.48
./emsdk activate 3.1.48
source ./emsdk_env.sh
To check that you have installed `emscripten`_ successfully, please run:
Expand Down
9 changes: 7 additions & 2 deletions docs/source/onnx/wasm/install-emscripten.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,13 @@ The following is an example to show you how to install it on Linux/macOS.
git clone https://github.com/emscripten-core/emsdk.git
cd emsdk
git pull
./emsdk install latest
./emsdk activate latest
# Hint: Please use a version <= 3.1.64
# Other versions, like 3.1.70, are known not to work
./emsdk install 3.1.48
./emsdk activate 3.1.48
source ./emsdk_env.sh
To check that you have installed `emscripten`_ successfully, please run:
Expand Down

0 comments on commit ba01902

Please sign in to comment.