mpifileutils: update to v0.7 (#4642)
* mpifileutils: update to v0.7 * mpifileutils: disable --enable-experimental in v0.6 and earlier * mpifileutils: list newest version first, avoid experimental switch unless at v0.7 or later
This commit is contained in:
parent
2e6a735b00
commit
4dc79f9efb
@ -38,6 +38,7 @@ class Mpifileutils(AutotoolsPackage):
|
|||||||
homepage = "https://github.com/hpc/mpifileutils"
|
homepage = "https://github.com/hpc/mpifileutils"
|
||||||
url = "https://github.com/hpc/mpifileutils/releases/download/v0.6/mpifileutils-0.6.tar.gz"
|
url = "https://github.com/hpc/mpifileutils/releases/download/v0.6/mpifileutils-0.6.tar.gz"
|
||||||
|
|
||||||
|
version('0.7', 'c081f7f72c4521dddccdcf9e087c5a2b')
|
||||||
version('0.6', '620bcc4966907481f1b1a965b28fc9bf')
|
version('0.6', '620bcc4966907481f1b1a965b28fc9bf')
|
||||||
|
|
||||||
depends_on('mpi')
|
depends_on('mpi')
|
||||||
@ -52,10 +53,11 @@ class Mpifileutils(AutotoolsPackage):
|
|||||||
variant('lustre', default=False,
|
variant('lustre', default=False,
|
||||||
description="Enable optimizations and features for Lustre")
|
description="Enable optimizations and features for Lustre")
|
||||||
|
|
||||||
# install experimental tools
|
variant('experimental', default=False,
|
||||||
# (coming with v0.7)
|
description="Install experimental tools")
|
||||||
# variant('experimental', default=False,
|
|
||||||
# description="Install experimental tools")
|
# --enable-experimental fails with v0.6 and earlier
|
||||||
|
conflicts('+experimental', when='@:0.6')
|
||||||
|
|
||||||
def configure_args(self):
|
def configure_args(self):
|
||||||
args = []
|
args = []
|
||||||
@ -65,11 +67,11 @@ def configure_args(self):
|
|||||||
else:
|
else:
|
||||||
args.append('--disable-lustre')
|
args.append('--disable-lustre')
|
||||||
|
|
||||||
# coming with v0.7
|
if self.spec.satisfies('@0.7:'):
|
||||||
# if '+experimental' in self.spec:
|
if '+experimental' in self.spec:
|
||||||
# args.append('--enable-experimental')
|
args.append('--enable-experimental')
|
||||||
# else:
|
else:
|
||||||
# args.append('--disable-experimental')
|
args.append('--disable-experimental')
|
||||||
|
|
||||||
return args
|
return args
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user