From 8f3087bc4b1d2a0d83e65e36afa99aed2e07946a Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Mon, 23 May 2022 10:17:30 +0200 Subject: [PATCH] also disable _IMPORT_CHECK_FILES_FOR_MLIRSupportIndentedOstream --- debian/rules | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/rules b/debian/rules index 4ef8b232..c7fdfd34 100755 --- a/debian/rules +++ b/debian/rules @@ -858,6 +858,7 @@ endif # Also disable mlir-* checks in the cmake sed -i '/_IMPORT_CHECK_TARGETS \(mlir-\|MLIR|tblgen-lsp-server\)/ {s|^|#|}' $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/cmake/llvm/LLVMExports-*.cmake + sed -i '/_IMPORT_CHECK_FILES_FOR_\(mlir-\|MLIR\)/ {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 sed -i 's|.*_IMPORT_CHECK_FILES_FOR_.*/bin/.*)|#&|' $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/cmake/clang/ClangTargets-*.cmake