From f16a6781faf7de94924e610f6d043d80a1c41a24 Mon Sep 17 00:00:00 2001 From: Mihai Maruseac Date: Tue, 18 Jun 2019 09:51:05 -0700 Subject: [PATCH] Fix tensorflow/build.sh after TF commit 44000ad64a (#2528) We are changing the location of the maximum/minimum bazel version in the configure.py script so we need to update the way we're looking for the version to install. Breaking commit: https://github.com/tensorflow/tensorflow/commit/44000ad64a30abaa38980af0de4f165a2e10be2d --- projects/tensorflow/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/tensorflow/build.sh b/projects/tensorflow/build.sh index 5ed6bc684..b1589e0e8 100755 --- a/projects/tensorflow/build.sh +++ b/projects/tensorflow/build.sh @@ -17,8 +17,8 @@ # First, determine the latest Bazel we can support BAZEL_VERSION=$( - grep 'current_bazel_version =' configure.py | \ - cut -d, -f2 | cut -d\' -f2 | tr -d '[:space:]' + grep '_TF_MAX_BAZEL_VERSION =' configure.py | \ + cut -d\' -f2 | tr -d '[:space:]' ) if [ -z ${BAZEL_VERSION} ]; then echo "Couldn't find a valid bazel version in configure.py script"