ADIOS: Use NetCDF Prefix from spec's
This commit is contained in:
parent
37f489886e
commit
ecacce7e07
@ -24,7 +24,6 @@
|
|||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
from spack import *
|
from spack import *
|
||||||
import os
|
|
||||||
|
|
||||||
|
|
||||||
class Adios(Package):
|
class Adios(Package):
|
||||||
@ -121,7 +120,7 @@ def install(self, spec, prefix):
|
|||||||
if '+hdf5' in spec:
|
if '+hdf5' in spec:
|
||||||
extra_args.append('--with-hdf5=%s' % spec['hdf5'].prefix)
|
extra_args.append('--with-hdf5=%s' % spec['hdf5'].prefix)
|
||||||
if '+netcdf' in spec:
|
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 = which('sh')
|
||||||
sh('./autogen.sh')
|
sh('./autogen.sh')
|
||||||
|
Loading…
Reference in New Issue
Block a user