summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorDerick Huth <derickhuth@gmail.com>2019-08-21 19:39:06 -0600
committerPeter Scheibel <scheibel1@llnl.gov>2019-08-21 18:39:06 -0700
commitfadba727d3e7973406236ccb4e22c422566fc05d (patch)
tree11853956fb03eb59b70be8849d0b642986e8c60c /var
parent661b1da5d0f55c8298fdbfcebae7d58f9118a4a1 (diff)
downloadspack-fadba727d3e7973406236ccb4e22c422566fc05d.tar.gz
spack-fadba727d3e7973406236ccb4e22c422566fc05d.tar.bz2
spack-fadba727d3e7973406236ccb4e22c422566fc05d.tar.xz
spack-fadba727d3e7973406236ccb4e22c422566fc05d.zip
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
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/chill/package.py24
1 files changed, 14 insertions, 10 deletions
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