From 6a6bc2f137a82f4d9dccce0798772c92cc6f4c53 Mon Sep 17 00:00:00 2001 From: LLVM Packaging Team Date: Wed, 18 Dec 2024 10:01:43 +0100 Subject: [PATCH] disable-openmp-per-target =================================================================== Gbp-Pq: Name disable-openmp-per-target.diff --- openmp/CMakeLists.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/openmp/CMakeLists.txt b/openmp/CMakeLists.txt index b025a250dd..14c942b890 100644 --- a/openmp/CMakeLists.txt +++ b/openmp/CMakeLists.txt @@ -51,13 +51,13 @@ else() set(OPENMP_ENABLE_WERROR ${LLVM_ENABLE_WERROR}) # When building in tree we install the runtime according to the LLVM settings. - if(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR AND NOT APPLE) - set(OPENMP_INSTALL_LIBDIR lib${LLVM_LIBDIR_SUFFIX}/${LLVM_DEFAULT_TARGET_TRIPLE} CACHE STRING - "Path where built openmp libraries should be installed.") - else() +# if(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR AND NOT APPLE) +# set(OPENMP_INSTALL_LIBDIR lib${LLVM_LIBDIR_SUFFIX}/${LLVM_DEFAULT_TARGET_TRIPLE} CACHE STRING +# "Path where built openmp libraries should be installed.") +# else() set(OPENMP_INSTALL_LIBDIR "lib${LLVM_LIBDIR_SUFFIX}" CACHE STRING "Path where built OpenMP libraries should be installed.") - endif() +# endif() if (NOT MSVC) set(OPENMP_TEST_C_COMPILER ${LLVM_RUNTIME_OUTPUT_INTDIR}/clang) -- 2.30.2