parallel-netcdf: added burst buffer variant (#19237)
Co-authored-by: michael laufer <michael.laufer@toganetworks.com>
This commit is contained in:
parent
08a61006a5
commit
ba04e8b890
@ -42,6 +42,7 @@ def url_for_version(self, version):
|
||||
variant('pic', default=True,
|
||||
description='Produce position-independent code (for shared libs)')
|
||||
variant('shared', default=True, description='Enable shared library')
|
||||
variant('burstbuffer', default=False, description='Enable burst buffer feature')
|
||||
|
||||
depends_on('mpi')
|
||||
|
||||
@ -54,6 +55,7 @@ def url_for_version(self, version):
|
||||
|
||||
conflicts('+shared', when='@:1.9%nag+fortran')
|
||||
conflicts('+shared', when='@:1.8')
|
||||
conflicts('+burstbuffer', when='@:1.10')
|
||||
|
||||
patch('nag_libtool.patch', when='@1.9:1.12.1%nag')
|
||||
|
||||
@ -131,4 +133,7 @@ def configure_args(self):
|
||||
args.extend(['ac_cv_prog_fc_v=-Wl,-v',
|
||||
'ac_cv_prog_f77_v=-Wl,-v'])
|
||||
|
||||
if '+burstbuffer' in self.spec:
|
||||
args.append('--enable-burst-buffering')
|
||||
|
||||
return args
|
||||
|
Loading…
Reference in New Issue
Block a user