aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Martin Wicke <wicke@google.com>2016-06-03 15:34:23 -0700
committerGravatar Martin Wicke <wicke@google.com>2016-06-03 15:34:23 -0700
commit3ebf4b224d6e07930f82f83ea834d215b0bc47ed (patch)
tree8d99e89bb807872ed601d7012afaf33ecf517088 /tools
parent2c55490c6d6d361985dbb0565ab08a648c819949 (diff)
parent60796d7c0d401e5e7b7a139f165e78ce778583be (diff)
Merge makefile
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