Add instructions to downgrade Bazel if greater than max_bazel_version.
PiperOrigin-RevId: 226393897
diff --git a/configure.py b/configure.py
index acb92cb..c588381 100644
--- a/configure.py
+++ b/configure.py
@@ -480,7 +480,9 @@
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