From 439d9e2fe36eebe6b6a28ae2883bb550535e8bd6 Mon Sep 17 00:00:00 2001 From: Kiril Gorovoy Date: Mon, 6 Jun 2016 17:32:59 -0800 Subject: Fix genrule Python execution problem with Python3. Change: 124202095 --- tools/bazel.rc.template | 1 + 1 file changed, 1 insertion(+) (limited to 'tools') 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 -- cgit v1.2.3