Date: Monday, June 9, 2014 @ 14:37:42 Author: spupykin Revision: 112903
archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: mingw-w64-gcc-base/repos/community-staging-i686/ mingw-w64-gcc-base/repos/community-staging-i686/PKGBUILD (from rev 112902, mingw-w64-gcc-base/trunk/PKGBUILD) mingw-w64-gcc-base/repos/community-staging-i686/isl.patch (from rev 112902, mingw-w64-gcc-base/trunk/isl.patch) mingw-w64-gcc-base/repos/community-staging-x86_64/ mingw-w64-gcc-base/repos/community-staging-x86_64/PKGBUILD (from rev 112902, mingw-w64-gcc-base/trunk/PKGBUILD) mingw-w64-gcc-base/repos/community-staging-x86_64/isl.patch (from rev 112902, mingw-w64-gcc-base/trunk/isl.patch) ------------------------------------+ community-staging-i686/PKGBUILD | 65 +++++++++++++++++++++++++++++ community-staging-i686/isl.patch | 76 +++++++++++++++++++++++++++++++++++ community-staging-x86_64/PKGBUILD | 65 +++++++++++++++++++++++++++++ community-staging-x86_64/isl.patch | 76 +++++++++++++++++++++++++++++++++++ 4 files changed, 282 insertions(+) Copied: mingw-w64-gcc-base/repos/community-staging-i686/PKGBUILD (from rev 112902, mingw-w64-gcc-base/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2014-06-09 12:37:42 UTC (rev 112903) @@ -0,0 +1,65 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Maintainer: rubenvb vanboxem <dottie> ruben <attie> gmail <dottie> com + +_targets="i686-w64-mingw32 x86_64-w64-mingw32" + +pkgname=mingw-w64-gcc-base +pkgver=4.9.0 +pkgrel=1 +pkgdesc="Cross GCC for the MinGW-w64 cross-compiler (bootstrap)" +arch=('i686' 'x86_64') +url="http://gcc.gnu.org" +license=('GPL' 'LGPL' 'FDL' 'custom') +groups=('mingw-w64-bootstrap' 'mingw-w64') +depends=('zlib' 'libmpc' 'ppl' 'cloog' 'mingw-w64-binutils' 'mingw-w64-headers' 'mingw-w64-headers-bootstrap') +conflicts=('mingw-w64-gcc') +options=('staticlibs' '!emptydirs') +source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2 + isl.patch) +md5sums=('9709b49ae0e904cbb0a6a1b62853b556' + 'd99c0a484178b890526d180de1c6e8f8') + +prepare() { + cd ${srcdir}/gcc-${pkgver} + + #do not install libiberty + sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in + # hack! - some configure tests for header files using "$CPP $CPPFLAGS" + sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" {libiberty,gcc}/configure + + patch -p1 <$srcdir/isl.patch +} + +build() { + for _target in ${_targets}; do + msg "Building ${_target} GCC C compiler" + mkdir -p ${srcdir}/gcc-build-${_target} && cd ${srcdir}/gcc-build-${_target} + + ${srcdir}/gcc-${pkgver}/configure --prefix=/usr \ + --target=${_target} \ + --enable-languages=c,lto \ + --enable-shared --enable-static \ + --enable-threads=win32 \ + --with-system-zlib --enable-cloog-backend=isl \ + --disable-cloog-version-check --disable-isl-version-check \ + --enable-lto --disable-dw2-exceptions --enable-libgomp \ + --disable-nls --enable-version-specific-runtime-libs \ + --disable-multilib --enable-checking=release + make all-gcc + done +} + +package() { + for _target in ${_targets}; do + msg "Installing ${_target} GCC C compiler" + cd ${srcdir}/gcc-build-${_target} + make DESTDIR=${pkgdir} install-gcc + strip ${pkgdir}/usr/bin/${_target}-* + strip ${pkgdir}/usr/libexec/gcc/${_target}/${pkgver}/{cc1,collect2,lto*} + done + # remove unnecessary files + msg "Removing man and info pages" + rm -r ${pkgdir}/usr/share/man + rm -r ${pkgdir}/usr/share/info +} Copied: mingw-w64-gcc-base/repos/community-staging-i686/isl.patch (from rev 112902, mingw-w64-gcc-base/trunk/isl.patch) =================================================================== --- community-staging-i686/isl.patch (rev 0) +++ community-staging-i686/isl.patch 2014-06-09 12:37:42 UTC (rev 112903) @@ -0,0 +1,76 @@ +diff -wbBur gcc-4.9.0/gcc/graphite-clast-to-gimple.c gcc-4.9.0.my/gcc/graphite-clast-to-gimple.c +--- gcc-4.9.0/gcc/graphite-clast-to-gimple.c 2014-03-03 15:39:22.000000000 +0400 ++++ gcc-4.9.0.my/gcc/graphite-clast-to-gimple.c 2014-06-09 15:23:14.858543000 +0400 +@@ -28,6 +28,8 @@ + #include <isl/constraint.h> + #include <isl/ilp.h> + #include <isl/aff.h> ++#include <isl/deprecated/int.h> ++#include <isl/deprecated/ilp_int.h> + #include <cloog/cloog.h> + #include <cloog/isl/domain.h> + #endif +diff -wbBur gcc-4.9.0/gcc/graphite-interchange.c gcc-4.9.0.my/gcc/graphite-interchange.c +--- gcc-4.9.0/gcc/graphite-interchange.c 2014-01-03 02:23:26.000000000 +0400 ++++ gcc-4.9.0.my/gcc/graphite-interchange.c 2014-06-09 15:24:02.275209122 +0400 +@@ -29,6 +29,9 @@ + #include <isl/map.h> + #include <isl/union_map.h> + #include <isl/ilp.h> ++#include <isl/deprecated/int.h> ++#include <isl/deprecated/ilp_int.h> ++#include <isl/deprecated/constraint_int.h> + #include <cloog/cloog.h> + #include <cloog/isl/domain.h> + #endif +diff -wbBur gcc-4.9.0/gcc/graphite-optimize-isl.c gcc-4.9.0.my/gcc/graphite-optimize-isl.c +--- gcc-4.9.0/gcc/graphite-optimize-isl.c 2014-01-03 02:23:26.000000000 +0400 ++++ gcc-4.9.0.my/gcc/graphite-optimize-isl.c 2014-06-09 15:28:20.325206155 +0400 +@@ -28,6 +28,10 @@ + #include <isl/band.h> + #include <isl/aff.h> + #include <isl/options.h> ++#include <isl/deprecated/int.h> ++#include <isl/deprecated/ilp_int.h> ++#include <isl/deprecated/aff_int.h> ++#include <isl/deprecated/constraint_int.h> + #endif + + #include "system.h" +@@ -373,7 +377,7 @@ + { + for (i = ScheduleDimensions - 1 ; i >= 0 ; i--) + { +- if (isl_band_member_is_zero_distance (Band, i)) ++ if (isl_band_member_is_coincident (Band, i)) + { + isl_map *TileMap; + isl_union_map *TileUMap; +diff -wbBur gcc-4.9.0/gcc/graphite-poly.c gcc-4.9.0.my/gcc/graphite-poly.c +--- gcc-4.9.0/gcc/graphite-poly.c 2014-01-03 02:23:26.000000000 +0400 ++++ gcc-4.9.0.my/gcc/graphite-poly.c 2014-06-09 15:31:04.541870933 +0400 +@@ -28,6 +28,10 @@ + #include <isl/constraint.h> + #include <isl/ilp.h> + #include <isl/aff.h> ++#include <isl/deprecated/int.h> ++#include <isl/deprecated/ilp_int.h> ++#include <isl/deprecated/aff_int.h> ++#include <isl/deprecated/constraint_int.h> + #include <cloog/cloog.h> + #include <cloog/isl/domain.h> + #endif +diff -wbBur gcc-4.9.0/gcc/graphite-sese-to-poly.c gcc-4.9.0.my/gcc/graphite-sese-to-poly.c +--- gcc-4.9.0/gcc/graphite-sese-to-poly.c 2014-04-08 14:59:40.000000000 +0400 ++++ gcc-4.9.0.my/gcc/graphite-sese-to-poly.c 2014-06-09 15:31:21.731870661 +0400 +@@ -26,6 +26,10 @@ + #include <isl/union_map.h> + #include <isl/constraint.h> + #include <isl/aff.h> ++#include <isl/deprecated/int.h> ++#include <isl/deprecated/ilp_int.h> ++#include <isl/deprecated/aff_int.h> ++#include <isl/deprecated/constraint_int.h> + #include <cloog/cloog.h> + #include <cloog/cloog.h> + #include <cloog/isl/domain.h> Copied: mingw-w64-gcc-base/repos/community-staging-x86_64/PKGBUILD (from rev 112902, mingw-w64-gcc-base/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2014-06-09 12:37:42 UTC (rev 112903) @@ -0,0 +1,65 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Maintainer: rubenvb vanboxem <dottie> ruben <attie> gmail <dottie> com + +_targets="i686-w64-mingw32 x86_64-w64-mingw32" + +pkgname=mingw-w64-gcc-base +pkgver=4.9.0 +pkgrel=1 +pkgdesc="Cross GCC for the MinGW-w64 cross-compiler (bootstrap)" +arch=('i686' 'x86_64') +url="http://gcc.gnu.org" +license=('GPL' 'LGPL' 'FDL' 'custom') +groups=('mingw-w64-bootstrap' 'mingw-w64') +depends=('zlib' 'libmpc' 'ppl' 'cloog' 'mingw-w64-binutils' 'mingw-w64-headers' 'mingw-w64-headers-bootstrap') +conflicts=('mingw-w64-gcc') +options=('staticlibs' '!emptydirs') +source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2 + isl.patch) +md5sums=('9709b49ae0e904cbb0a6a1b62853b556' + 'd99c0a484178b890526d180de1c6e8f8') + +prepare() { + cd ${srcdir}/gcc-${pkgver} + + #do not install libiberty + sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in + # hack! - some configure tests for header files using "$CPP $CPPFLAGS" + sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" {libiberty,gcc}/configure + + patch -p1 <$srcdir/isl.patch +} + +build() { + for _target in ${_targets}; do + msg "Building ${_target} GCC C compiler" + mkdir -p ${srcdir}/gcc-build-${_target} && cd ${srcdir}/gcc-build-${_target} + + ${srcdir}/gcc-${pkgver}/configure --prefix=/usr \ + --target=${_target} \ + --enable-languages=c,lto \ + --enable-shared --enable-static \ + --enable-threads=win32 \ + --with-system-zlib --enable-cloog-backend=isl \ + --disable-cloog-version-check --disable-isl-version-check \ + --enable-lto --disable-dw2-exceptions --enable-libgomp \ + --disable-nls --enable-version-specific-runtime-libs \ + --disable-multilib --enable-checking=release + make all-gcc + done +} + +package() { + for _target in ${_targets}; do + msg "Installing ${_target} GCC C compiler" + cd ${srcdir}/gcc-build-${_target} + make DESTDIR=${pkgdir} install-gcc + strip ${pkgdir}/usr/bin/${_target}-* + strip ${pkgdir}/usr/libexec/gcc/${_target}/${pkgver}/{cc1,collect2,lto*} + done + # remove unnecessary files + msg "Removing man and info pages" + rm -r ${pkgdir}/usr/share/man + rm -r ${pkgdir}/usr/share/info +} Copied: mingw-w64-gcc-base/repos/community-staging-x86_64/isl.patch (from rev 112902, mingw-w64-gcc-base/trunk/isl.patch) =================================================================== --- community-staging-x86_64/isl.patch (rev 0) +++ community-staging-x86_64/isl.patch 2014-06-09 12:37:42 UTC (rev 112903) @@ -0,0 +1,76 @@ +diff -wbBur gcc-4.9.0/gcc/graphite-clast-to-gimple.c gcc-4.9.0.my/gcc/graphite-clast-to-gimple.c +--- gcc-4.9.0/gcc/graphite-clast-to-gimple.c 2014-03-03 15:39:22.000000000 +0400 ++++ gcc-4.9.0.my/gcc/graphite-clast-to-gimple.c 2014-06-09 15:23:14.858543000 +0400 +@@ -28,6 +28,8 @@ + #include <isl/constraint.h> + #include <isl/ilp.h> + #include <isl/aff.h> ++#include <isl/deprecated/int.h> ++#include <isl/deprecated/ilp_int.h> + #include <cloog/cloog.h> + #include <cloog/isl/domain.h> + #endif +diff -wbBur gcc-4.9.0/gcc/graphite-interchange.c gcc-4.9.0.my/gcc/graphite-interchange.c +--- gcc-4.9.0/gcc/graphite-interchange.c 2014-01-03 02:23:26.000000000 +0400 ++++ gcc-4.9.0.my/gcc/graphite-interchange.c 2014-06-09 15:24:02.275209122 +0400 +@@ -29,6 +29,9 @@ + #include <isl/map.h> + #include <isl/union_map.h> + #include <isl/ilp.h> ++#include <isl/deprecated/int.h> ++#include <isl/deprecated/ilp_int.h> ++#include <isl/deprecated/constraint_int.h> + #include <cloog/cloog.h> + #include <cloog/isl/domain.h> + #endif +diff -wbBur gcc-4.9.0/gcc/graphite-optimize-isl.c gcc-4.9.0.my/gcc/graphite-optimize-isl.c +--- gcc-4.9.0/gcc/graphite-optimize-isl.c 2014-01-03 02:23:26.000000000 +0400 ++++ gcc-4.9.0.my/gcc/graphite-optimize-isl.c 2014-06-09 15:28:20.325206155 +0400 +@@ -28,6 +28,10 @@ + #include <isl/band.h> + #include <isl/aff.h> + #include <isl/options.h> ++#include <isl/deprecated/int.h> ++#include <isl/deprecated/ilp_int.h> ++#include <isl/deprecated/aff_int.h> ++#include <isl/deprecated/constraint_int.h> + #endif + + #include "system.h" +@@ -373,7 +377,7 @@ + { + for (i = ScheduleDimensions - 1 ; i >= 0 ; i--) + { +- if (isl_band_member_is_zero_distance (Band, i)) ++ if (isl_band_member_is_coincident (Band, i)) + { + isl_map *TileMap; + isl_union_map *TileUMap; +diff -wbBur gcc-4.9.0/gcc/graphite-poly.c gcc-4.9.0.my/gcc/graphite-poly.c +--- gcc-4.9.0/gcc/graphite-poly.c 2014-01-03 02:23:26.000000000 +0400 ++++ gcc-4.9.0.my/gcc/graphite-poly.c 2014-06-09 15:31:04.541870933 +0400 +@@ -28,6 +28,10 @@ + #include <isl/constraint.h> + #include <isl/ilp.h> + #include <isl/aff.h> ++#include <isl/deprecated/int.h> ++#include <isl/deprecated/ilp_int.h> ++#include <isl/deprecated/aff_int.h> ++#include <isl/deprecated/constraint_int.h> + #include <cloog/cloog.h> + #include <cloog/isl/domain.h> + #endif +diff -wbBur gcc-4.9.0/gcc/graphite-sese-to-poly.c gcc-4.9.0.my/gcc/graphite-sese-to-poly.c +--- gcc-4.9.0/gcc/graphite-sese-to-poly.c 2014-04-08 14:59:40.000000000 +0400 ++++ gcc-4.9.0.my/gcc/graphite-sese-to-poly.c 2014-06-09 15:31:21.731870661 +0400 +@@ -26,6 +26,10 @@ + #include <isl/union_map.h> + #include <isl/constraint.h> + #include <isl/aff.h> ++#include <isl/deprecated/int.h> ++#include <isl/deprecated/ilp_int.h> ++#include <isl/deprecated/aff_int.h> ++#include <isl/deprecated/constraint_int.h> + #include <cloog/cloog.h> + #include <cloog/cloog.h> + #include <cloog/isl/domain.h>