Skip to content

Commit

Permalink
Temporarily disable bazel v7 default flips (carbon-language#3495)
Browse files Browse the repository at this point in the history
Both of these flag flips require work to address. Their default changed
in bazel 7. Note adding these probably breaks versions of bazel older
than 6 -- but an update requirement seems okay in that case, since 6 is
about a year old now.
  • Loading branch information
jonmeow committed Dec 11, 2023
1 parent 87d341c commit a355a6d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
# Exceptions. See /LICENSE for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

# TODO: Get a better toolchain fix for
# https://github.com/bazelbuild/bazel/issues/7260
build --noincompatible_enable_cc_toolchain_resolution

# TODO: https://bazel.build/external/migration for
# https://github.com/bazelbuild/bazel/issues/18958
build --noenable_bzlmod

build --crosstool_top=@bazel_cc_toolchain
build --host_crosstool_top=@bazel_cc_toolchain

Expand Down

0 comments on commit a355a6d

Please sign in to comment.