Fix RBE llvm wrapper setting the world on fire.

I don't want to set the world on fire.

Change-Id: Icef12a8398eee6cf78b8852ccba73a318c8c5563
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/345542
Reviewed-by: Jonas Jensen <jonasfj@google.com>
This commit is contained in:
Jonas Termansen 2024-01-10 14:56:18 +00:00
parent 80418d5709
commit c348fd0865
2 changed files with 6 additions and 2 deletions

View file

@ -28,7 +28,9 @@ template("android_toolchain") {
} else if (use_rbe) {
compiler_args =
rewrapper_args + [ "--labels=type=compile,compiler=clang,lang=cpp" ]
if (rbe_os != host_os || rbe_cpu != host_cpu) {
# TODO: Unfortunately I see no way to get build_arch reliably.
if (rbe_os != host_os) {
compiler_args += [
"--inputs=build/rbe,buildtools/$rbe_os-$rbe_cpu/clang/bin/llvm",
"--remote_wrapper=../../build/rbe/llvm.sh",

View file

@ -26,7 +26,9 @@ if (use_goma) {
} else if (use_rbe) {
compiler_args =
rewrapper_args + [ "--labels=type=compile,compiler=clang,lang=cpp" ]
if (rbe_os != host_os || rbe_cpu != host_cpu) {
# TODO: Unfortunately I see no way to get build_arch reliably.
if (rbe_os != host_os) {
compiler_args += [
"--inputs=build/rbe,buildtools/$rbe_os-$rbe_cpu/clang/bin/llvm",
"--remote_wrapper=../../build/rbe/llvm.sh",