From a020dcf2cffb9b469b7633ecb70a1c5fe6ed184d Mon Sep 17 00:00:00 2001 From: d-asnaghi <30296575+hexdae@users.noreply.github.com> Date: Thu, 4 Apr 2024 16:22:58 -0500 Subject: [PATCH] [CI] fix BRE --- .bazelrc | 9 ++++++--- examples/toolchain/.bazelrc | 2 +- examples/workspace/.bazelrc | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.bazelrc b/.bazelrc index 1b7d244..f0cab74 100644 --- a/.bazelrc +++ b/.bazelrc @@ -1,9 +1,12 @@ # .bazelrc +common --enable_bzlmod + # Build using platforms by default build --incompatible_enable_cc_toolchain_resolution # Remote builds -build:remote --genrule_strategy=remote -build:remote --remote_download_minimal -build:remote --remote_executor=grpc://localhost:8980 +build:remote --remote_instance_name=main +build:remote --remote_cache=grpc://127.0.0.1:50051 +build:remote --remote_executor=grpc://127.0.0.1:50051 +build:remote --remote_default_exec_properties=cpu_count=1 diff --git a/examples/toolchain/.bazelrc b/examples/toolchain/.bazelrc index 6177581..a27807a 100644 --- a/examples/toolchain/.bazelrc +++ b/examples/toolchain/.bazelrc @@ -1,2 +1,2 @@ +common --enable_bzlmod=false build --incompatible_enable_cc_toolchain_resolution -build --enable_bzlmod=true diff --git a/examples/workspace/.bazelrc b/examples/workspace/.bazelrc index 33233a0..a27807a 100644 --- a/examples/workspace/.bazelrc +++ b/examples/workspace/.bazelrc @@ -1,2 +1,2 @@ +common --enable_bzlmod=false build --incompatible_enable_cc_toolchain_resolution -build --enable_bzlmod=false