aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/bazel.rc.template2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bazel.rc.template b/tools/bazel.rc.template
index e90ec790fd..2a88b98f34 100644
--- a/tools/bazel.rc.template
+++ b/tools/bazel.rc.template
@@ -1,5 +1,5 @@
build:cuda --crosstool_top=//third_party/gpus/crosstool
-build:cuda --define=using_cuda=true
+build:cuda --define=using_cuda=true --define=using_cuda_nvcc=true
build --force_python=py$PYTHON_MAJOR_VERSION
build --python$PYTHON_MAJOR_VERSION_path=$PYTHON_BINARY