Added options to libfabrics (#5191)
This commit is contained in:
parent
5d7901b312
commit
49a9d63be7
1 changed files with 29 additions and 0 deletions
|
@ -33,3 +33,32 @@ class Libfabric(AutotoolsPackage):
|
|||
url = "https://github.com/ofiwg/libfabric/releases/download/v1.5.0/libfabric-1.5.0.tar.gz"
|
||||
|
||||
version('1.5.0', 'fda3e9b31ebe184f5157288d059672d6')
|
||||
|
||||
fabrics = ('psm',
|
||||
'psm2',
|
||||
'sockets',
|
||||
'verbs',
|
||||
'usnic',
|
||||
'mxm',
|
||||
'gni',
|
||||
'xpmem',
|
||||
'udp',
|
||||
'rxm',
|
||||
'rxd')
|
||||
|
||||
variant(
|
||||
'fabrics',
|
||||
default='sockets',
|
||||
description='A list of enabled fabrics',
|
||||
values=fabrics,
|
||||
multi=True
|
||||
)
|
||||
|
||||
def configure_args(self):
|
||||
args = []
|
||||
|
||||
args.extend(['--enable-%s=%s' %
|
||||
(f, 'yes' if 'fabrics=%s' % f in self.spec else 'no')
|
||||
for f in self.fabrics])
|
||||
|
||||
return args
|
||||
|
|
Loading…
Reference in a new issue