git: 99b2ab71c5b6 - stable/13 - llvm19: permit incremental builds from llvm18
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 02 Dec 2024 16:54:07 UTC
The branch stable/13 has been updated by dim:
URL: https://cgit.FreeBSD.org/src/commit/?id=99b2ab71c5b6ebf76b4dd2d3e3eaf2d281de3432
commit 99b2ab71c5b6ebf76b4dd2d3e3eaf2d281de3432
Author: Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2024-10-23 22:37:28 +0000
Commit: Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2024-12-02 15:47:49 +0000
llvm19: permit incremental builds from llvm18
Detect and delete out of date clang-tblgen produced output. I found it
sufficent for compilation to delete only arm_*.inc files, but it seems
safer to regenerate all output and a few extra clang-tblgen runs pales
in comparison to the full build we're doing at this point.
Reviewed by: dim, emaste
Differential Revision: https://reviews.freebsd.org/D47270
(cherry picked from commit 8b2e7da70855e48c0ba8c874fa528b599fb7c9a9)
---
tools/build/depend-cleanup.sh | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/tools/build/depend-cleanup.sh b/tools/build/depend-cleanup.sh
index e165ef0ba8f6..effb6376d225 100755
--- a/tools/build/depend-cleanup.sh
+++ b/tools/build/depend-cleanup.sh
@@ -95,3 +95,13 @@ if [ -d "$OBJTOP"/usr.sbin/zic/zic ] ; then
echo "Removing old zic directory"
rm -rf "$OBJTOP"/usr.sbin/zic/zic
fi
+
+# 20241018 5deeebd8c6ca Merge llvm-project release/19.x llvmorg-19.1.2-0-g7ba7d8e2f7b6
+p="$OBJTOP"/lib/clang/libclang/clang/Basic
+f="$p"/arm_mve_builtin_sema.inc
+if [ -e "$f" ]; then
+ if grep -q SemaBuiltinConstantArgRange "$f"; then
+ echo "Removing pre-llvm19 clang-tblgen output"
+ run rm -f "$p"/*.inc
+ fi
+fi