summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-05-16 10:58:27 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2016-05-16 10:58:27 -0700
commita74bc9369b926ed46f721d483645ec8e38b217cf (patch)
tree84f61588d4cbc7085096c6b4014cda8b3af29f6c
parent53df9fbb4fa8938646e4fb3d4728f4cc5499c8a5 (diff)
parent65ff89a0b0f49bfc0bfa0370460c86d8b12f8db7 (diff)
downloadspack-a74bc9369b926ed46f721d483645ec8e38b217cf.tar.gz
spack-a74bc9369b926ed46f721d483645ec8e38b217cf.tar.bz2
spack-a74bc9369b926ed46f721d483645ec8e38b217cf.tar.xz
spack-a74bc9369b926ed46f721d483645ec8e38b217cf.zip
Merge pull request #953 from citibeth/150514-NetCDFCXX4
netcdf-cxx4: Update to latest released version 4.3.0
-rw-r--r--var/spack/repos/builtin/packages/netcdf-cxx4/package.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/netcdf-cxx4/package.py b/var/spack/repos/builtin/packages/netcdf-cxx4/package.py
index b67ea299a8..f8af76429b 100644
--- a/var/spack/repos/builtin/packages/netcdf-cxx4/package.py
+++ b/var/spack/repos/builtin/packages/netcdf-cxx4/package.py
@@ -24,16 +24,21 @@
##############################################################################
from spack import *
+
class NetcdfCxx4(Package):
"""C++ interface for NetCDF4"""
homepage = "http://www.unidata.ucar.edu/software/netcdf"
- url = "http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-cxx4-4.2.tar.gz"
+ url = "https://www.github.com/unidata/netcdf-cxx4/tarball/v4.3.0"
- version('4.2', 'd019853802092cf686254aaba165fc81')
+ version('4.3.0', '0dde8b9763eecdafbd69d076e687337e')
+ version('4.2.1', 'd019853802092cf686254aaba165fc81')
depends_on('netcdf')
+ depends_on("autoconf")
def install(self, spec, prefix):
+ # Rebuild to prevent problems of inconsistency in git repo
+ which('autoreconf')('-ivf')
configure('--prefix=%s' % prefix)
make()
make("install")