Merge pull request #780 from adamjstewart/fixes/hdf5

fortran2003 option has been removed from HDF5
This commit is contained in:
Todd Gamblin 2016-04-14 11:20:11 +02:00
commit f8543f7755

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