diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2016-04-13 15:03:03 -0500 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2016-04-13 15:03:03 -0500 |
commit | 5717cb981e38979727a9340eb118e88166a9f7e3 (patch) | |
tree | 712036b84a20954c2f45f49e657aad1465034c05 /var | |
parent | 2fe9bfcd821042dae562bc22ffeac70c45fc14ad (diff) | |
download | spack-5717cb981e38979727a9340eb118e88166a9f7e3.tar.gz spack-5717cb981e38979727a9340eb118e88166a9f7e3.tar.bz2 spack-5717cb981e38979727a9340eb118e88166a9f7e3.tar.xz spack-5717cb981e38979727a9340eb118e88166a9f7e3.zip |
fortran2003 option has been removed from HDF5
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/hdf5/package.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/hdf5/package.py b/var/spack/repos/builtin/packages/hdf5/package.py index f26e225b83..cce609eb29 100644 --- a/var/spack/repos/builtin/packages/hdf5/package.py +++ b/var/spack/repos/builtin/packages/hdf5/package.py @@ -101,10 +101,10 @@ class Hdf5(Package): extra_args.append('--enable-cxx') if '+fortran' in spec: - extra_args.extend([ - '--enable-fortran', - '--enable-fortran2003' - ]) + extra_args.append('--enable-fortran') + # '--enable-fortran2003' no longer exists as of version 1.10.0 + if spec.satisfies('@:1.8.16'): + extra_args.append('--enable-fortran2003') if '+mpi' in spec: # The HDF5 configure script warns if cxx and mpi are enabled |