git: e925d6c2e739 - stable/14 - depend-cleanup: ensure clang and llvm binaries are rebuilt
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 09 May 2025 20:32:45 UTC
The branch stable/14 has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=e925d6c2e73934e631e5942522d80ef6b89cb8d2 commit e925d6c2e73934e631e5942522d80ef6b89cb8d2 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2025-04-25 17:58:03 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2025-05-09 17:19:56 +0000 depend-cleanup: ensure clang and llvm binaries are rebuilt In 2e47f35be5dc, libllvm, libclang and liblldb became shared libraries, so make sure the binaries that depend on these libraries get rebuilt. MFC after: 2 weeks (cherry picked from commit d4dab32448ce7aff01273ecf9965125f0cb8067a) --- tools/build/depend-cleanup.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/tools/build/depend-cleanup.sh b/tools/build/depend-cleanup.sh index c560a079f43c..00627d551bbe 100755 --- a/tools/build/depend-cleanup.sh +++ b/tools/build/depend-cleanup.sh @@ -182,3 +182,17 @@ fi clean_dep cddl/lib/libzpool abd_os c "linux/zfs/abd_os\.c" clean_dep cddl/lib/libzpool arc_os c "linux/zfs/arc_os\.c" clean_dep cddl/lib/libzpool zfs_debug c "linux/zfs/zfs_debug\.c" + +# 20250425 2e47f35be5dc libllvm, libclang and liblldb became shared libraries +if [ -f "$OBJTOP"/lib/clang/libllvm/libllvm.a ]; then + echo "Removing old static libllvm library" + run rm -f "$OBJTOP"/lib/clang/libllvm/libllvm.a +fi +if [ -f "$OBJTOP"/lib/clang/libclang/libclang.a ]; then + echo "Removing old static libclang library" + run rm -f "$OBJTOP"/lib/clang/libclang/libclang.a +fi +if [ -f "$OBJTOP"/lib/clang/liblldb/liblldb.a ]; then + echo "Removing old static liblldb library" + run rm -f "$OBJTOP"/lib/clang/liblldb/liblldb.a +fi