diff options
-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'] |