Added Ninja prerequisite (#11632)

This commit is contained in:
shalvamist 2022-06-06 13:27:42 -07:00 committed by GitHub
parent 960f2a1a90
commit 4df8d60e72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

5
docs/build/web.md vendored
View file

@ -39,6 +39,11 @@ There are 2 steps to build ONNX Runtime Web:
- Python (3.8+): https://www.python.org/downloads/
- python should be added to the PATH environment variable
- Ninja: https://ninja-build.org/
```sh
pip install ninja
```
- Prepare emsdk:
emsdk should be automatically installed at `<ORT_ROOT>/cmake/external/emsdk/emsdk`. If the folder structure does not exist, run the following commands in `<ORT_ROOT>/` to install git submodules:
```sh