mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-03 10:53:06 +00:00
rules: take some patches from Ubuntu to save extra space during build
This commit is contained in:
parent
eee8322010
commit
4afa87abac
3
debian/rules
vendored
3
debian/rules
vendored
@ -803,6 +803,7 @@ endif
|
||||
|
||||
# Probably useless
|
||||
rm -f $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/python*/*-packages/six.py
|
||||
rm -f $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/local/lib/python*/*-packages/six.py
|
||||
rm -rf $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/build/utils/lit/lit/__pycache__/ \
|
||||
$(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/build/utils/lit/lit/*/__pycache__/
|
||||
|
||||
@ -1099,5 +1100,7 @@ override_dh_auto_clean:
|
||||
fi
|
||||
: # for some reason, the docs are written to debian/usr and debian/man ...
|
||||
rm -rf debian/usr debian/man
|
||||
: # remove extra stamps
|
||||
rm -f debian-*-build
|
||||
|
||||
.PHONY: override_dh_strip preconfigure debian-full-build debian-libfuzzer-build debian-libclc-build
|
||||
|
Loading…
Reference in New Issue
Block a user