From 80418d5709ecc1813fd6d94172f3825fb63eea57 Mon Sep 17 00:00:00 2001 From: Jonas Termansen Date: Wed, 10 Jan 2024 14:41:51 +0000 Subject: [PATCH] Fix RBE through llvm if the source file is linked to the destination. Change-Id: I97c3321c729c2a0d62a910d5deb50c4876fe6305 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/345540 Reviewed-by: Jonas Jensen --- build/rbe/llvm.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build/rbe/llvm.sh b/build/rbe/llvm.sh index 7e60059a72b..a5a241434f8 100755 --- a/build/rbe/llvm.sh +++ b/build/rbe/llvm.sh @@ -1,5 +1,6 @@ #!/bin/sh os=$(uname -s | tr '[A-Z]' '[a-z']) arch=$(uname -m | tr '[A-Z]' '[a-z'] | sed -E 's/^x86_64$/x64/') +rm -f "$1" cp "../../buildtools/$os-$arch/clang/bin/llvm" "$1" "$@"