Skip to content

Commit c4d1bda

Browse files
committed
build-compiler-rt: Don't assume that the build produced asan files for armv7/aarch64
When removing them, also accept that they are missing to begin with. Since 655933070219f2b6f3a457c7e5af7edd4b5291b4 in llvm-project (Apr 25th), asan only gets built for x86.
1 parent e21ad3b commit c4d1bda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build-compiler-rt.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,10 @@ for arch in $ARCHS; do
129129
aarch64)
130130
# asan doesn't work on aarch64 or armv7; make this clear by omitting
131131
# the installed files altogether.
132-
rm "$INSTALL_PREFIX/lib/windows/libclang_rt.asan"*aarch64*
132+
rm -f "$INSTALL_PREFIX/lib/windows/libclang_rt.asan"*aarch64*
133133
;;
134134
armv7)
135-
rm "$INSTALL_PREFIX/lib/windows/libclang_rt.asan"*arm*
135+
rm -f "$INSTALL_PREFIX/lib/windows/libclang_rt.asan"*arm*
136136
;;
137137
*)
138138
mv "$INSTALL_PREFIX/lib/windows/"*.dll "$PREFIX/$arch-w64-mingw32/bin"

0 commit comments

Comments
 (0)