[Openmp-commits] [openmp] [OpenMP] Add libomp unit test infrastructure (PR #168063)
Michael Kruse via Openmp-commits
openmp-commits at lists.llvm.org
Wed Dec 17 06:08:59 PST 2025
================
@@ -118,6 +118,19 @@ if(NOT DEFINED CMAKE_MACOSX_RPATH)
set(CMAKE_MACOSX_RPATH TRUE)
endif()
+# Remove any cmake-automatic linking of the standard C++ library.
+# We neither need (nor want) the standard C++ library dependency even though we compile C++ files.
+if(NOT ${LIBOMP_USE_STDCPPLIB})
----------------
Meinersbur wrote:
```suggestion
if(NOT LIBOMP_USE_STDCPPLIB)
```
See what can happen when you do not quote variable expansion: #154537
(I realizes this is just moved code, but while at it, we can fix it)
https://github.com/llvm/llvm-project/pull/168063
More information about the Openmp-commits
mailing list