From c39f19c52ad5a0cc10cfdb4daefb12f8993bdf39 Mon Sep 17 00:00:00 2001 From: Mihai Maruseac Date: Thu, 28 Apr 2022 15:11:08 -0700 Subject: [PATCH] Use rolling release for Bazel. Since TF is in the progress of migrating to `cc_shared_library`, we are stress testing Bazel and uncovering a large number of bugs. We are in the state where some TF builds are broken with cascading failures and there is a long wait until a new LTS Bazel release. So, we're switching to rolling releases in an attempt to fix the builds. However, if this causes more failures than it resolves, we will need to return back to stable releases. PiperOrigin-RevId: 445259819 --- .bazelversion | 2 +- configure.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.bazelversion b/.bazelversion index 3bff059174b..c5fbc5af9ad 100644 --- a/.bazelversion +++ b/.bazelversion @@ -1 +1 @@ -5.1.1 \ No newline at end of file +last_downstream_green diff --git a/configure.py b/configure.py index dae3dce89d3..860044cfa5b 100644 --- a/configure.py +++ b/configure.py @@ -45,8 +45,9 @@ _TF_BAZELRC_FILENAME = '.tf_configure.bazelrc' _TF_WORKSPACE_ROOT = '' _TF_BAZELRC = '' _TF_CURRENT_BAZEL_VERSION = None +# TODO(mihaimaruseac): Remove these checks as they are no longer useful _TF_MIN_BAZEL_VERSION = '4.2.2' -_TF_MAX_BAZEL_VERSION = '5.99.0' +_TF_MAX_BAZEL_VERSION = '999999.99.0' NCCL_LIB_PATHS = [ 'lib64/', 'lib/powerpc64le-linux-gnu/', 'lib/x86_64-linux-gnu/', ''