diff options
author | Jonathan Hseu <jhseu@google.com> | 2016-09-29 15:05:32 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2016-09-29 16:17:09 -0700 |
commit | 1283b84a49a9f5e14aca833cf981b61848aaf916 (patch) | |
tree | ffba9d2d8ba549bd5981cc84748d2db8858fc676 /configure | |
parent | ef9f5fee0a079f6bed445064e8e9d18fb7a904d8 (diff) |
Merge changes from github.
Change: 134721831
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -5,6 +5,11 @@ pushd `dirname $0` #> /dev/null SOURCE_BASE_DIR=`pwd -P` popd > /dev/null +function bazel_clean_and_fetch() { + bazel clean --expunge + bazel fetch //tensorflow/... +} + ## Set up python-related environment settings while true; do fromuser="" @@ -114,6 +119,7 @@ done export TF_NEED_CUDA if [ "$TF_NEED_CUDA" == "0" ]; then echo "Configuration finished" + bazel_clean_and_fetch exit fi @@ -300,7 +306,6 @@ EOF TF_CUDA_COMPUTE_CAPABILITIES="" done -bazel clean --expunge -bazel fetch //... +bazel_clean_and_fetch echo "Configuration finished" |