mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-19 14:21:35 +00:00
fix the cmake detection with libmlir
This commit is contained in:
parent
8681b0ebb1
commit
18f70bf18e
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
||||
llvm-toolchain-14 (1:14.0.6-4) UNRELEASED; urgency=medium
|
||||
|
||||
* fix the cmake detection with libmlir
|
||||
|
||||
-- Sylvestre Ledru <sylvestre@debian.org> Sun, 09 Oct 2022 20:33:54 +0200
|
||||
|
||||
llvm-toolchain-14 (1:14.0.6-3) unstable; urgency=medium
|
||||
|
||||
* Fix a typo to silent lintian (Closes: #1018770)
|
||||
|
3
debian/rules
vendored
3
debian/rules
vendored
@ -897,7 +897,8 @@ endif
|
||||
|
||||
# Also disable mlir-* checks in the cmake
|
||||
sed -i '/_IMPORT_CHECK_TARGETS \(mlir-\|MLIR\)/ {s|^|#|}' $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/cmake/llvm/LLVMExports-*.cmake
|
||||
sed -i '/_cmake_import_check_files_for_mli/ {s|^|#|}' /usr/lib/llvm-$(LLVM_VERSION)/lib/cmake/llvm/LLVMExports-release.cmake
|
||||
sed -i '/_cmake_import_check_files_for_mli/ {s|^|#|}' $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/cmake/llvm/LLVMExports-release.cmake
|
||||
sed -i '/_cmake_import_check_files_for_MLIR/ {s|^|#|}' $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/cmake/llvm/LLVMExports-release.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
|
||||
|
Loading…
Reference in New Issue
Block a user