Followup to fix the cmake install (Closes: #819072)

This commit is contained in:
Sylvestre Ledru 2016-06-12 16:27:27 +00:00
parent 8d7b6ea780
commit 833df9a3db
2 changed files with 6 additions and 0 deletions

3
debian/changelog vendored
View File

@ -4,6 +4,9 @@ llvm-toolchain-3.8 (1:3.8.1~+rc1-1~exp2) UNRELEASED; urgency=medium
* debian/rules: Ensure ld-gold is used. CMake invokes the linker through
g++ most of the time, therefore we need to set -Wl,-fuse-ld=gold.
[ Brad King ]
* Followup to fix the cmake install (Closes: #819072)
-- Sylvestre Ledru <sylvestre@debian.org> Sat, 11 Jun 2016 16:53:04 +0200
llvm-toolchain-3.8 (1:3.8.1~+rc1-1~exp1) experimental; urgency=medium

3
debian/rules vendored
View File

@ -412,6 +412,9 @@ endif
# Change CMake module dir
sed -i 's|LLVM_CMAKE_DIR "/usr/lib/llvm-$(LLVM_VERSION)/share/llvm/cmake"|LLVM_CMAKE_DIR "/usr/share/llvm-$(LLVM_VERSION)/cmake"|' $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/share/llvm/cmake/LLVMConfig.cmake
# Disable CMake's package validation checks for target files that we may remove.
sed -i '/_IMPORT_CHECK_TARGETS \(Polly\|sancov\)/ {s|^|#|}' $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/share/llvm/cmake/LLVMExports-*.cmake
# Managed in python-lldb-X.Y.links.in
rm -f $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/python*/site-packages/lldb/_lldb.so