aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/bazel.rc.template
blob: 8f99bf02fa05c547738abe32b4a52cd3a246a205 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
build:cuda --crosstool_top=@local_config_cuda//crosstool:toolchain
build:cuda --define=using_cuda=true --define=using_cuda_nvcc=true
build:win-cuda --define=using_cuda=true --define=using_cuda_nvcc=true

build:sycl --crosstool_top=@local_config_sycl//crosstool:toolchain
build:sycl --define=using_sycl=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

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

build --genrule_strategy=standalone
test --genrule_strategy=standalone
run --genrule_strategy=standalone