Revert "Fix Debug Build Using GCC 15" (#154877)

Reverts llvm/llvm-project#152223
This commit is contained in:
dpalermo 2025-08-21 21:54:58 -05:00 committed by GitHub
parent f1f194bf10
commit d26ea02060
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 1 additions and 8 deletions

View File

@ -183,10 +183,6 @@ endif ()
if (NOT WIN32) if (NOT WIN32)
add_definitions(-U_GLIBCXX_ASSERTIONS -D_GLIBCXX_NO_ASSERTIONS)
add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-fno-exceptions>)
add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-O2>)
add_flangrt_library(flang_rt.runtime STATIC SHARED add_flangrt_library(flang_rt.runtime STATIC SHARED
${sources} ${sources}
LINK_LIBRARIES ${Backtrace_LIBRARY} LINK_LIBRARIES ${Backtrace_LIBRARY}

View File

@ -50,7 +50,6 @@ add_flang_library(FIRBuilder
FIRDialectSupport FIRDialectSupport
FIRSupport FIRSupport
FortranEvaluate FortranEvaluate
FortranSupport
HLFIRDialect HLFIRDialect
MLIR_DEPS MLIR_DEPS

View File

@ -27,8 +27,6 @@ add_flang_library(HLFIRTransforms
FIRSupport FIRSupport
FIRTransforms FIRTransforms
FlangOpenMPTransforms FlangOpenMPTransforms
FortranEvaluate
FortranSupport
HLFIRDialect HLFIRDialect
LINK_COMPONENTS LINK_COMPONENTS

View File

@ -168,7 +168,7 @@ endif()
# Disable libstdc++ assertions, even in an LLVM_ENABLE_ASSERTIONS build, to # Disable libstdc++ assertions, even in an LLVM_ENABLE_ASSERTIONS build, to
# avoid an unwanted dependency on libstdc++.so. # avoid an unwanted dependency on libstdc++.so.
if(NOT WIN32) if(NOT WIN32)
add_definitions(-U_GLIBCXX_ASSERTIONS -D_GLIBCXX_NO_ASSERTIONS) add_definitions(-U_GLIBCXX_ASSERTIONS)
endif() endif()
# Add the OpenMP library # Add the OpenMP library