From 71f9f0cf0502656473dea3613133a137c22a45ab Mon Sep 17 00:00:00 2001 From: Gunhan Gulsoy Date: Wed, 12 Jun 2019 21:16:40 -0700 Subject: [PATCH] Create rbe bazel build config using Goocle RBE service. PiperOrigin-RevId: 252958517 --- .bazelrc | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.bazelrc b/.bazelrc index 52f62657efc..5295b6134be 100644 --- a/.bazelrc +++ b/.bazelrc @@ -124,6 +124,26 @@ build --define=INCLUDEDIR=$(PREFIX)/include # Suppress all warning messages. build:short_logs --output_filter=DONT_MATCH_ANYTHING +# Options when using remote execution +build:rbe --action_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1 +build:rbe --auth_enabled=true +build:rbe --auth_scope=https://www.googleapis.com/auth/cloud-source-tools +build:rbe --define=EXECUTOR=remote +build:rbe --flaky_test_attempts=3 +build:rbe --jobs=200 +build:rbe --remote_accept_cached=true +build:rbe --remote_cache=remotebuildexecution.googleapis.com +build:rbe --remote_executor=remotebuildexecution.googleapis.com +build:rbe --remote_local_fallback=false +build:rbe --remote_timeout=600 +build:rbe --spawn_strategy=remote +build:rbe --strategy=Genrule=remote +build:rbe --strategy=Closure=remote +build:rbe --strategy=Javac=remote +build:rbe --strategy=TestRunner=remote +build:rbe --tls_enabled +test:rbe --test_env=USER=anon + # Default options should come above this line # Options from ./configure