[arch-commits] Commit in gcc/trunk (PKGBUILD)
Allan McRae
allan at archlinux.org
Wed Apr 15 09:59:06 UTC 2015
Date: Wednesday, April 15, 2015 @ 11:59:06
Author: allan
Revision: 236643
prepare gcc-5 release update
Modified:
gcc/trunk/PKGBUILD
----------+
PKGBUILD | 51 +++++++++++++++++++++++----------------------------
1 file changed, 23 insertions(+), 28 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-04-15 07:56:51 UTC (rev 236642)
+++ PKGBUILD 2015-04-15 09:59:06 UTC (rev 236643)
@@ -5,12 +5,11 @@
# NOTE: libtool requires rebuilt with each new gcc version
pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go')
-pkgver=4.9.2
-_pkgver=4.9
-_islver=0.12.2
-_cloogver=0.18.1
-pkgrel=4
-_snapshot=4.9-20150304
+pkgver=5.1.0
+_pkgver=5
+_islver=0.14.1
+pkgrel=0
+_snapshot=5.1.0-RC-20150412
pkgdesc="The GNU Compiler Collection"
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'FDL' 'custom')
@@ -20,11 +19,9 @@
options=('!emptydirs')
source=(#ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2
ftp://gcc.gnu.org/pub/gcc/snapshots/${_snapshot}/gcc-${_snapshot}.tar.bz2
- http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2
- http://www.bastoul.net/cloog/pages/download/cloog-${_cloogver}.tar.gz)
-md5sums=('863bb9d2a9551c9b7447cfc8b7cc7498'
- 'e039bfcfb6c2ab039b8ee69bf883e824'
- 'e34fca0540d840e5d0f6427e98c92252')
+ http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2)
+md5sums=('37cdc2eb0adf92e421c0841748ac1471'
+ '118d1a379abf7606a3334c98a8411c79')
if [ -n "${_snapshot}" ]; then
_basedir=gcc-${_snapshot}
@@ -37,9 +34,8 @@
prepare() {
cd ${srcdir}/${_basedir}
- # link isl/cloog for in-tree builds
+ # link isl for in-tree build
ln -s ../isl-${_islver} isl
- ln -s ../cloog-${_cloogver} cloog
# Do not run fixincludes
sed -i 's@\./fixinc\.sh at -c true@' gcc/Makefile.in
@@ -69,20 +65,15 @@
--with-bugurl=https://bugs.archlinux.org/ \
--enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ \
--enable-shared --enable-threads=posix \
- --with-system-zlib --enable-__cxa_atexit \
+ --with-system-zlib --with-isl --enable-__cxa_atexit \
--disable-libunwind-exceptions --enable-clocale=gnu \
--disable-libstdcxx-pch --disable-libssp \
--enable-gnu-unique-object --enable-linker-build-id \
- --enable-cloog-backend=isl \
--enable-lto --enable-plugin --enable-install-libiberty \
- --with-linker-hash-style=gnu \
+ --with-linker-hash-style=gnu --enable-gnu-indirect-function \
--disable-multilib --disable-werror \
- --enable-checking=release
-
-# gcc-5.0 changes
-# --with-default-libstdcxx-abi=c++98 - before gcc-5.0 c++ rebuild
-# --enable-gnu-indirect-function
-# --with-isl - cloog no longer needed
+ --enable-checking=release \
+ --with-default-libstdcxx-abi=c++98
make
@@ -106,7 +97,7 @@
{
pkgdesc="Runtime libraries shipped by GCC"
groups=('base')
- depends=('glibc>=2.20')
+ depends=('glibc>=2.21')
options=('!emptydirs' '!strip')
install=gcc-libs.install
@@ -131,7 +122,7 @@
make -C $CHOST/libsanitizer/tsan DESTDIR=${pkgdir} install-toolexeclibLTLIBRARIES
make -C $CHOST/libobjc DESTDIR=${pkgdir} install-libs
-
+
make -C $CHOST/libstdc++-v3/po DESTDIR=${pkgdir} install
for lib in libgomp \
@@ -148,7 +139,7 @@
package_gcc()
{
pkgdesc="The GNU Compiler Collection - C and C++ frontends"
- depends=("gcc-libs=$pkgver-$pkgrel" 'binutils>=2.24' 'libmpc')
+ depends=("gcc-libs=$pkgver-$pkgrel" 'binutils>=2.25' 'libmpc')
groups=('base-devel')
options=('staticlibs')
install=gcc.install
@@ -158,7 +149,7 @@
make -C gcc DESTDIR=${pkgdir} install-driver install-cpp install-gcc-ar \
c++.install-common install-headers install-plugin install-lto-wrapper
- install -m755 gcc/gcov $pkgdir/usr/bin/
+ install -m755 -t $pkgdir/usr/bin/ gcc/gcov{,-tool}
install -m755 -t $pkgdir/${_libdir}/ gcc/{cc1,cc1plus,collect2,lto1}
make -C $CHOST/libgcc DESTDIR=${pkgdir} install
@@ -169,6 +160,7 @@
make -C $CHOST/libstdc++-v3/libsupc++ DESTDIR=${pkgdir} install
make -C $CHOST/libstdc++-v3/python DESTDIR=${pkgdir} install
+ make DESTDIR=${pkgdir} install-libcc1
install -d $pkgdir/usr/share/gdb/auto-load/usr/lib
mv $pkgdir/usr/lib/libstdc++.so.6.*-gdb.py \
$pkgdir/usr/share/gdb/auto-load/usr/lib/
@@ -184,7 +176,7 @@
install-nodist_libsubincludeHEADERS
make -C $CHOST/libitm DESTDIR=${pkgdir} install-nodist_toolexeclibHEADERS
make -C $CHOST/libquadmath DESTDIR=${pkgdir} install-nodist_libsubincludeHEADERS
- make -C $CHOST/libsanitizer DESTDIR=${pkgdir} install-nodist_toolexeclibHEADERS
+ make -C $CHOST/libsanitizer DESTDIR=${pkgdir} install-nodist_{saninclude,toolexeclib}HEADERS
make -C $CHOST/libsanitizer/asan DESTDIR=${pkgdir} install-nodist_toolexeclibHEADERS
make -C libiberty DESTDIR=${pkgdir} install
@@ -246,7 +238,8 @@
install=gcc-fortran.install
cd ${srcdir}/gcc-build
- make -C $CHOST/libgfortran DESTDIR=$pkgdir install-{{caf,my}execlibLTLIBRARIES,toolexeclibDATA}
+ make -C $CHOST/libgfortran DESTDIR=$pkgdir install-{{caf,my}execlibLTLIBRARIES} \
+ install-{toolexeclibDATA,nodist_fincludeHEADERS}
make -C $CHOST/libgomp DESTDIR=$pkgdir install-nodist_fincludeHEADERS
make -C gcc DESTDIR=$pkgdir fortran.install-{common,man,info}
install -Dm755 gcc/f951 $pkgdir/${_libdir}/f951
@@ -309,6 +302,8 @@
make -C gcc DESTDIR=$pkgdir go.install-{common,man,info}
install -Dm755 gcc/go1 $pkgdir/${_libdir}/go1
+ make install-gotools
+
# Install Runtime Library Exception
install -d ${pkgdir}/usr/share/licenses/gcc-go/
ln -s ../gcc-libs/RUNTIME.LIBRARY.EXCEPTION ${pkgdir}/usr/share/licenses/gcc-go/
More information about the arch-commits
mailing list