diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/bazel.rc.template | 6 |
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 |