diff options
author | jkelling <j.kelling@hzdr.de> | 2018-10-26 02:57:41 +0200 |
---|---|---|
committer | Peter Scheibel <scheibel1@llnl.gov> | 2018-10-25 17:57:41 -0700 |
commit | 84e6fb3a64b7e25bb98af15e5b51ec40a5ee8365 (patch) | |
tree | 8790e02de5b7acb0704a2e6bdcd11b0e13322e3b | |
parent | b1e84d4cdcde846eccf8d615cfc74aebe766e60a (diff) | |
download | spack-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.py | 5 |
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'] |