Replies: 2 comments
-
I agree. Visual C++ project building speed is slower than ninja. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Is it a cmake issue or onnx runtime issue? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
onnxruntime generates Visual Studio C++ projects and builds the binaries using Visual Studio C++ through cmake. We tried to get cmake to generate Ninja project to an onnxruntime external dependency, i.e. oneDNN. We want to try to use DPC++ for oneDNN which requires Ninja as described in the documentation. We modified dnnl.cmake to generate Ninja projects.
set(DNNL_CPU_CMAKE_ARGS "-G Ninja " "-DDNNL_CPU_RUNTIME=DPCPP")
We then tried to build onnxruntime.
build.bat --config Debug --build_shared_lib --build_wheel --parallel --build_dir "build_dnnl_dpcpp" --use_dnnl --dnnl_cpu_runtime dpcpp --dnnl_gpu_runtime dpcpp --cmake_generator "Visual Studio 16 2019"
In the middle of the build, an error was encountered.
Beta Was this translation helpful? Give feedback.
All reactions