From a52aae1102dd66b353127d2f5c2218551af656e4 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 21 Jun 2013 01:32:30 -0700 Subject: Fri Jun 21 01:31:20 PDT 2013 --- core/cloog/PKGBUILD | 25 ++++++--- core/cloog/cloog-0.18.0-isl-0.11.2.patch | 95 ++++++++++++++++++++++++++++++++ core/gzip/PKGBUILD | 23 ++++---- core/libtool/PKGBUILD | 5 +- 4 files changed, 125 insertions(+), 23 deletions(-) create mode 100644 core/cloog/cloog-0.18.0-isl-0.11.2.patch (limited to 'core') diff --git a/core/cloog/PKGBUILD b/core/cloog/PKGBUILD index 997ca2fdf..34e160b6f 100644 --- a/core/cloog/PKGBUILD +++ b/core/cloog/PKGBUILD @@ -1,30 +1,39 @@ -# $Id: PKGBUILD 173940 2012-12-28 13:11:09Z allan $ +# $Id: PKGBUILD 188781 2013-06-20 06:35:09Z allan $ # Maintainer: Allan McRae pkgname=cloog pkgver=0.18.0 -pkgrel=1 +pkgrel=2 pkgdesc="Library that generates loops for scanning polyhedra" arch=('i686' 'x86_64') url="http://www.bastoul.net/cloog/" license=('GPL') depends=('isl' 'gmp') options=('!libtool') -source=(http://www.bastoul.net/cloog/pages/download/$pkgname-$pkgver.tar.gz) -md5sums=('be78a47bd82523250eb3e91646db5b3d') +source=(http://www.bastoul.net/cloog/pages/download/$pkgname-$pkgver.tar.gz + cloog-0.18.0-isl-0.11.2.patch) +md5sums=('be78a47bd82523250eb3e91646db5b3d' + '1bec9a7f1c3e9e0f3f10f23898f7148d') + +prepare() { + cd $srcdir/$pkgname-$pkgver + + # test-suite fix - commit fc8b0627 + patch -p1 -i $srcdir/cloog-0.18.0-isl-0.11.2.patch +} build() { - cd "$srcdir/$pkgname-$pkgver" + cd $srcdir/$pkgname-$pkgver ./configure --prefix=/usr --with-isl=system make } check() { - cd "$srcdir/$pkgname-$pkgver" + cd $srcdir/$pkgname-$pkgver make check } package() { - cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir/" install + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir/ install } diff --git a/core/cloog/cloog-0.18.0-isl-0.11.2.patch b/core/cloog/cloog-0.18.0-isl-0.11.2.patch new file mode 100644 index 000000000..ca4290b68 --- /dev/null +++ b/core/cloog/cloog-0.18.0-isl-0.11.2.patch @@ -0,0 +1,95 @@ +diff --git a/test/darte.c b/test/darte.c +index e185b7a..2a4a1b8 100644 +--- a/test/darte.c ++++ b/test/darte.c +@@ -6,14 +6,14 @@ if (n >= 1) { + } + } + for (t1=-n+2;t1<=n-1;t1++) { +- if (t1 >= 2) { ++ if (t1 >= 0) { + for (t3=t1+4;t3<=t1+2*n+2;t3++) { + if ((t1+t3)%2 == 0) { + S1(t1+1,1,(-t1+t3-2)/2); + } + } + } +- for (t2=max(-t1+2,t1+2);t2<=-t1+4;t2++) { ++ for (t2=max(-t1+2,t1+3);t2<=-t1+4;t2++) { + for (t3=t2+2;t3<=t2+2*n;t3++) { + if ((t1+t2)%2 == 0) { + if ((t1+t3)%2 == 0) { +diff --git a/test/dartef.f b/test/dartef.f +index 50e1073..3b5e3e2 100644 +--- a/test/dartef.f ++++ b/test/dartef.f +@@ -6,14 +6,14 @@ IF (n >= 1) THEN + END IF + END DO + DO t1=-n+2, n-1 +- IF (t1 >= 2) THEN ++ IF (t1 >= 0) THEN + DO t3=t1+4, t1+2*n+2 + IF (MOD(t1+t3, 2) == 0) THEN + S1(t1+1,1,(-t1+t3-2)/2) + END IF + END DO + END IF +- DO t2=MAX(-t1+2,t1+2), -t1+4 ++ DO t2=MAX(-t1+2,t1+3), -t1+4 + DO t3=t2+2, t2+2*n + IF (MOD(t1+t2, 2) == 0) THEN + IF (MOD(t1+t3, 2) == 0) THEN +diff --git a/test/dealII.c b/test/dealII.c +index 200b257..5d28c4a 100644 +--- a/test/dealII.c ++++ b/test/dealII.c +@@ -3,10 +3,13 @@ for (scat_0=0;scat_0<=min(T_66,T_2-1);scat_0++) { + S1(scat_0); + S2(scat_0); + } +-if ((T_2 == 0) && (T_67 == 0)) { ++if ((T_2 == 0) && (T_66 >= 0) && (T_67 == 0)) { + S1(0); + } +-for (scat_0=max(0,T_66+1);scat_0<=T_2-1;scat_0++) { ++if ((T_66 <= -1) && (T_67 == 0)) { ++ S1(0); ++} ++for (scat_0=max(max(0,T_66+1),-T_67+1);scat_0<=T_2-1;scat_0++) { + S1(scat_0); + } + for (scat_0=T_2;scat_0<=min(T_66,T_67-1);scat_0++) { +diff --git a/test/isl/jacobi-shared.c b/test/isl/jacobi-shared.c +index e8e5ec7..9e345c6 100644 +--- a/test/isl/jacobi-shared.c ++++ b/test/isl/jacobi-shared.c +@@ -1,6 +1,6 @@ + /* Generated from ../../../git/cloog/test/isl/jacobi-shared.cloog by CLooG 0.16.3-2-g5511bef gmp bits in 1.82s. */ + if ((h0+1)%2 == 0) { +- if ((16*floord(t0-1,16) >= -N+g1+t0+1) && (16*floord(N+15*g1+15*t0+15,16) >= 15*g1+15*t0+19) && (32*floord(t1-1,32) <= g2+t1-3) && (32*floord(t1-1,32) >= -N+g2+t1+1)) { ++ if ((16*floord(N+15*g1+15*t0+15,16) >= 15*g1+15*t0+19) && (16*floord(N+15*g1+15*t0+15,16) >= 16*g1+15*t0+17) && (32*floord(t1-1,32) <= g2+t1-3) && (32*floord(t1-1,32) >= -N+g2+t1+1)) { + for (c0=max(-16*floord(t0-1,16)+t0,-16*floord(g1+t0-3,16)+t0);c0<=min(32,N-g1-1);c0+=16) { + c1 = 32*floord(-t1,32)+t1+32; + if (c1 <= 32) { +diff --git a/test/vasilache.c b/test/vasilache.c +index 5a00a33..fdff031 100644 +--- a/test/vasilache.c ++++ b/test/vasilache.c +@@ -15,12 +15,12 @@ for (p1=0;p1<=N-1;p1++) { + S6(p1,p3,p5,p7-1); + S7(p1,p3,p5,p7); + } +- if (p5 <= floord(N-33,32)) { +- S6(p1,p3,p5,32*p5+31); +- } +- if (p5 >= ceild(N-32,32)) { ++ if (p5 >= ceild(N-31,32)) { + S6(p1,p3,p5,N-1); + } ++ if (p5 <= floord(N-32,32)) { ++ S6(p1,p3,p5,32*p5+31); ++ } + } + } + } diff --git a/core/gzip/PKGBUILD b/core/gzip/PKGBUILD index fc9052e7e..4f394dc9e 100644 --- a/core/gzip/PKGBUILD +++ b/core/gzip/PKGBUILD @@ -1,36 +1,33 @@ -# $Id: PKGBUILD 177557 2013-02-07 05:59:16Z allan $ +# $Id: PKGBUILD 188782 2013-06-20 06:35:10Z allan $ # Maintainer: Allan McRae # Contributor: judd pkgname=gzip -pkgver=1.5 -pkgrel=3 +pkgver=1.6 +pkgrel=1 pkgdesc="GNU compression utility" arch=('i686' 'x86_64') url="http://www.gnu.org/software/gzip/" license=('GPL3') groups=('base' 'base-devel') -depends=('glibc' 'bash') +depends=('glibc' 'bash' 'less') install=gzip.install -source=(ftp://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.xz{,.sig} - gzip-1.5-yesno-declaration.patch) -md5sums=('2a431e169b6f62f7332ef6d47cc53bae' - '2de95937a3f65137acf9c55d4ad0447a' - 'd63249578de2eb6aadaded26918d8eed') +source=(ftp://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.xz{,.sig}) +md5sums=('da981f86677d58a106496e68de6f8995' + 'SKIP') build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/usr - patch -p1 -i $srcdir/gzip-1.5-yesno-declaration.patch make } check() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd ${srcdir}/${pkgname}-${pkgver} make check } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd ${srcdir}/${pkgname}-${pkgver} make prefix=${pkgdir}/usr install } diff --git a/core/libtool/PKGBUILD b/core/libtool/PKGBUILD index 46cd0264a..ba2fa2443 100644 --- a/core/libtool/PKGBUILD +++ b/core/libtool/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 186998 2013-06-03 02:50:09Z allan $ +# $Id: PKGBUILD 188783 2013-06-20 06:35:11Z allan $ # Maintainer: Allan McRae # Contributor: judd @@ -6,11 +6,12 @@ pkgname=('libtool' 'libltdl') pkgver=2.4.2 -pkgrel=9 +pkgrel=10 pkgdesc="A generic library support script" arch=('i686' 'x86_64') url="http://www.gnu.org/software/libtool" license=('GPL') +makedepends=('gcc=4.8.1') options=('!libtool') source=(ftp://ftp.gnu.org/pub/gnu/libtool/${pkgname}-${pkgver}.tar.xz{,.sig}) md5sums=('2ec8997e0c07249eb4cbd072417d70fe' -- cgit v1.2.3-54-g00ecf