From 84e6fb3a64b7e25bb98af15e5b51ec40a5ee8365 Mon Sep 17 00:00:00 2001 From: jkelling Date: Fri, 26 Oct 2018 02:57:41 +0200 Subject: [PATCH] package nccl: Fix install_targets for verison 2.3.5-5: (#9623) --- var/spack/repos/builtin/packages/nccl/package.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 @@ def build_targets(self): @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']