package nccl: Fix install_targets for verison 2.3.5-5: (#9623)

This commit is contained in:
jkelling 2018-10-26 02:57:41 +02:00 committed by Peter Scheibel
parent b1e84d4cdc
commit 84e6fb3a64

View file

@ -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']