Remove omp-device-info from LLVMExports.cmake (Closes: #996551) For real this time

This commit is contained in:
Sylvestre Ledru 2021-10-20 07:36:43 +02:00
parent a39301619e
commit 247a30585e
2 changed files with 8 additions and 1 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
llvm-toolchain-13 (1:13.0.0-7) unstable; urgency=medium
* Remove omp-device-info from LLVMExports.cmake (Closes: #996551)
For real this time
-- Sylvestre Ledru <sylvestre@debian.org> Wed, 20 Oct 2021 07:36:28 +0200
llvm-toolchain-13 (1:13.0.0-6) unstable; urgency=medium llvm-toolchain-13 (1:13.0.0-6) unstable; urgency=medium
* Remove omp-device-info from LLVMExports.cmake (Closes: #996551) * Remove omp-device-info from LLVMExports.cmake (Closes: #996551)

2
debian/rules vendored
View File

@ -765,7 +765,7 @@ endif
rm -f $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/include/llvm/Support/LICENSE.TXT rm -f $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/include/llvm/Support/LICENSE.TXT
# Disable CMake's package validation checks for target files that we may remove. # Disable CMake's package validation checks for target files that we may remove.
sed -i '/_IMPORT_CHECK_TARGETS \(Polly\|sancov\|omp-device-info\|omptarget\)/ {s|^|#|}' $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/cmake/llvm/LLVMExports-*.cmake sed -i '/_IMPORT_CHECK_TARGETS \(Polly\|sancov\|llvm-omp-device-info\|omptarget\)/ {s|^|#|}' $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/cmake/llvm/LLVMExports-*.cmake
# Disable CMake's package validation checks for binaries that may not be installed # Disable CMake's package validation checks for binaries that may not be installed
sed -i 's|.*_IMPORT_CHECK_FILES_FOR_.*/bin/.*)|#&|' $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/cmake/clang/ClangTargets-*.cmake sed -i 's|.*_IMPORT_CHECK_FILES_FOR_.*/bin/.*)|#&|' $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/cmake/clang/ClangTargets-*.cmake