mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
core/gcc to 7.3.1+20180406-1
This commit is contained in:
parent
b38da76bde
commit
cc5c9e2806
1 changed files with 9 additions and 9 deletions
|
@ -16,10 +16,10 @@
|
||||||
noautobuild=1
|
noautobuild=1
|
||||||
|
|
||||||
pkgname=(gcc gcc-libs gcc-fortran gcc-objc gcc-go)
|
pkgname=(gcc gcc-libs gcc-fortran gcc-objc gcc-go)
|
||||||
pkgver=7.3.1+20180312
|
pkgver=7.3.1+20180406
|
||||||
_majorver=${pkgver:0:1}
|
_majorver=${pkgver:0:1}
|
||||||
_islver=0.18
|
_islver=0.18
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
pkgdesc='The GNU Compiler Collection'
|
pkgdesc='The GNU Compiler Collection'
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
license=(GPL LGPL FDL custom)
|
license=(GPL LGPL FDL custom)
|
||||||
|
@ -28,15 +28,15 @@ makedepends=(binutils libmpc doxygen)
|
||||||
makedepends=(binutils libmpc doxygen python)
|
makedepends=(binutils libmpc doxygen python)
|
||||||
checkdepends=(dejagnu inetutils)
|
checkdepends=(dejagnu inetutils)
|
||||||
options=(!emptydirs !distcc)
|
options=(!emptydirs !distcc)
|
||||||
source=(https://sources.archlinux.org/other/gcc/gcc-${pkgver/+/-}.tar.xz{,.sig}
|
|
||||||
#source=(https://ftp.gnu.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.xz{,.sig}
|
#source=(https://ftp.gnu.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.xz{,.sig}
|
||||||
|
source=(https://sources.archlinux.org/other/gcc/gcc-${pkgver/+/-}.tar.xz{,.sig}
|
||||||
http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2
|
http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2
|
||||||
c89 c99
|
c89 c99
|
||||||
bz84080.patch
|
bz84080.patch
|
||||||
0001-ARMv5-disable-LDRD-STRD.patch)
|
0001-ARMv5-disable-LDRD-STRD.patch)
|
||||||
validpgpkeys=(F3691687D867B81B51CE07D9BBE43771487328A9 # bpiotrowski@archlinux.org
|
validpgpkeys=(F3691687D867B81B51CE07D9BBE43771487328A9 # bpiotrowski@archlinux.org
|
||||||
13975A70E63C361C73AE69EF6EEB81F8981C74C7) # richard.guenther@gmail.com
|
13975A70E63C361C73AE69EF6EEB81F8981C74C7) # richard.guenther@gmail.com
|
||||||
sha256sums=('c52618f656f2102b3544419e7d0a8a4f4e6ff052783865202be73edf1a40e28b'
|
sha256sums=('41675861b7fdb4ebfb5cbbe1bce456d4e4061ce4df95096075756eaae3263e00'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'6b8b0fd7f81d0a957beb3679c81bbb34ccc7568d5682844d8924424a0dadcb1b'
|
'6b8b0fd7f81d0a957beb3679c81bbb34ccc7568d5682844d8924424a0dadcb1b'
|
||||||
'de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931'
|
'de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931'
|
||||||
|
@ -44,7 +44,7 @@ sha256sums=('c52618f656f2102b3544419e7d0a8a4f4e6ff052783865202be73edf1a40e28b'
|
||||||
'bce05807443558db55f0d6b4dae37a678ea1bb3388b541c876fe3d110e3717e7'
|
'bce05807443558db55f0d6b4dae37a678ea1bb3388b541c876fe3d110e3717e7'
|
||||||
'31e24baa9eee826d7d77dbcf8f1a6a44c92f771e52d21677acb8d76fac7ae204')
|
'31e24baa9eee826d7d77dbcf8f1a6a44c92f771e52d21677acb8d76fac7ae204')
|
||||||
|
|
||||||
_svnrev=258469
|
_svnrev=259195
|
||||||
_svnurl=svn://gcc.gnu.org/svn/gcc/branches/gcc-${_majorver}-branch
|
_svnurl=svn://gcc.gnu.org/svn/gcc/branches/gcc-${_majorver}-branch
|
||||||
_libdir=usr/lib/gcc/$CHOST/${pkgver%%+*}
|
_libdir=usr/lib/gcc/$CHOST/${pkgver%%+*}
|
||||||
|
|
||||||
|
@ -58,6 +58,7 @@ snapshot() {
|
||||||
|
|
||||||
mv gcc-r${_svnrev} gcc-${_pkgver}
|
mv gcc-r${_svnrev} gcc-${_pkgver}
|
||||||
tar cf - gcc-${_pkgver} | xz > gcc-${_pkgver}.tar.xz
|
tar cf - gcc-${_pkgver} | xz > gcc-${_pkgver}.tar.xz
|
||||||
|
rm -rf gcc-${_pkgver}
|
||||||
gpg -b gcc-${_pkgver}.tar.xz
|
gpg -b gcc-${_pkgver}.tar.xz
|
||||||
scp gcc-${_pkgver}.tar.xz{,.sig} sources.archlinux.org:/srv/ftp/other/gcc/
|
scp gcc-${_pkgver}.tar.xz{,.sig} sources.archlinux.org:/srv/ftp/other/gcc/
|
||||||
|
|
||||||
|
@ -151,11 +152,10 @@ check() {
|
||||||
"$srcdir/gcc/contrib/test_summary"
|
"$srcdir/gcc/contrib/test_summary"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
package_gcc-libs() {
|
package_gcc-libs() {
|
||||||
pkgdesc='Runtime libraries shipped by GCC'
|
pkgdesc='Runtime libraries shipped by GCC'
|
||||||
groups=(base)
|
groups=(base)
|
||||||
depends=('glibc>=2.26')
|
depends=('glibc>=2.27')
|
||||||
options+=(!strip)
|
options+=(!strip)
|
||||||
provides=(libgo.so libgfortran.so)
|
provides=(libgo.so libgfortran.so)
|
||||||
|
|
||||||
|
@ -197,7 +197,7 @@ package_gcc-libs() {
|
||||||
|
|
||||||
package_gcc() {
|
package_gcc() {
|
||||||
pkgdesc="The GNU Compiler Collection - C and C++ frontends"
|
pkgdesc="The GNU Compiler Collection - C and C++ frontends"
|
||||||
depends=("gcc-libs=$pkgver-$pkgrel" 'binutils>=2.28' 'libmpc')
|
depends=("gcc-libs=$pkgver-$pkgrel" 'binutils>=2.28' libmpc)
|
||||||
groups=('base-devel')
|
groups=('base-devel')
|
||||||
options+=(staticlibs)
|
options+=(staticlibs)
|
||||||
|
|
||||||
|
@ -210,7 +210,7 @@ package_gcc() {
|
||||||
install -m755 -t "$pkgdir/${_libdir}/" gcc/{cc1,cc1plus,collect2,lto1}
|
install -m755 -t "$pkgdir/${_libdir}/" gcc/{cc1,cc1plus,collect2,lto1}
|
||||||
|
|
||||||
make -C $CHOST/libgcc DESTDIR="$pkgdir" install
|
make -C $CHOST/libgcc DESTDIR="$pkgdir" install
|
||||||
rm "$pkgdir"/usr/lib/libgcc_s.so*
|
rm -f "$pkgdir"/usr/lib/libgcc_s.so*
|
||||||
|
|
||||||
make -C $CHOST/libstdc++-v3/src DESTDIR="$pkgdir" install
|
make -C $CHOST/libstdc++-v3/src DESTDIR="$pkgdir" install
|
||||||
make -C $CHOST/libstdc++-v3/include DESTDIR="$pkgdir" install
|
make -C $CHOST/libstdc++-v3/include DESTDIR="$pkgdir" install
|
||||||
|
|
Loading…
Reference in a new issue