Skip to content

Commit

Permalink
Disable cc toolchain resolution when using Clang on Windows
Browse files Browse the repository at this point in the history
Different compilers on Window are not yet supported with CC toolchain resolution.
  • Loading branch information
comius authored and drigz committed Sep 21, 2022
1 parent 9ad08ac commit 05fbc65
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .bazelci/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 05fbc65

Please sign in to comment.