fortran2003 option has been removed from HDF5

This commit is contained in:
Adam J. Stewart 2016-04-13 15:03:03 -05:00
parent 2fe9bfcd82
commit 5717cb981e

View File

@ -101,10 +101,10 @@ def install(self, spec, prefix):
extra_args.append('--enable-cxx') extra_args.append('--enable-cxx')
if '+fortran' in spec: if '+fortran' in spec:
extra_args.extend([ extra_args.append('--enable-fortran')
'--enable-fortran', # '--enable-fortran2003' no longer exists as of version 1.10.0
'--enable-fortran2003' if spec.satisfies('@:1.8.16'):
]) extra_args.append('--enable-fortran2003')
if '+mpi' in spec: if '+mpi' in spec:
# The HDF5 configure script warns if cxx and mpi are enabled # The HDF5 configure script warns if cxx and mpi are enabled