Skip to content

Commit 0a715ca

Browse files
authored
Merge pull request #9878 from rabbitmq/mergify/bp/v3.12.x/pr-9877
Adjust strategy flags for bazel (backport #9877)
2 parents d934dac + 77664da commit 0a715ca

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.bazelrc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ build:rbe --config=buildbuddy
3636

3737
build:rbe --remote_executor=grpcs://remote.buildbuddy.io
3838

39-
build:rbe --spawn_strategy=remote,local
40-
build:rbe --test_strategy=""
39+
build:rbe --strategy=TestRunner=remote,worker,sandboxed,local
4140
build:rbe --jobs=50
4241

4342
build:rbe --crosstool_top=@rbe//cc:toolchain

user-template.bazelrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# rabbitmqctl wait shells out to 'ps', which is broken in the bazel macOS
22
# sandbox (https://github.com/bazelbuild/bazel/issues/7448)
3-
# adding "--spawn_strategy=local" to the invocation is a workaround
4-
build --spawn_strategy=local
3+
# adding "--strategy=TestRunner=local" to the invocation is a workaround
4+
build --strategy=TestRunner=local
55

66
# --experimental_strict_action_env breaks memory size detection on macOS,
77
# so turn it off for local runs

0 commit comments

Comments
 (0)