summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJon Rood <jon.rood@nrel.gov>2019-05-14 14:15:38 -0600
committerPeter Scheibel <scheibel1@llnl.gov>2019-05-15 05:15:38 +0900
commit5cd593743e8bb19a3d6fe8bfd7b0c20437b108d2 (patch)
tree963a521c22242b2ba0b8608bb147137210b75f62 /var
parentc54f23d405bf468e348ebba7e6ded48dc9a8ff9b (diff)
downloadspack-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.py3
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):