ADIOS: Use NetCDF Prefix from spec's

This commit is contained in:
Axel Huebl 2016-08-30 00:51:44 +02:00
parent 37f489886e
commit ecacce7e07
No known key found for this signature in database
GPG key ID: 472D2C364E21D94B

View file

@ -24,7 +24,6 @@
##############################################################################
from spack import *
import os
class Adios(Package):
@ -121,7 +120,7 @@ def install(self, spec, prefix):
if '+hdf5' in spec:
extra_args.append('--with-hdf5=%s' % spec['hdf5'].prefix)
if '+netcdf' in spec:
extra_args.append('--with-netcdf=%s' % os.environ["NETCDF_DIR"])
extra_args.append('--with-netcdf=%s' % spec['netcdf'].prefix)
sh = which('sh')
sh('./autogen.sh')