ADIOS: Run Autotools First

This commit is contained in:
Axel Huebl 2016-08-29 18:42:07 +02:00
parent 4bd863761a
commit f2eb1c93df
No known key found for this signature in database
GPG key ID: 472D2C364E21D94B

View file

@ -64,6 +64,11 @@ class Adios(Package):
# module load cray-hdf5/1.8.14
# module load python/2.7.10
depends_on('autoconf')
depends_on('automake')
depends_on('libtool')
depends_on('python')
depends_on('mpi', when='+mpi')
# shipped within ADIOS 1.10.0+
depends_on('mxml', when='@:1.9.0')
@ -125,6 +130,9 @@ def install(self, spec, prefix):
if '+fortran' in spec:
extra_args.extend(["FC=gfortran"])
sh = which('sh')
sh('./autogen.sh')
configure("--prefix=%s" % prefix,
*extra_args)
make()