How to build ORT offline #16071
-
Before version 1.14, I could simply clone the project recursively and create the tarball. Then, I could cmake it without requiring network access. However, starting from version 1.14, it appears that even if I clone the entire project recursively, it still requires downloading something during the cmake process. I'm not certain if there's any flag or method available to avoid this. Appreciate any insights~ 😄 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Download all the things in cmake/deps.txt, then run cmake/deps.txt is a CSV-like file. The second column is the URLs. |
Beta Was this translation helpful? Give feedback.
Download all the things in cmake/deps.txt, then run
https://github.com/microsoft/onnxruntime/blob/main/tools/ci_build/replace_urls_in_deps.py
cmake/deps.txt is a CSV-like file. The second column is the URLs.