summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjkelling <j.kelling@hzdr.de>2018-10-26 02:57:41 +0200
committerPeter Scheibel <scheibel1@llnl.gov>2018-10-25 17:57:41 -0700
commit84e6fb3a64b7e25bb98af15e5b51ec40a5ee8365 (patch)
tree8790e02de5b7acb0704a2e6bdcd11b0e13322e3b
parentb1e84d4cdcde846eccf8d615cfc74aebe766e60a (diff)
downloadspack-84e6fb3a64b7e25bb98af15e5b51ec40a5ee8365.tar.gz
spack-84e6fb3a64b7e25bb98af15e5b51ec40a5ee8365.tar.bz2
spack-84e6fb3a64b7e25bb98af15e5b51ec40a5ee8365.tar.xz
spack-84e6fb3a64b7e25bb98af15e5b51ec40a5ee8365.zip
package nccl: Fix install_targets for verison 2.3.5-5: (#9623)
-rw-r--r--var/spack/repos/builtin/packages/nccl/package.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/nccl/package.py b/var/spack/repos/builtin/packages/nccl/package.py
index d13d22596f..5ea2b9689c 100644
--- a/var/spack/repos/builtin/packages/nccl/package.py
+++ b/var/spack/repos/builtin/packages/nccl/package.py
@@ -26,4 +26,7 @@ class Nccl(MakefilePackage):
@property
def install_targets(self):
- return ['PREFIX={0}'.format(self.prefix), 'install']
+ if self.version >= Version('2.3.5-5'):
+ return ['PREFIX={0}'.format(self.prefix), 'src.install']
+ else:
+ return ['PREFIX={0}'.format(self.prefix), 'install']