aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Noah Fiedel <nfiedel@google.com>2016-06-03 08:26:32 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-06-03 09:34:51 -0700
commitaaefa058f5fbb7a08834861643ab28ad00704683 (patch)
treef722add63551a3e3117af89b186ef4ad45245a07 /tools
parentb1bf065a6c181acb660ab801e9d139fe25267c31 (diff)
Phase 1 of moving TensorFlow Serving SessionBundle to tensorflow/contrib.
Change: 123975418
Diffstat (limited to 'tools')
-rw-r--r--tools/bazel.rc.template6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/bazel.rc.template b/tools/bazel.rc.template
index d3e70e7a4f..d4dddb5211 100644
--- a/tools/bazel.rc.template
+++ b/tools/bazel.rc.template
@@ -6,6 +6,12 @@ build --python$PYTHON_MAJOR_VERSION_path=$PYTHON_BINARY
build --define=use_fast_cpp_protos=true
build --define=allow_oversize_protos=true
+build --define PYTHON_BIN_PATH=$PYTHON_BINARY
+test --define PYTHON_BIN_PATH=$PYTHON_BINARY
+test --force_python=py$PYTHON_MAJOR_VERSION
+test --host_force_python=py$PYTHON_MAJOR_VERSION
+run --define PYTHON_BIN_PATH=$PYTHON_BINARY
+
build --spawn_strategy=standalone
test --spawn_strategy=standalone
run --spawn_strategy=standalone