From fadba727d3e7973406236ccb4e22c422566fc05d Mon Sep 17 00:00:00 2001 From: Derick Huth Date: Wed, 21 Aug 2019 19:39:06 -0600 Subject: 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 --- var/spack/repos/builtin/packages/chill/package.py | 24 +++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/chill/package.py b/var/spack/repos/builtin/packages/chill/package.py index fff0471a45..998f9500f2 100644 --- a/var/spack/repos/builtin/packages/chill/package.py +++ b/var/spack/repos/builtin/packages/chill/package.py @@ -18,17 +18,21 @@ class Chill(AutotoolsPackage): version('master', branch='master') version('0.3', sha256='574b622368a6bfaadbe9c1fa02fabefdc6c006069246f67d299f943b7e1d8aa3') - depends_on('rose@0.9.10.0 +cxx11 ^boost@1.66.0 cxxstd=11', type='build') - depends_on('autoconf', type='build') - depends_on('automake', type='build') - depends_on('libtool', type='build') - depends_on('m4', type='build') - depends_on('iegenlib', type='build') + depends_on('boost@1.66.0 cxxstd=11', type='build') + depends_on('rose@0.9.10.0 +cxx11', type='build') + depends_on('autoconf', type='build') + depends_on('automake@1.14:', type='build') + depends_on('libtool', 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') - @run_before('configure') - def bootstrap(self, spec, prefix): - bash = wich('bash') + build_directory = 'spack-build' + + def autoreconf(self, spec, prefix): + bash = which('bash') bash('./bootstrap') def setup_environment(self, spack_env, run_env): @@ -51,6 +55,6 @@ class Chill(AutotoolsPackage): def configure_args(self): args = ['--with-rose={0}'.format(self.spec['rose'].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 -- cgit v1.2.3-70-g09d2