From a355a6de52c8cb098e14c88090f3eb8ca9a65747 Mon Sep 17 00:00:00 2001 From: Jon Ross-Perkins Date: Mon, 11 Dec 2023 15:13:11 -0800 Subject: [PATCH] Temporarily disable bazel v7 default flips (#3495) 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. --- .bazelrc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.bazelrc b/.bazelrc index 9b2b0008ef02..7e863124a44e 100644 --- a/.bazelrc +++ b/.bazelrc @@ -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