1
0
mirror of https://github.com/dart-lang/sdk synced 2024-07-03 00:08:46 +00:00

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 <jonasfj@google.com>
This commit is contained in:
Jonas Termansen 2024-01-10 14:41:51 +00:00
parent a3a6c8ff91
commit 80418d5709

View File

@ -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"
"$@"