aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tools/bazel.rc.template1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/bazel.rc.template b/tools/bazel.rc.template
index d4dddb5211..02856822c9 100644
--- a/tools/bazel.rc.template
+++ b/tools/bazel.rc.template
@@ -2,6 +2,7 @@ build:cuda --crosstool_top=//third_party/gpus/crosstool
build:cuda --define=using_cuda=true --define=using_cuda_nvcc=true
build --force_python=py$PYTHON_MAJOR_VERSION
+build --host_force_python=py$PYTHON_MAJOR_VERSION
build --python$PYTHON_MAJOR_VERSION_path=$PYTHON_BINARY
build --define=use_fast_cpp_protos=true
build --define=allow_oversize_protos=true