2011-04-12 02:22:13 +08:00
|
|
|
|
|
|
|
pkgname=cloog
|
2015-10-30 04:34:19 +08:00
|
|
|
pkgver=0.18.4
|
|
|
|
pkgrel=1
|
2011-04-12 02:22:13 +08:00
|
|
|
pkgdesc="Library that generates loops for scanning polyhedra"
|
2012-11-14 04:07:01 +08:00
|
|
|
arch=('x86_64')
|
2011-04-12 02:22:13 +08:00
|
|
|
url="http://www.bastoul.net/cloog/"
|
|
|
|
license=('GPL')
|
2014-09-16 19:53:45 +08:00
|
|
|
depends=('isl')
|
2015-10-30 04:34:19 +08:00
|
|
|
source=(http://www.bastoul.net/cloog/pages/download/$pkgname-$pkgver.tar.gz)
|
|
|
|
md5sums=('e531f725244856c92c9bba009ff44faf')
|
2013-09-26 06:47:51 +08:00
|
|
|
|
2011-04-12 02:22:13 +08:00
|
|
|
build() {
|
2012-01-12 08:46:59 +08:00
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
2013-04-25 06:22:36 +08:00
|
|
|
./configure --prefix=/usr --with-isl=system
|
2011-04-12 02:22:13 +08:00
|
|
|
make
|
2012-01-12 08:46:59 +08:00
|
|
|
}
|
2011-04-12 02:22:13 +08:00
|
|
|
|
2012-01-12 08:46:59 +08:00
|
|
|
check() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
2015-10-30 04:34:19 +08:00
|
|
|
# There are certain race conditions on running the tests, so we restrict
|
|
|
|
# it to one job (one CPU core).
|
|
|
|
make -j1 check
|
2011-04-12 02:22:13 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2012-01-12 08:46:59 +08:00
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
make DESTDIR="${pkgdir}/" install
|
|
|
|
}
|