Skip to content

Commit b2bd178

Browse files
committed
depend-cleanup: ensure clang and llvm binaries are rebuilt
In 2e47f35, 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 d4dab32)
1 parent ae60fcd commit b2bd178

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

tools/build/depend-cleanup.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,3 +171,17 @@ if [ -e "$f" ]; then
171171
run rm -f "$p"/*.inc
172172
fi
173173
fi
174+
175+
# 20250425 2e47f35be5dc libllvm, libclang and liblldb became shared libraries
176+
if [ -f "$OBJTOP"/lib/clang/libllvm/libllvm.a ]; then
177+
echo "Removing old static libllvm library"
178+
run rm -f "$OBJTOP"/lib/clang/libllvm/libllvm.a
179+
fi
180+
if [ -f "$OBJTOP"/lib/clang/libclang/libclang.a ]; then
181+
echo "Removing old static libclang library"
182+
run rm -f "$OBJTOP"/lib/clang/libclang/libclang.a
183+
fi
184+
if [ -f "$OBJTOP"/lib/clang/liblldb/liblldb.a ]; then
185+
echo "Removing old static liblldb library"
186+
run rm -f "$OBJTOP"/lib/clang/liblldb/liblldb.a
187+
fi

0 commit comments

Comments
 (0)