mirror of
https://github.com/dart-lang/sdk
synced 2024-10-06 16:47:20 +00:00
80418d5709
Change-Id: I97c3321c729c2a0d62a910d5deb50c4876fe6305 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/345540 Reviewed-by: Jonas Jensen <jonasfj@google.com>
7 lines
179 B
Bash
Executable file
7 lines
179 B
Bash
Executable file
#!/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"
|
|
"$@"
|