Convert isl to AutotoolsPackage (#3507)

This commit is contained in:
Adam J. Stewart 2017-03-21 12:11:03 -05:00 committed by GitHub
parent ed9dec2259
commit 657110f9d7

View File

@ -25,19 +25,19 @@
from spack import *
class Isl(Package):
"""isl is a thread-safe C library for manipulating sets and
relations of integer points bounded by affine constraints."""
class Isl(AutotoolsPackage):
"""isl (Integer Set Library) is a thread-safe C library for manipulating
sets and relations of integer points bounded by affine constraints."""
homepage = "http://isl.gforge.inria.fr"
url = "http://isl.gforge.inria.fr/isl-0.14.tar.bz2"
url = "http://isl.gforge.inria.fr/isl-0.18.tar.bz2"
version('0.18', '11436d6b205e516635b666090b94ab32')
version('0.14', 'acd347243fca5609e3df37dba47fd0bb')
depends_on("gmp")
depends_on('gmp')
def install(self, spec, prefix):
configure("--prefix=%s" % prefix,
"--with-gmp-prefix=%s" % spec['gmp'].prefix)
make()
make("install")
def configure_args(self):
return [
'--with-gmp-prefix={0}'.format(self.spec['gmp'].prefix)
]