[changes introduced in llvm-toolchain-7 1:7.0.1-1+rpi2 by Peter Michael Green]
* Change triplet in debian/rules to use armv6k rather than armv7l
- -- Raspbian forward porter <root@raspbian.org> Mon, 25 Nov 2019 03:12:48 +0000
+ -- Peter Michael Green <plugwash@raspbian.org> Tue, 26 Nov 2019 11:23:31 +0000
llvm-toolchain-9 (1:9.0.0-3) unstable; urgency=medium
with the one we want for raspbian.
--- /dev/null
-+++ llvm-toolchain-9-9/cmake/config.guess.hack
++++ llvm-toolchain-9-9/llvm/cmake/config.guess.hack
@@ -0,0 +1,2 @@
+#!/bin/bash -e
+$(dirname "$0")/config.guess | sed -r s/arm[a-zA-Z0-9]*/armv6/
# add executable flag to script we added as part of triplet hack
# --plugwash
- chmod 755 cmake/config.guess.hack
+ chmod 755 llvm/cmake/config.guess.hack
# also make sure config.guess is executable
- chmod 755 cmake/config.guess
+ chmod 755 llvm/cmake/config.guess
for f in debian/*.in; do \
f2=$$(echo $$f | sed 's/\.in$$//;s/X\.Y/$(LLVM_VERSION)/'); \
rm -f debian/*.links debian/c*.lintian-overrides debian/l*.lintian-overrides debian/*.META debian/*.dirs debian/*.docs debian/*.symbols debian/*.postinst debian/*.manpages debian/*.examples debian/*.binfmt debian/*.prerm
-rmdir clang/include/clang/Debian/
-rmdir lldb/docs/doc/
- chmod 644 cmake/config.guess.hack
+ chmod 644 llvm/cmake/config.guess.hack
if test -f lld/docs/ld.lld-$(LLVM_VERSION).1; then \
mv lld/docs/ld.lld-$(LLVM_VERSION).1 lld/docs/ld.lld.1; \
fi