Skip to content

Commit

Permalink
Fix genrule Python execution problem with Python3.
Browse files Browse the repository at this point in the history
Change: 124202095
  • Loading branch information
kirilg authored and martinwicke committed Jun 17, 2016
1 parent e13cd05 commit 8616f14
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/bazel.rc.template
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ build:cuda --crosstool_top=https://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
Expand Down

0 comments on commit 8616f14

Please sign in to comment.