diff options
author | Kiril Gorovoy <kgorovoy@google.com> | 2016-05-27 15:22:56 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2016-05-27 16:34:55 -0700 |
commit | 47b21485352878e080909117aa783d2051bae783 (patch) | |
tree | afc671119868159351e7e8bc4397c86f2e606609 /third_party/gpus/cuda | |
parent | ef7013c75b836b4c740ed748f7807fe2f1d24a4c (diff) |
Fix Tensorflow compilation error that comes up when TF is used as a submodule and compiled for GPU.
Change: 123468144
Diffstat (limited to 'third_party/gpus/cuda')
-rw-r--r-- | third_party/gpus/cuda/BUILD | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/gpus/cuda/BUILD b/third_party/gpus/cuda/BUILD index b68104385d..8bd9650148 100644 --- a/third_party/gpus/cuda/BUILD +++ b/third_party/gpus/cuda/BUILD @@ -178,7 +178,7 @@ genrule( ], cmd = if_cuda( # Under cuda config, create all the symbolic links to the actual cuda files - "OUTPUTDIR=`{} -f $(@D)/../../..`; cd third_party/gpus/cuda; OUTPUTDIR=$$OUTPUTDIR ./cuda_config.sh --check;".format(readlink_command()), + "OUTPUTDIR=`{} -f $(@D)/../../..`; cd `dirname $(location :cuda_config.sh)`; OUTPUTDIR=$$OUTPUTDIR ./cuda_config.sh --check;".format(readlink_command()), # Under non-cuda config, create all dummy files to make the build go through ";".join([ |