From 850b2ad42e0b26563c77c9fe402e15a70c638ca3 Mon Sep 17 00:00:00 2001 From: Derick Huth Date: Fri, 9 Aug 2019 09:14:17 -0600 Subject: Fixed broken iegenlib package (#12229) * Fixed broken iegenlib package * [IEGenLib] fixed for style * [IEGenLib] style fixes * [IEGenLib] removed CMAKE_BUILD_TYPE option from config_args --- var/spack/repos/builtin/packages/iegenlib/package.py | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/iegenlib/package.py b/var/spack/repos/builtin/packages/iegenlib/package.py index c139bda26b..383bc6d5a4 100644 --- a/var/spack/repos/builtin/packages/iegenlib/package.py +++ b/var/spack/repos/builtin/packages/iegenlib/package.py @@ -6,7 +6,7 @@ from spack import * -class Iegenlib(AutotoolsPackage): +class Iegenlib(CMakePackage): """Inspector/Executor Generation Library for manipulating sets and relations with uninterpreted function symbols. """ @@ -22,5 +22,21 @@ class Iegenlib(AutotoolsPackage): sha256='b4c0b368363fcc1e34b388057cc0940bb87fc336cebb0772fd6055f45009b12b') depends_on('cmake@2.6:', type='build') + depends_on('autoconf', type='build') + depends_on('texinfo', type='build') depends_on('isl') - depends_on('texinfo', type='build') + + build_directory = 'spack-build' + + @run_before('cmake') + def make_dirs(self): + autoreconf = which('autoreconf') + with working_dir('lib/isl'): + autoreconf('-i') + mkdirp('spack-build/bin') + + def cmake_args(self): + args = [] + args.append('-DGEN_PARSER=no') + args.append('-DBUILD_PYTHON=no') + return args -- cgit v1.2.3-70-g09d2