Skip to content

Commit 2cdd6c2

Browse files
committed
Update CMakeLists.txt
1 parent a784f16 commit 2cdd6c2

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

cmake/CMakeLists.txt

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,6 @@ set_property(GLOBAL PROPERTY USE_FOLDERS ON)
5050
# NOTE: POSITION INDEPENDENT CODE hurts performance, and it only make sense on POSIX systems
5151
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
5252

53-
#set(CMAKE_CXX_COMPILER "/usr/bin/clang++ --target=arm64-apple-macos14.0-macabi" ) #Paco
54-
#set(CMAKE_C_COMPILER "/usr/bin/clang --target=arm64-apple-macos14.0-macabi" )
55-
56-
#set(CMAKE_CXX_FLAGS "--target=arm64-apple-macos14.0-macabi" ) #Paco
57-
#set(CMAKE_C_FLAGS "--target=arm64-apple-macos14.0-macabi" )
58-
59-
# Suggested by https://gitlab.kitware.com/cmake/cmake/-/issues/20132
60-
# Because MacCatalyst does not support well in CMake
61-
add_compile_options(-Wno-overriding-t-option)
62-
add_link_options(-Wno-overriding-t-option)
63-
6453
# Enable CTest
6554
enable_testing()
6655
include(Dart)
@@ -130,7 +119,7 @@ option(onnxruntime_DONT_VECTORIZE "Do not vectorize operations in Eigen" OFF)
130119

131120
option(onnxruntime_USE_FULL_PROTOBUF "Link to libprotobuf instead of libprotobuf-lite when this option is ON" OFF)
132121
option(onnxruntime_ENABLE_LANGUAGE_INTEROP_OPS "Enable operator implemented in language other than cpp" OFF)
133-
option(onnxruntime_DEBUG_NODE_INPUTS_OUTPUTS "Dump debug information about node inputs and outputs when executing the model." ON)
122+
option(onnxruntime_DEBUG_NODE_INPUTS_OUTPUTS "Dump debug information about node inputs and outputs when executing the model." OFF)
134123
cmake_dependent_option(onnxruntime_DEBUG_NODE_INPUTS_OUTPUTS_ENABLE_DUMP_TO_SQLDB "Build dump debug information about node inputs and outputs with support for sql database." OFF "onnxruntime_DEBUG_NODE_INPUTS_OUTPUTS" OFF)
135124
option(onnxruntime_USE_DML "Build with DirectML support" OFF)
136125
option(onnxruntime_USE_MIGRAPHX "Build with AMDMIGraphX support" OFF)
@@ -1661,8 +1650,6 @@ endif()
16611650
#Now the 'onnxruntime_EXTERNAL_LIBRARIES' variable should be sealed. It will be used in onnxruntime.cmake which will be included in the next.
16621651
#The order of the following targets matters. Right depends on left. If target A appears before target B. Then A.cmake can not use variables defined in B.cmake.
16631652
set(ONNXRUNTIME_CMAKE_FILES onnxruntime_flatbuffers onnxruntime_common onnxruntime_mlas onnxruntime_graph onnxruntime_framework onnxruntime_util onnxruntime_providers onnxruntime_optimizer onnxruntime_session ${ONNXRUNTIME_EAGER_CMAKE_FILE_NAME})
1664-
# set(ONNXRUNTIME_CMAKE_FILES onnxruntime_flatbuffers onnxruntime_common onnxruntime_mlas) #Paco to be disable
1665-
# set(ONNXRUNTIME_CMAKE_FILES onnxruntime_mlas) #Paco to be disable
16661653

16671654
if (onnxruntime_USE_WINML)
16681655
# WINML uses and depends on the shared lib. Note: You can build WINML without DML and you will get a

0 commit comments

Comments
 (0)