ADIOS: Run Autotools First
This commit is contained in:
parent
4bd863761a
commit
f2eb1c93df
1 changed files with 8 additions and 0 deletions
|
@ -64,6 +64,11 @@ class Adios(Package):
|
||||||
# module load cray-hdf5/1.8.14
|
# module load cray-hdf5/1.8.14
|
||||||
# module load python/2.7.10
|
# module load python/2.7.10
|
||||||
|
|
||||||
|
depends_on('autoconf')
|
||||||
|
depends_on('automake')
|
||||||
|
depends_on('libtool')
|
||||||
|
depends_on('python')
|
||||||
|
|
||||||
depends_on('mpi', when='+mpi')
|
depends_on('mpi', when='+mpi')
|
||||||
# shipped within ADIOS 1.10.0+
|
# shipped within ADIOS 1.10.0+
|
||||||
depends_on('mxml', when='@:1.9.0')
|
depends_on('mxml', when='@:1.9.0')
|
||||||
|
@ -125,6 +130,9 @@ def install(self, spec, prefix):
|
||||||
if '+fortran' in spec:
|
if '+fortran' in spec:
|
||||||
extra_args.extend(["FC=gfortran"])
|
extra_args.extend(["FC=gfortran"])
|
||||||
|
|
||||||
|
sh = which('sh')
|
||||||
|
sh('./autogen.sh')
|
||||||
|
|
||||||
configure("--prefix=%s" % prefix,
|
configure("--prefix=%s" % prefix,
|
||||||
*extra_args)
|
*extra_args)
|
||||||
make()
|
make()
|
||||||
|
|
Loading…
Reference in a new issue