git: d4dab32448ce - main - depend-cleanup: ensure clang and llvm binaries are rebuilt
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 25 Apr 2025 18:00:00 UTC
The branch main has been updated by dim:
URL: https://cgit.FreeBSD.org/src/commit/?id=d4dab32448ce7aff01273ecf9965125f0cb8067a
commit d4dab32448ce7aff01273ecf9965125f0cb8067a
Author: Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2025-04-25 17:58:03 +0000
Commit: Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2025-04-25 17:58:03 +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
---
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 ab779ea83a64..33ca8ecb709f 100755
--- a/tools/build/depend-cleanup.sh
+++ b/tools/build/depend-cleanup.sh
@@ -346,3 +346,17 @@ clean_dep usr.sbin/ctld isns c
clean_dep usr.sbin/ctld kernel c
clean_dep usr.sbin/ctld login c
clean_dep usr.sbin/ctld uclparse 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