aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authorGravatar Asim Shankar <ashankar@google.com>2017-03-13 13:27:31 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-03-13 14:47:46 -0700
commit429d14d435259899ff0436014187fe35c6cdd1d7 (patch)
tree87bccee869e10d1155ff871f343c689414327ea8 /configure
parent92f285f281328aa003e4e0449371beab5add316d (diff)
configure: Add option to restrict bazel targets fetched.
Use that option to restrict the Windows C and Java library release builds to the 4 targets that are actually built. Change: 149990258
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure b/configure
index 0064d5574a..05daa23d70 100755
--- a/configure
+++ b/configure
@@ -41,8 +41,10 @@ function bazel_clean_and_fetch() {
if ! is_windows; then
bazel clean --expunge
fi
- bazel fetch "//tensorflow/... -//tensorflow/contrib/nccl/... \
- -//tensorflow/examples/android/..."
+ if [ -z "$TF_BAZEL_TARGETS" ]; then
+ TF_BAZEL_TARGETS="//tensorflow/... -//tensorflow/contrib/nccl/... -//tensorflow/examples/android/..."
+ fi
+ bazel fetch "$TF_BAZEL_TARGETS"
}
function sed_hyphen_i() {