diff options
author | 2016-06-06 17:32:59 -0800 | |
---|---|---|
committer | 2016-06-17 11:00:55 -0700 | |
commit | 8616f149a241b19d01274c936f36a9245f6d2828 (patch) | |
tree | 6da65275d5b95f4cf53e62d6bf0e1a29c1c7c4ba | |
parent | e13cd0530218e3f8c963b94967c924a8abe3650c (diff) |
Fix genrule Python execution problem with Python3.
Change: 124202095
-rw-r--r-- | tools/bazel.rc.template | 1 |
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 |