From d59fb878c7f479cdd48a1b2bdfcafeee2ec7cceb Mon Sep 17 00:00:00 2001 From: Keith Smiley Date: Mon, 22 Jan 2024 10:02:48 -0800 Subject: [PATCH 1/2] Disable builtin CC toolchain for BCR tests BCR tests run outside our repo so toolchain ordering is wrong --- .bcr/presubmit.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.bcr/presubmit.yml b/.bcr/presubmit.yml index 5365a14fac..668ed1beed 100644 --- a/.bcr/presubmit.yml +++ b/.bcr/presubmit.yml @@ -4,3 +4,5 @@ tasks: platform: macos test_targets: - '@rules_apple//examples/macos/CommandLine:ExamplesBuildTest' + build_flags: + - "--repo_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1" From 0e7953811952a7005655fa00c140e74ebaaaa86b Mon Sep 17 00:00:00 2001 From: Keith Smiley Date: Mon, 22 Jan 2024 10:05:38 -0800 Subject: [PATCH 2/2] Update presubmit.yml --- .bcr/presubmit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bcr/presubmit.yml b/.bcr/presubmit.yml index 668ed1beed..4652b9fec6 100644 --- a/.bcr/presubmit.yml +++ b/.bcr/presubmit.yml @@ -4,5 +4,5 @@ tasks: platform: macos test_targets: - '@rules_apple//examples/macos/CommandLine:ExamplesBuildTest' - build_flags: + test_flags: - "--repo_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1"