Chill package: build fixes (#12249)
* Specify rose/boost dependencies separately * Replace custom bootstrap phase with autoreconf phase and fix typo when locating bash exe * Add bison/flex dependencies * Fix configure args typo
This commit is contained in:
parent
661b1da5d0
commit
fadba727d3
@ -18,17 +18,21 @@ class Chill(AutotoolsPackage):
|
|||||||
version('master', branch='master')
|
version('master', branch='master')
|
||||||
version('0.3', sha256='574b622368a6bfaadbe9c1fa02fabefdc6c006069246f67d299f943b7e1d8aa3')
|
version('0.3', sha256='574b622368a6bfaadbe9c1fa02fabefdc6c006069246f67d299f943b7e1d8aa3')
|
||||||
|
|
||||||
depends_on('rose@0.9.10.0 +cxx11 ^boost@1.66.0 cxxstd=11', type='build')
|
depends_on('boost@1.66.0 cxxstd=11', type='build')
|
||||||
depends_on('autoconf', type='build')
|
depends_on('rose@0.9.10.0 +cxx11', type='build')
|
||||||
depends_on('automake', type='build')
|
depends_on('autoconf', type='build')
|
||||||
depends_on('libtool', type='build')
|
depends_on('automake@1.14:', type='build')
|
||||||
depends_on('m4', type='build')
|
depends_on('libtool', type='build')
|
||||||
depends_on('iegenlib', type='build')
|
depends_on('m4', type='build')
|
||||||
|
depends_on('iegenlib', type='build')
|
||||||
|
depends_on('bison@3.4', type='build')
|
||||||
|
depends_on('flex', type='build')
|
||||||
depends_on('python')
|
depends_on('python')
|
||||||
|
|
||||||
@run_before('configure')
|
build_directory = 'spack-build'
|
||||||
def bootstrap(self, spec, prefix):
|
|
||||||
bash = wich('bash')
|
def autoreconf(self, spec, prefix):
|
||||||
|
bash = which('bash')
|
||||||
bash('./bootstrap')
|
bash('./bootstrap')
|
||||||
|
|
||||||
def setup_environment(self, spack_env, run_env):
|
def setup_environment(self, spack_env, run_env):
|
||||||
@ -51,6 +55,6 @@ def setup_environment(self, spack_env, run_env):
|
|||||||
def configure_args(self):
|
def configure_args(self):
|
||||||
args = ['--with-rose={0}'.format(self.spec['rose'].prefix),
|
args = ['--with-rose={0}'.format(self.spec['rose'].prefix),
|
||||||
'--with-boost={0}'.format(self.spec['boost'].prefix),
|
'--with-boost={0}'.format(self.spec['boost'].prefix),
|
||||||
'--with-iegen={0}'.format(self.sepc['iegenlib'].prefix)]
|
'--with-iegen={0}'.format(self.spec['iegenlib'].prefix)]
|
||||||
|
|
||||||
return args
|
return args
|
||||||
|
Loading…
Reference in New Issue
Block a user