diff --git a/debian/changelog b/debian/changelog index 14056bf8..46cddf91 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,7 @@ llvm-toolchain-19 (1:19.1.0~++rc4-3) UNRELEASED; urgency=medium * Consolidate disabling CMake's package validation checks a bit. * debian/qualify-clang.sh: Skip OpenMP test, if libomp-dev is not available. + * Disable CMake's package validation check for libLLVM.so.1. -- Matthias Klose Thu, 05 Sep 2024 10:59:19 +0200 diff --git a/debian/rules b/debian/rules index e3d0160c..26a166cc 100755 --- a/debian/rules +++ b/debian/rules @@ -1342,6 +1342,12 @@ endif -e '/_cmake_import_check_targets \(Polly\|sancov\|llvm-omp-device-info\|LibcTableGenUtil\|omptarget\|omp\)/ {s|^|#|}' \ $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/cmake/llvm/LLVMExports-*.cmake +# the obscure libLLVM.so.1 file ... + sed -i \ + -e '/_cmake_import_check_targets LLVM/ {s|^|#|}' \ + -e '/_cmake_import_check_files_for_.*\/libLLVM\.so\.1.*/ {s|^|#|}' \ + $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/cmake/llvm/LLVMExports-*.cmake + # Also disable mlir-* checks in the cmake sed -i \ -e '/_cmake_import_check_targets \(mlir-\|MLIR\)/ {s|^|#|}' \