File tree 1 file changed +0
-9
lines changed 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -74,15 +74,6 @@ if (onnxruntime_ENABLE_TRAINING)
74
74
target_include_directories (onnxruntime_pybind11_state PRIVATE ${ORTTRAINING_ROOT} )
75
75
endif ()
76
76
77
- # Disable certain pybind11 warnings while building using AppleClang 12 on macOS
78
- # TODO, remove this after switch to pybind11 2.6.0+
79
- if (APPLE AND ${CMAKE_CXX_COMPILER_ID} STREQUAL "AppleClang" AND ${CMAKE_CXX_COMPILER_VERSION} VERSION_GREATER_EQUAL 12.0)
80
- # https://github.com/pybind/pybind11/pull/2522
81
- target_compile_options (onnxruntime_pybind11_state PRIVATE "-Wno-range-loop-analysis" )
82
- # https://github.com/pybind/pybind11/pull/2294
83
- target_compile_options (onnxruntime_pybind11_state PRIVATE "-Wno-unused-value" )
84
- endif ()
85
-
86
77
if (APPLE )
87
78
set (ONNXRUNTIME_SO_LINK_FLAG "-Xlinker -exported_symbols_list ${ONNXRUNTIME_ROOT} /python/exported_symbols.lst" )
88
79
elseif (UNIX )
You can’t perform that action at this time.
0 commit comments