From ba5358deed22b5f2cd54d43dce033baab69b3e28 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Fri, 1 Mar 2024 13:58:07 +0100 Subject: [PATCH] Disable the install of libomp in sub arch Following 1977404d20ab29ff78a58d8c0f1f4c5e7aef6b16 --- debian/changelog | 2 ++ debian/rules | 1 + 2 files changed, 3 insertions(+) diff --git a/debian/changelog b/debian/changelog index 406eb6aa..61830d6b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,6 +6,8 @@ llvm-toolchain-snapshot (1:19~++20240125092523+41fe98a6e7e5-1~exp2) UNRELEASED; * Also install usr/lib/llvm-19/lib/libLLVM.so.1 and usr/lib/llvm-19/lib/libLLVM.so.19.0 * Install clang-installapi as part of clang-tools + * Disable the install of libomp in sub arch + Following 1977404d20ab29ff78a58d8c0f1f4c5e7aef6b16 [ John Paul Adrian Glaubitz ] * Install *clang_rt* on sparc and sparc64 diff --git a/debian/rules b/debian/rules index a5820140..e6c1393d 100755 --- a/debian/rules +++ b/debian/rules @@ -786,6 +786,7 @@ endif -DLIBOMP_ENABLE_RTTI=OFF \ -DLIBOMP_OMPT_SUPPORT=OFF \ -DCLANG_FORCE_MATCHING_LIBCLANG_SOVERSION=ON \ + -DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=OFF \ $(CMAKE_EXTRA) \ -DBUILTINS_CMAKE_ARGS="-DCMAKE_C_FLAGS=$(STAGE_1_CFLAGS);-DCMAKE_CXX_FLAGS=$(STAGE_1_CXXFLAGS);-DCMAKE_EXE_LINKER_FLAGS=$(STAGE_1_LDFLAGS);-DCMAKE_SHARED_LINKER_FLAGS=$(STAGE_1_LDFLAGS);-DCMAKE_MODULE_LINKER_FLAGS=$(STAGE_1_LDFLAGS);-DCMAKE_BUILD_TYPE=Release;-DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=OFF" \ -DRUNTIMES_CMAKE_ARGS="-DCMAKE_C_FLAGS=$(STAGE_1_CFLAGS);-DCMAKE_CXX_FLAGS=$(STAGE_1_CXXFLAGS);-DCMAKE_EXE_LINKER_FLAGS=$(STAGE_1_LDFLAGS);-DCMAKE_SHARED_LINKER_FLAGS=$(STAGE_1_LDFLAGS);-DCMAKE_MODULE_LINKER_FLAGS=$(STAGE_1_LDFLAGS);-DCMAKE_BUILD_TYPE=Release;-DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=OFF" \