diff options
author | Yu-Cheng Ling <ycling@google.com> | 2018-07-20 13:49:59 -0700 |
---|---|---|
committer | Yu-Cheng Ling <ycling@google.com> | 2018-07-20 13:49:59 -0700 |
commit | 55b6c4dcb7ce5e323fc105db6276a8404d605163 (patch) | |
tree | 90163858b9031cda287d73195781515e20a23f31 /tensorflow/contrib/makefile | |
parent | 8f130ff5b021efb94946ed9deb1341890763fd3f (diff) |
Hardcode Protobuf library version in contrib/makefiles
Note: The Protobuf source in `tensorflow/workspace.bzl` in TensorFlow
1.10 branch does not work. `make distclean` fails and blocks the build
process. For now we're hardcoding to the version which is used by
TensorFlow 1.9.
Diffstat (limited to 'tensorflow/contrib/makefile')
-rwxr-xr-x | tensorflow/contrib/makefile/download_dependencies.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tensorflow/contrib/makefile/download_dependencies.sh b/tensorflow/contrib/makefile/download_dependencies.sh index 48953e2e38..448ae6d22e 100755 --- a/tensorflow/contrib/makefile/download_dependencies.sh +++ b/tensorflow/contrib/makefile/download_dependencies.sh @@ -30,7 +30,11 @@ EIGEN_URL="$(grep -o 'http.*bitbucket.org/eigen/eigen/get/.*tar\.gz' "${BZL_FILE GEMMLOWP_URL="$(grep -o 'https://mirror.bazel.build/github.com/google/gemmlowp/.*zip' "${BZL_FILE_PATH}" | head -n1)" GOOGLETEST_URL="https://github.com/google/googletest/archive/release-1.8.0.tar.gz" NSYNC_URL="$(grep -o 'https://mirror.bazel.build/github.com/google/nsync/.*tar\.gz' "${BZL_FILE_PATH}" | head -n1)" -PROTOBUF_URL="$(grep -o 'https://mirror.bazel.build/github.com/google/protobuf/.*tar\.gz' "${BZL_FILE_PATH}" | head -n1)" +# Note: The Protobuf source in `tensorflow/workspace.bzl` in TensorFlow +# 1.10 branch does not work. `make distclean` fails and blocks the build +# process. For now we're hardcoding to the version which is used by +# TensorFlow 1.9. +PROTOBUF_URL="https://mirror.bazel.build/github.com/google/protobuf/archive/396336eb961b75f03b25824fe86cf6490fb75e3a.tar.gz" RE2_URL="$(grep -o 'https://mirror.bazel.build/github.com/google/re2/.*tar\.gz' "${BZL_FILE_PATH}" | head -n1)" FFT2D_URL="$(grep -o 'http.*fft\.tgz' "${BZL_FILE_PATH}" | grep -v bazel-mirror | head -n1)" DOUBLE_CONVERSION_URL="$(grep -o "https.*google/double-conversion.*\.zip" "${BZL_FILE_PATH}" | head -n1)" |