Various updates to the NCO package and dependencies (#2639)

* Remove +mpi variant from NCO

* Update NCO deps to AutotoolsPackage

* Update the other NetCDF packages to AutotoolsPackage

* ANTLR has a nolink deptype on java, don't worry about csharp

* Remove restrictions from NCO package, fix homepage

* Add version 4.6.3 of NCO

* Missed AutotoolsPackage for NetCDF-CXX4

* NetCDF tests fail when run in parallel

* Remove commented out dependency

* Add documentation dependency
This commit is contained in:
Adam J. Stewart
2017-01-07 20:07:00 -06:00
committed by Todd Gamblin
parent a0195371e8
commit 68baac0549
9 changed files with 45 additions and 100 deletions

View File

@@ -25,7 +25,7 @@
from spack import *
class NetcdfCxx4(Package):
class NetcdfCxx4(AutotoolsPackage):
"""C++ interface for NetCDF4"""
homepage = "http://www.unidata.ucar.edu/software/netcdf"
url = "https://www.github.com/unidata/netcdf-cxx4/tarball/v4.3.0"
@@ -34,11 +34,8 @@ class NetcdfCxx4(Package):
version('4.2.1', 'd019853802092cf686254aaba165fc81')
depends_on('netcdf')
depends_on("autoconf", type='build')
depends_on('autoconf', type='build')
def install(self, spec, prefix):
def autoreconf(self, spec, prefix):
# Rebuild to prevent problems of inconsistency in git repo
which('autoreconf')('-ivf')
configure('--prefix=%s' % prefix)
make()
make("install")