mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
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 8b2e7da708)
This commit is contained in:
parent
628e76a986
commit
2d7d4c6626
1 changed files with 10 additions and 0 deletions
|
|
@ -166,3 +166,13 @@ if [ -f "$OBJTOP"/rescue/rescue/rescue.mk ] && \
|
|||
echo "removing rescue.mk without nvme_util.o"
|
||||
rm -f "$OBJTOP"/rescue/rescue/rescue.mk
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue