[arch-commits] Commit in mingw-w64-gcc-base/repos (6 files)

Sergej Pupykin spupykin at archlinux.org
Wed Nov 5 14:36:00 UTC 2014


    Date: Wednesday, November 5, 2014 @ 15:36:00
  Author: spupykin
Revision: 121956

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  mingw-w64-gcc-base/repos/community-testing-i686/
  mingw-w64-gcc-base/repos/community-testing-i686/PKGBUILD
    (from rev 121955, mingw-w64-gcc-base/trunk/PKGBUILD)
  mingw-w64-gcc-base/repos/community-testing-i686/isl.patch
    (from rev 121955, mingw-w64-gcc-base/trunk/isl.patch)
  mingw-w64-gcc-base/repos/community-testing-x86_64/
  mingw-w64-gcc-base/repos/community-testing-x86_64/PKGBUILD
    (from rev 121955, mingw-w64-gcc-base/trunk/PKGBUILD)
  mingw-w64-gcc-base/repos/community-testing-x86_64/isl.patch
    (from rev 121955, mingw-w64-gcc-base/trunk/isl.patch)

------------------------------------+
 community-testing-i686/PKGBUILD    |   60 +++++++++++++++++++++++++++
 community-testing-i686/isl.patch   |   76 +++++++++++++++++++++++++++++++++++
 community-testing-x86_64/PKGBUILD  |   60 +++++++++++++++++++++++++++
 community-testing-x86_64/isl.patch |   76 +++++++++++++++++++++++++++++++++++
 4 files changed, 272 insertions(+)

Copied: mingw-w64-gcc-base/repos/community-testing-i686/PKGBUILD (from rev 121955, mingw-w64-gcc-base/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2014-11-05 14:36:00 UTC (rev 121956)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at 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.2
+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)
+md5sums=('4df8ee253b7f3863ad0b86359cd39c43')
+
+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
+}
+
+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-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-testing-i686/isl.patch (from rev 121955, mingw-w64-gcc-base/trunk/isl.patch)
===================================================================
--- community-testing-i686/isl.patch	                        (rev 0)
+++ community-testing-i686/isl.patch	2014-11-05 14:36:00 UTC (rev 121956)
@@ -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-testing-x86_64/PKGBUILD (from rev 121955, mingw-w64-gcc-base/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2014-11-05 14:36:00 UTC (rev 121956)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at 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.2
+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)
+md5sums=('4df8ee253b7f3863ad0b86359cd39c43')
+
+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
+}
+
+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-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-testing-x86_64/isl.patch (from rev 121955, mingw-w64-gcc-base/trunk/isl.patch)
===================================================================
--- community-testing-x86_64/isl.patch	                        (rev 0)
+++ community-testing-x86_64/isl.patch	2014-11-05 14:36:00 UTC (rev 121956)
@@ -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>


More information about the arch-commits mailing list