How to compile ONNX Runtime using wasi-sdk instead of using emsdk to wasm? #16999
Unanswered
chris-void-777
asked this question in
Other Q&A
Replies: 1 comment 1 reply
-
Here are the docs we have for building ORT Web from source, which includes building the WASM artifacts. However, as far as I know, using wasi-libc instead of emscripten to build the WASM artifacts will be a very difficult process. You'll likely have to edit build.py, cmake/onnxruntime_webassembly.cmake, and onnxruntime/wasm/api.cc as well as api.h... as well as many other files that were written to work with emscripten. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to use onnxruntime in wasm runtime,so I need use wasi-sdk rather than emsdk during the build process. I am not familiar with the build process of onnxruntime.I didn't find the relevant documentation (maybe I missed it, I'm sorry if so), and I checked the build script and some related files (such as ci_build/build.py), but I still don't know how to start. So what should I do to achieve my goal?
Thanks for your time and help
Beta Was this translation helpful? Give feedback.
All reactions