mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 13:54:37 +08:00
30 lines
677 B
Bash
30 lines
677 B
Bash
|
|
pkgname=cloog
|
|
pkgver=0.18.4
|
|
pkgrel=1
|
|
pkgdesc="Library that generates loops for scanning polyhedra"
|
|
arch=('x86_64')
|
|
url="http://www.bastoul.net/cloog/"
|
|
license=('GPL')
|
|
depends=('isl')
|
|
source=(http://www.bastoul.net/cloog/pages/download/$pkgname-$pkgver.tar.gz)
|
|
md5sums=('e531f725244856c92c9bba009ff44faf')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr --with-isl=system
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
# There are certain race conditions on running the tests, so we restrict
|
|
# it to one job (one CPU core).
|
|
make -j1 check
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}/" install
|
|
}
|