[Build] OpenVINO ep for macOS #24273
Labels
build
build issues; typically submitted using template
ep:OpenVINO
issues related to OpenVINO execution provider
stale
issues that have not been addressed in a while; categorized by a bot
Describe the issue
Hello 👋,
I am trying to build the OpenVINO execution provider for desktop platforms.
The builds for Windows x86_64 with
\MT
and\MD
are successful, as well as the Linux x86_64 and arm64 builds. However, both macOS x86_64 and arm64 builds still fail. Both in the same way:CMake Error at CMakeLists.txt:187 (install): install IMPORTED_RUNTIME_ARTIFACTS given target "onnxruntime_providers_shared" which does not exist.
I had a discussion about it with @decahedron1 in an issue of the
ort
-crate and it looks like theonnxruntime_providers_shared
target which the OpenVINO ep depends on is not available on macOS:onnxruntime/cmake/onnxruntime_providers_cpu.cmake
Lines 219 to 226 in 5068ab9
Is this assumption correct or should the OpenVINO ep be available for macOS? The ONNX runtime docs page about the OpenVINO ep does not mention macOS at all, yet, OpenVINO itself runs fine on macOS.
If the OpenVINO ep is not intended to work on macOS, furthermore the ONNX runtime docs can be misleading:
This paragraph indicates clearly that there are shared provider libraries on macOS and implies that there even is an OpenVINO ep for macOS.
Urgency
No response
Target platform
macOS (x86_64/arm64)
Build script
Custom build script hosted here: https://github.com/alfatraining/ort-artifacts-staging
Error / output
CMake Error at CMakeLists.txt:187 (install): install IMPORTED_RUNTIME_ARTIFACTS given target "onnxruntime_providers_shared" which does not exist.
Visual Studio Version
No response
GCC / Compiler Version
No response
The text was updated successfully, but these errors were encountered: