We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e364ddf commit 3574126Copy full SHA for 3574126
openmp/runtime/src/CMakeLists.txt
@@ -139,6 +139,8 @@ libomp_get_asmflags(LIBOMP_CONFIGURED_ASMFLAGS)
139
set_source_files_properties(${LIBOMP_CXXFILES} PROPERTIES COMPILE_FLAGS "${LIBOMP_CONFIGURED_CXXFLAGS}")
140
set_source_files_properties(${LIBOMP_ASMFILES} ${LIBOMP_GNUASMFILES} PROPERTIES COMPILE_FLAGS "${LIBOMP_CONFIGURED_ASMFLAGS}")
141
142
+add_definitions(-U_GLIBCXX_ASSERTIONS)
143
+add_definitions(-U_LIBCPP_ENABLE_ASSERTIONS)
144
# Remove any cmake-automatic linking of the standard C++ library.
145
# We neither need (nor want) the standard C++ library dependency even though we compile c++ files.
146
if(NOT ${LIBOMP_USE_STDCPPLIB})
0 commit comments