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.
This commit is contained in:
1 parent
e21ad3bba2
commit
c4d1bda332
1 file changed
+2
-2
@@ -129,10 +129,10 @@ for arch in $ARCHS; do
|
||||
aarch64)
|
||||
# asan doesn't work on aarch64 or armv7; make this clear by omitting
|
||||
# the installed files altogether.
|
||||
rm "$INSTALL_PREFIX/lib/windows/libclang_rt.asan"*aarch64*
|
||||
rm -f "$INSTALL_PREFIX/lib/windows/libclang_rt.asan"*aarch64*
|
||||
;;
|
||||
armv7)
|
||||
rm "$INSTALL_PREFIX/lib/windows/libclang_rt.asan"*arm*
|
||||
rm -f "$INSTALL_PREFIX/lib/windows/libclang_rt.asan"*arm*
|
||||
;;
|
||||
*)
|
||||
mv "$INSTALL_PREFIX/lib/windows/"*.dll "$PREFIX/$arch-w64-mingw32/bin"
|
||||
|
||||
Reference in new issue
Block a user