Skip to content

Commit

Permalink
Enable cc toolchain resolution for building Bazel
Browse files Browse the repository at this point in the history
Closes #19029.

PiperOrigin-RevId: 551218176
Change-Id: Ia01c3b83b071b50b353f116dbd360bd3fe04f0c3
  • Loading branch information
coeuvre authored and copybara-github committed Jul 26, 2023
1 parent 37b03ac commit 5647b26
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ build --tool_java_language_version=11
# Fail if a glob doesn't match anything (https://github.com/bazelbuild/bazel/issues/8195)
build --incompatible_disallow_empty_glob

# Manually enable cc toolchain resolution before it is flipped. https://github.com/bazelbuild/bazel/issues/7260
build --incompatible_enable_cc_toolchain_resolution

# User-specific .bazelrc
try-import %workspace%/user.bazelrc

Expand Down

2 comments on commit 5647b26

@william911721
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.bazelrc

@william911721
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.bazelrc

Please sign in to comment.