summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormuhviehstah2016-07-12 20:13:59 +0200
committermuhviehstah2016-07-12 20:13:59 +0200
commitf00a453c4eb3c08a90581558cc1c499e61d4e5fa (patch)
tree14bf51abddfef35551d7a9d584dd23da43ff9e40
downloadaur-f00a453c4eb3c08a90581558cc1c499e61d4e5fa.tar.gz
cloog with isl15 and osl
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD35
2 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..20c9e1fd7b1
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = cloog-git
+ pkgdesc = Library that generates loops for scanning polyhedra
+ pkgver = 0.18.4
+ pkgrel = 2
+ url = http://www.bastoul.net/cloog/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ depends = isl
+ provides = isl15
+ provides = cloog
+ source = cloog-0.18.4::git+http://repo.or.cz/cloog.git#branch=master
+ md5sums = SKIP
+
+pkgname = cloog-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..30e82376efb
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,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
+}