From e0963c4073d6ab0a801878188063cd5b2f1f2f8d Mon Sep 17 00:00:00 2001 From: Mihai Maruseac Date: Thu, 20 Dec 2018 14:27:40 -0800 Subject: [PATCH] Add instructions to downgrade Bazel if greater than max_bazel_version. PiperOrigin-RevId: 226393897 --- configure.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.py b/configure.py index acb92cbc1e0..c588381d40c 100644 --- a/configure.py +++ b/configure.py @@ -480,7 +480,9 @@ def check_bazel_version(min_version, max_version): if (curr_version_int > max_version_int and 'TF_IGNORE_MAX_BAZEL_VERSION' not in os.environ): print('Please downgrade your bazel installation to version %s or lower to ' - 'build TensorFlow!' % max_version) + 'build TensorFlow! To downgrade: download the installer for the old ' + 'version (from https://github.com/bazelbuild/bazel/releases) then ' + 'run the installer.' % max_version) sys.exit(1) return curr_version