Explorar o código

Adding GRPC_PORT_ISOLATED_RUNTIME=1 to mac.bazelrc.

Since remote builds do not use port server, GRPC_PORT_ISOLATED_RUNTIME
is needed and it is missing from mac.bazelrc.

Before this fix
tools/bazel --bazelrc=tools/remote_build/mac.bazelrc test --config=opt test/cpp/end2end/...
failed with errors like
D0117 00:38:28.961089757      16 port_server_client.cc:139]  failed port pick from server: retrying

After this fix
build and test succeeded
Donna Dionne %!s(int64=6) %!d(string=hai) anos
pai
achega
bf3ea2e3a5
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      tools/remote_build/mac.bazelrc

+ 3 - 0
tools/remote_build/mac.bazelrc

@@ -4,6 +4,9 @@
 # but try to use RBE build cache and upload results
 # but try to use RBE build cache and upload results
 # to ResultStore
 # to ResultStore
 
 
+# don't use port server
+build --define GRPC_PORT_ISOLATED_RUNTIME=1
+
 startup --host_jvm_args=-Dbazel.DigestFunction=SHA256
 startup --host_jvm_args=-Dbazel.DigestFunction=SHA256
 
 
 # remote cache is needed not only for build speedup,
 # remote cache is needed not only for build speedup,