From 13024c58fa87a87db23f6869a0c33598bb5c027d Mon Sep 17 00:00:00 2001 From: Manjunath Kudlur Date: Mon, 7 Mar 2016 15:09:08 -0800 Subject: Changed the cuda_crosstool_condition to check for a define of using_cuda. Checking for a specific crosstool_top directory doesn't work when TensorFlow is a sub-module for a different project. Change: 116592676 --- 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 5bdc9884e8..e90ec790fd 100644 --- a/tools/bazel.rc.template +++ b/tools/bazel.rc.template @@ -1,4 +1,5 @@ build:cuda --crosstool_top=//third_party/gpus/crosstool +build:cuda --define=using_cuda=true build --force_python=py$PYTHON_MAJOR_VERSION build --python$PYTHON_MAJOR_VERSION_path=$PYTHON_BINARY -- cgit v1.2.3