diff options
author | Jeffrey Salmond <js947@users.noreply.github.com> | 2017-04-03 14:08:28 +0100 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2017-04-03 08:08:28 -0500 |
commit | 9b19968bacccf65f7b0b104df789472e049eaf23 (patch) | |
tree | 761cf55acb4e3daf7211231c232f69819f5702f0 | |
parent | b7eee1bd7be538077fd21b52236dc341beba14b5 (diff) | |
download | spack-9b19968bacccf65f7b0b104df789472e049eaf23.tar.gz spack-9b19968bacccf65f7b0b104df789472e049eaf23.tar.bz2 spack-9b19968bacccf65f7b0b104df789472e049eaf23.tar.xz spack-9b19968bacccf65f7b0b104df789472e049eaf23.zip |
add CUDA_HOME arg to nccl makefile (#3666)
-rw-r--r-- | var/spack/repos/builtin/packages/nccl/package.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/nccl/package.py b/var/spack/repos/builtin/packages/nccl/package.py index b68d3429d1..52be43aa25 100644 --- a/var/spack/repos/builtin/packages/nccl/package.py +++ b/var/spack/repos/builtin/packages/nccl/package.py @@ -37,5 +37,9 @@ class Nccl(MakefilePackage): depends_on('cuda') @property + def build_targets(self): + return ['CUDA_HOME={0}'.format(self.spec['cuda'].prefix)] + + @property def install_targets(self): return ['PREFIX={0}'.format(self.prefix), 'install'] |