From d2c1aa57014f092d7d6fb8a64751c1106df739bc Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Thu, 4 Mar 2021 02:18:34 -0800 Subject: [PATCH] Move back to continuously updating Bazel. (#302) We switched to the released version to minimize rebuildds of the toolchain, but with downloading the toolchain this isn't a significant issue any more. And without this, Bazel doesn't run on ARM macOS. This may hit issues with broken Bazel builds and have to be reverted. Added a TODO to reverse this as soon as we can anyways. Also cleans up the old `.bazelversion` in favor of just using `.bazeliskrc`. They both work, but the RC file comes first in the sequence so happy to prefer it here. --- .bazeliskrc | 3 ++- .bazelversion | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 .bazelversion diff --git a/.bazeliskrc b/.bazeliskrc index 2eedb14067fe..4be3bf6cc61e 100644 --- a/.bazeliskrc +++ b/.bazeliskrc @@ -2,4 +2,5 @@ # Exceptions. See /LICENSE for license information. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -USE_BAZEL_VERSION=latest +# TODO: Return to a released version as soon as M1 macOS is supported. +USE_BAZEL_VERSION=last_downstream_green diff --git a/.bazelversion b/.bazelversion deleted file mode 100644 index a0f9a4b4bc90..000000000000 --- a/.bazelversion +++ /dev/null @@ -1 +0,0 @@ -latest