Skip to content
Snippets Groups Projects
Unverified Commit ecacce7e authored by Axel Huebl's avatar Axel Huebl
Browse files

ADIOS: Use NetCDF Prefix from spec's

parent 37f48988
No related branches found
No related tags found
No related merge requests found
...@@ -24,7 +24,6 @@ ...@@ -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): ...@@ -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')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment