mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-26 21:37:07 +00:00
Fix the cmake file with the mlir introducing
This commit is contained in:
parent
a13a744dde
commit
68e5f7c01b
4
debian/changelog
vendored
4
debian/changelog
vendored
@ -1,8 +1,8 @@
|
||||
llvm-toolchain-13 (1:13.0.1~+rc1-1~exp4) experimental; urgency=medium
|
||||
|
||||
* Fix the cmake with the mlir introducing
|
||||
* Fix the cmake file with the mlir introducing
|
||||
|
||||
-- Sylvestre Ledru <sylvestre@debian.org> Mon, 03 Jan 2022 14:21:10 +0100
|
||||
-- Sylvestre Ledru <sylvestre@debian.org> Thu, 06 Jan 2022 14:30:59 +0100
|
||||
|
||||
llvm-toolchain-13 (1:13.0.1~+rc1-1~exp3) experimental; urgency=medium
|
||||
|
||||
|
5
debian/rules
vendored
5
debian/rules
vendored
@ -788,7 +788,10 @@ endif
|
||||
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.
|
||||
sed -i '/_IMPORT_CHECK_TARGETS \(Polly\|sancov\|llvm-omp-device-info\|mlir-tblgen\|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
|
||||
|
||||
# Also disable mlir-* checks in the cmake
|
||||
sed -i '/_IMPORT_CHECK_TARGETS \(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
|
||||
|
Loading…
Reference in New Issue
Block a user