[Openmp-commits] [llvm] [openmp] [Flang-RT][OpenMP] Define _GLIBCXX_NO_ASSERTIONS (PR #155440)
via Openmp-commits
openmp-commits at lists.llvm.org
Wed Aug 27 00:23:49 PDT 2025
================
@@ -167,6 +167,7 @@ endif()
# Disable libstdc++ assertions, even in an LLVM_ENABLE_ASSERTIONS build, to
# avoid an unwanted dependency on libstdc++.so.
+add_compile_definitions(_GLIBCXX_NO_ASSERTIONS)
if(NOT WIN32)
add_definitions(-U_GLIBCXX_ASSERTIONS)
----------------
jprotze wrote:
Like for flang-rt, I think we also need `-U_LIBCPP_ENABLE_ASSERTIONS` in libomp
https://github.com/llvm/llvm-project/pull/155440
More information about the Openmp-commits
mailing list