From 73ce4026efa6c602122ae26b245c8d61818a7e28 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sat, 2 Oct 2021 19:06:51 +0200 Subject: [PATCH] Be more flexible to install libomptarget-*.bc (ex: libomptarget-new-nvptx-*.bc are new) --- debian/changelog | 2 ++ debian/libomp-X.Y-dev.install.in | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index df70fef9..64e58150 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,8 @@ llvm-toolchain-snapshot (1:14~++20211002060945+9452ec722ce0-1~exp1) experimental * Fix the "all" build * Disable LIBCXX_USE_COMPILER_RT on s390x as it fails. See bug 52022 * Adjust the libomp_start_tool visibility on armhf + * Be more flexible to install libomptarget-*.bc + (ex: libomptarget-new-nvptx-*.bc are new) -- Sylvestre Ledru Sat, 02 Oct 2021 18:15:52 +0200 diff --git a/debian/libomp-X.Y-dev.install.in b/debian/libomp-X.Y-dev.install.in index e4faa702..7cc0da4c 100644 --- a/debian/libomp-X.Y-dev.install.in +++ b/debian/libomp-X.Y-dev.install.in @@ -8,7 +8,6 @@ [!armhf !mips64el] /usr/lib/llvm-@LLVM_VERSION@/lib/libarcher_static.a [!armhf !mips64el] /usr/lib/llvm-@LLVM_VERSION@/lib/libarcher.so -[amd64 ppc64el arm64] /usr/lib/llvm-@LLVM_VERSION@/lib/libomptarget-amdgcn-*.bc -[amd64 ppc64el arm64] /usr/lib/llvm-@LLVM_VERSION@/lib/libomptarget-nvptx-*.bc +[amd64 ppc64el arm64] /usr/lib/llvm-@LLVM_VERSION@/lib/libomptarget-*.bc usr/lib/llvm-@LLVM_VERSION@/lib/cmake/openmp/*.cmake