aboutsummaryrefslogtreecommitdiffhomepage
path: root/projects
diff options
context:
space:
mode:
authorGravatar Mihai Maruseac <mihaimaruseac@google.com>2019-06-18 09:51:05 -0700
committerGravatar jonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com>2019-06-18 09:51:05 -0700
commitf16a6781faf7de94924e610f6d043d80a1c41a24 (patch)
treed1e116960f6b8c208b5fd5113cc99a946d5b6a23 /projects
parent0cba0117f37a401d0a190efaa6380463a9f2435e (diff)
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
Diffstat (limited to 'projects')
-rwxr-xr-xprojects/tensorflow/build.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/projects/tensorflow/build.sh b/projects/tensorflow/build.sh
index 5ed6bc68..b1589e0e 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"