migrate: add zlib dependency. (#13039)
* migrate: add zlib dependency. * flake8. * autotools related tools change to build.
This commit is contained in:
parent
437236781d
commit
cb89949018
@ -19,15 +19,19 @@ class Migrate(AutotoolsPackage):
|
||||
variant('mpi', default=False,
|
||||
description='Build MPI binaries')
|
||||
|
||||
depends_on('autoconf')
|
||||
depends_on('automake')
|
||||
depends_on('libtool')
|
||||
depends_on('m4')
|
||||
depends_on('autoconf', type='build')
|
||||
depends_on('automake', type='build')
|
||||
depends_on('libtool', type='build')
|
||||
depends_on('m4', type='build')
|
||||
depends_on('zlib', type='link')
|
||||
|
||||
depends_on('openmpi', type=('build', 'link', 'run'), when='+mpi')
|
||||
|
||||
configure_directory = 'src'
|
||||
|
||||
def configure_args(self):
|
||||
return ['--with-zlib=system']
|
||||
|
||||
def build(self, spec, prefix):
|
||||
with working_dir('src'):
|
||||
# this software is written with parts both in C and C++.
|
||||
|
Loading…
Reference in New Issue
Block a user