git: 8b2e7da70855 - main - llvm19: permit incremental builds from llvm18
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 23 Oct 2024 22:38:36 UTC
The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=8b2e7da70855e48c0ba8c874fa528b599fb7c9a9 commit 8b2e7da70855e48c0ba8c874fa528b599fb7c9a9 Author: Brooks Davis <brooks@FreeBSD.org> AuthorDate: 2024-10-23 22:37:28 +0000 Commit: Brooks Davis <brooks@FreeBSD.org> CommitDate: 2024-10-23 22:38:18 +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 --- 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 001a450bf182..3678e3368b39 100755 --- a/tools/build/depend-cleanup.sh +++ b/tools/build/depend-cleanup.sh @@ -215,3 +215,13 @@ if [ ${MACHINE} = riscv ]; then fi done 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