summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerick Huth <derickhuth@gmail.com>2019-08-09 09:14:17 -0600
committerAdam J. Stewart <ajstewart426@gmail.com>2019-08-09 10:14:17 -0500
commit850b2ad42e0b26563c77c9fe402e15a70c638ca3 (patch)
treee401a8707c3a92da7fb3c2fc8ef1a53f9539c3f7
parente203068125232a6328e1fce21d0d325c58e38858 (diff)
downloadspack-850b2ad42e0b26563c77c9fe402e15a70c638ca3.tar.gz
spack-850b2ad42e0b26563c77c9fe402e15a70c638ca3.tar.bz2
spack-850b2ad42e0b26563c77c9fe402e15a70c638ca3.tar.xz
spack-850b2ad42e0b26563c77c9fe402e15a70c638ca3.zip
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
-rw-r--r--var/spack/repos/builtin/packages/iegenlib/package.py20
1 files 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