You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see this error during the CMake configuration phase:
CMake Error at onnxruntime_providers.cmake:629 (add_dependencies):
The dependency target "onnxruntime_providers_shared" of target
"onnxruntime_providers_dnnl" does not exist.
Followed by this error at build time:
onnxruntime/onnxruntime/core/providers/dnnl/dnnl_execution_provider.cc:14:10: fatal error: 'omp.h' file not found
Visual Studio Version
No response
GCC / Compiler Version
No response
The text was updated successfully, but these errors were encountered:
@wschin that would mean ONNXRuntime relies on an external installation of OpenMP in order to build with OneDNN, which doesn't sound quite right. There is no mention of this on the build instructions with the OneDNN provider here, and CMakeLists.txt doesn't expose any flag to set the OpenMP location, contrary to several other dependencies (e.g. onnxruntime_CUDA_HOME).
This looks more like ONNXRuntime is supposed to automatically take care of it but it's failing to do so for some reason, which is also supported by the fact that a CMake configuration error happens well before the compile error (as reported in the top comment).
Describe the issue
I get errors trying to build with OneDNN
onnxruntime_USE_DNNL=ON
on an Intel MacOS machine.Urgency
No response
Target platform
MacOSX-x86-64, Clang 13.1.6
Build script
Error / output
I see this error during the CMake configuration phase:
Followed by this error at build time:
Visual Studio Version
No response
GCC / Compiler Version
No response
The text was updated successfully, but these errors were encountered: