openvino/openvino-onnx-ml-defines.patch
Guillaume GARDET 799becee5b Accepting request 1169921 from science
OpenVINO is an open-source toolkit for optimizing and deploying AI inference developed by Intel

Superseded after specfile updates

OBS-URL: https://build.opensuse.org/request/show/1169921
OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/openvino?expand=0&rev=1
2024-05-06 10:14:29 +00:00

13 lines
489 B
Diff

Index: openvino-2024.0.0/thirdparty/dependencies.cmake
===================================================================
--- openvino-2024.0.0.orig/thirdparty/dependencies.cmake
+++ openvino-2024.0.0/thirdparty/dependencies.cmake
@@ -482,6 +482,7 @@ if(ENABLE_OV_ONNX_FRONTEND)
if(ONNX_FOUND)
# conan and vcpkg create imported targets 'onnx' and 'onnx_proto'
+ add_compile_definitions(ONNX_ML=1)
else()
add_subdirectory(thirdparty/onnx)
endif()