From 91ceeb93b81ef904dce2df097777e0c22cde8cac Mon Sep 17 00:00:00 2001 From: Ivo List Date: Mon, 19 Sep 2022 18:33:04 +0200 Subject: [PATCH] Disable cc toolchain resolution when using Clang on Windows Different compilers on Window are not yet supported with CC toolchain resolution. --- .bazelci/presubmit.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml index 9065173d2..f4ef9ee0a 100644 --- a/.bazelci/presubmit.yml +++ b/.bazelci/presubmit.yml @@ -47,11 +47,13 @@ tasks: environment: BAZEL_VC: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC" build_flags: + - "--noincompatible_enable_cc_toolchain_resolution" - "--compiler=clang-cl" - "--features=layering_check" build_targets: - "//..." test_flags: + - "--noincompatible_enable_cc_toolchain_resolution" - "--compiler=clang-cl" - "--features=layering_check" test_targets: