diff options
author | Jon Rood <jon.rood@nrel.gov> | 2019-05-14 14:15:38 -0600 |
---|---|---|
committer | Peter Scheibel <scheibel1@llnl.gov> | 2019-05-15 05:15:38 +0900 |
commit | 5cd593743e8bb19a3d6fe8bfd7b0c20437b108d2 (patch) | |
tree | 963a521c22242b2ba0b8608bb147137210b75f62 /var | |
parent | c54f23d405bf468e348ebba7e6ded48dc9a8ff9b (diff) | |
download | spack-5cd593743e8bb19a3d6fe8bfd7b0c20437b108d2.tar.gz spack-5cd593743e8bb19a3d6fe8bfd7b0c20437b108d2.tar.bz2 spack-5cd593743e8bb19a3d6fe8bfd7b0c20437b108d2.tar.xz spack-5cd593743e8bb19a3d6fe8bfd7b0c20437b108d2.zip |
PNetCDF package: enable option required by NetCDF (#11420)
The --enable-relax-coord-bound option was added in 1.8.0. NetCDF
4.6.3 enabled relax coords by default and required it from PNetCDF.
PNetCDF 1.10.0 enabled it by default but for versions between 1.8.0
and 1.10.0 it should be enabled explicitly.
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/parallel-netcdf/package.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/parallel-netcdf/package.py b/var/spack/repos/builtin/packages/parallel-netcdf/package.py index f2fac6bbea..28fb4ba5bb 100644 --- a/var/spack/repos/builtin/packages/parallel-netcdf/package.py +++ b/var/spack/repos/builtin/packages/parallel-netcdf/package.py @@ -70,6 +70,9 @@ class ParallelNetcdf(AutotoolsPackage): if '~fortran' in spec: args.append('--disable-fortran') + if spec.satisfies('@1.8.0:'): + args.append('--enable-relax-coord-bound') + return args def install(self, spec, prefix): |