[Build] Find openvino based on env variable#19696
[Build] Find openvino based on env variable#19696gedoensmax wants to merge 2 commits intomicrosoft:mainfrom
Conversation
|
are you encountering a case where it can't find openvino? onnxruntime/cmake/CMakeLists.txt Line 1301 in 0f7a31b |
|
Yes I was encountering the issue without this line. It also tells me I should use |
ok thanks. let me loop in OV EP maintainers to review. |
|
@sfatimar , @preetha-intel , can you take a look at this? seems like @gedoensmax was having issues with the build without making this change. (I believe he's testing on Windows platform) |
|
/azp run Linux OpenVINO CI Pipeline |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@gedoensmax The changes are already part of internal branch that contains changes for OV 2024.0. It will be merged into master around March 15th. Can it happen by then? |
|
@preetha-intel Yes sure, thanks for taking care ! |
|
Fixed by #19966 |
I think the change is pretty self explanatory. The openvino installer sets the used Environment variable and therefore finding openvino is easier.