summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-04-14 11:20:11 +0200
committerTodd Gamblin <tgamblin@llnl.gov>2016-04-14 11:20:11 +0200
commitf8543f7755c2d2bdd5a7edca1e27a524dd8b7f5e (patch)
treefc8a04d8c15e024e84aabcf18b4f90a3b5ba85b3 /var
parent420a61491defb87f7cb686d7f7d128c1313ac89d (diff)
parent5717cb981e38979727a9340eb118e88166a9f7e3 (diff)
downloadspack-f8543f7755c2d2bdd5a7edca1e27a524dd8b7f5e.tar.gz
spack-f8543f7755c2d2bdd5a7edca1e27a524dd8b7f5e.tar.bz2
spack-f8543f7755c2d2bdd5a7edca1e27a524dd8b7f5e.tar.xz
spack-f8543f7755c2d2bdd5a7edca1e27a524dd8b7f5e.zip
Merge pull request #780 from adamjstewart/fixes/hdf5
fortran2003 option has been removed from HDF5
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/hdf5/package.py8
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