summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 30e82376efb1e548b9ace538db8aa1a9978c22a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Maintainer: Aaron Fischer <mail@aaron-fischer.net>
# Contributor: Allan McRae <allan@archlinux.org>

pkgname=cloog-git
pkgver=0.18.4
pkgrel=2
pkgdesc="Library that generates loops for scanning polyhedra"
arch=('i686' 'x86_64')
url="http://www.bastoul.net/cloog/"
license=('GPL')
depends=('isl')
source=('cloog-0.18.4::git+http://repo.or.cz/cloog.git#branch=master')
provides=('isl15' 'cloog')
md5sums=('SKIP')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  git submodule init
  git submodule update --recursive
  sh autogen.sh
  ./configure --prefix=/usr --with-isl --with-osl
  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
}