Convert isl to AutotoolsPackage (#3507)
This commit is contained in:
parent
ed9dec2259
commit
657110f9d7
@ -25,19 +25,19 @@
|
|||||||
from spack import *
|
from spack import *
|
||||||
|
|
||||||
|
|
||||||
class Isl(Package):
|
class Isl(AutotoolsPackage):
|
||||||
"""isl is a thread-safe C library for manipulating sets and
|
"""isl (Integer Set Library) is a thread-safe C library for manipulating
|
||||||
relations of integer points bounded by affine constraints."""
|
sets and relations of integer points bounded by affine constraints."""
|
||||||
|
|
||||||
homepage = "http://isl.gforge.inria.fr"
|
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.18', '11436d6b205e516635b666090b94ab32')
|
||||||
version('0.14', 'acd347243fca5609e3df37dba47fd0bb')
|
version('0.14', 'acd347243fca5609e3df37dba47fd0bb')
|
||||||
|
|
||||||
depends_on("gmp")
|
depends_on('gmp')
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def configure_args(self):
|
||||||
configure("--prefix=%s" % prefix,
|
return [
|
||||||
"--with-gmp-prefix=%s" % spec['gmp'].prefix)
|
'--with-gmp-prefix={0}'.format(self.spec['gmp'].prefix)
|
||||||
make()
|
]
|
||||||
make("install")
|
|
||||||
|
Loading…
Reference in New Issue
Block a user