Bump up parallelism in windows/mac This will allow remote-cache downloads to run 4x jobs at once instead of being throttled by the number of CPUs. PiperOrigin-RevId: 1004917448
diff --git a/.bazelrc b/.bazelrc index 3427eb2..9ca58b2 100644 --- a/.bazelrc +++ b/.bazelrc
@@ -92,6 +92,8 @@ build:remote-cache --remote_download_regex=.*symbolize_test\.pdb$ # Retry up for up to 15 minutes under heavy load (exponential backoff). build:remote-cache --remote_retries=20 --remote_retry_max_delay=60s +# Use more parallel jobs for remote cache lookups and tests. +build:remote-cache --jobs=HOST_CPUS*4 build:remote-base --define=EXECUTOR=remote build:remote-base --remote_timeout=1200 --bes_timeout=600s