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
Copy file name to clipboardExpand all lines: cmake/CMakeLists.txt
+5-4
Original file line number
Diff line number
Diff line change
@@ -87,6 +87,7 @@ option(onnxruntime_USE_CUDA_NHWC_OPS "Build CUDA with NHWC op support" OFF)
87
87
option(onnxruntime_CUDA_MINIMAL "Build CUDA without any operations apart from memcpy ops. Usefuel for a very minial TRT build"OFF)
88
88
option(onnxruntime_ENABLE_CUDA_LINE_NUMBER_INFO "When building with CUDA support, generate device code line number information."OFF)
89
89
option(onnxruntime_USE_OPENVINO "Build with OpenVINO support"OFF)
90
+
option(onnxruntime_USE_OPENVINO_STATIC_LIBS "Build with OpenVINO support as Static Library"OFF)
90
91
option(onnxruntime_USE_COREML "Build with CoreML support"OFF)
91
92
option(onnxruntime_USE_NNAPI_BUILTIN "Build with builtin NNAPI lib for Android NNAPI support"OFF)
92
93
option(onnxruntime_USE_QNN "Build with QNN support"OFF)
@@ -140,7 +141,7 @@ option(onnxruntime_ARMNN_RELU_USE_CPU "Use the CPU implementation for the Relu o
140
141
option(onnxruntime_ARMNN_BN_USE_CPU "Use the CPU implementation for the Batch Normalization operator for the ArmNN EP"ON)
141
142
option(onnxruntime_ENABLE_INSTRUMENT "Enable Instrument with Event Tracing for Windows (ETW)"OFF)
142
143
option(onnxruntime_USE_TELEMETRY "Build with Telemetry"OFF)
143
-
cmake_dependent_option(onnxruntime_USE_MIMALLOC "Override new/delete and arena allocator with mimalloc"OFF"WIN32;NOT onnxruntime_USE_CUDA;NOT onnxruntime_USE_OPENVINO"OFF)
144
+
cmake_dependent_option(onnxruntime_USE_MIMALLOC "Override new/delete and arena allocator with mimalloc"OFF"WIN32;NOT onnxruntime_USE_CUDA;NOT onnxruntime_USE_OPENVINO; NOT onnxruntime_USE_OPENVINO_STATIC_LIBS"OFF)
144
145
option(onnxruntime_USE_CANN "Build with CANN support"OFF)
145
146
option(onnxruntime_USE_ROCM "Build with AMD GPU support"OFF)
146
147
option(onnxruntime_USE_TVM "Build with TVM support"OFF)
@@ -606,7 +607,7 @@ if (WIN32)
606
607
# structure was padded due to __declspec(align())
607
608
list(APPEND ORT_WARNING_FLAGS "/wd4324")
608
609
# warning C4800: Implicit conversion from 'X' to bool. Possible information loss
609
-
if (onnxruntime_USE_OPENVINO)
610
+
if (onnxruntime_USE_OPENVINOOR onnxruntime_USE_OPENVINO_STATIC_LIBS)
610
611
list(APPEND ORT_WARNING_FLAGS "/wd4800")
611
612
endif()
612
613
# operator 'operator-name': deprecated between enumerations of different types
0 commit comments