mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
core/gcc to 9.2.1+20200130-2
This commit is contained in:
parent
5ce6b54ed8
commit
71e90e2227
1 changed files with 9 additions and 32 deletions
|
@ -16,20 +16,21 @@
|
|||
noautobuild=1
|
||||
|
||||
pkgname=(gcc gcc-libs gcc-fortran gcc-objc gcc-go gcc-d)
|
||||
pkgver=9.2.0
|
||||
pkgver=9.2.1+20200130
|
||||
_majorver=${pkgver:0:1}
|
||||
_islver=0.21
|
||||
pkgrel=4
|
||||
pkgrel=2
|
||||
pkgdesc='The GNU Compiler Collection'
|
||||
arch=(x86_64)
|
||||
license=(GPL LGPL FDL custom)
|
||||
url='https://gcc.gnu.org'
|
||||
makedepends=(binutils libmpc doxygen python subversion)
|
||||
makedepends=(binutils libmpc doxygen python jgit)
|
||||
checkdepends=(dejagnu inetutils)
|
||||
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=(gcc::svn://gcc.gnu.org/svn/gcc/branches/gcc-${_majorver}-branch
|
||||
_libdir=usr/lib/gcc/$CHOST/${pkgver%%+*}
|
||||
#source=(https://ftp.gnu.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.xz{,.sig}
|
||||
_commit=6957d3e4eef1f4243eb23ff62aea06139ef4415a
|
||||
source=(git://gcc.gnu.org/git/gcc.git#commit=$_commi
|
||||
http://isl.gforge.inria.fr/isl-${_islver}.tar.xz
|
||||
c89 c99
|
||||
gdc_phobos_path.patch
|
||||
|
@ -40,8 +41,7 @@ validpgpkeys=(F3691687D867B81B51CE07D9BBE43771487328A9 # bpiotrowski@archlinux.
|
|||
86CFFCA918CF3AF47147588051E8B148A9999C34 # evangelos@foutrelis.com
|
||||
13975A70E63C361C73AE69EF6EEB81F8981C74C7 # richard.guenther@gmail.com
|
||||
33C235A34C46AA3FFB293709A328C3A2C3C45C06) # Jakub Jelinek <jakub@redhat.com>
|
||||
sha256sums=('ea6ef08f121239da5695f76c9b33637a118dcf63e24164422231917fa61fb206'
|
||||
'SKIP'
|
||||
sha256sums=('SKIP'
|
||||
'777058852a3db9500954361e294881214f6ecd4b594c00da5eee974cd6a54960'
|
||||
'de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931'
|
||||
'2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a'
|
||||
|
@ -50,28 +50,6 @@ sha256sums=('ea6ef08f121239da5695f76c9b33637a118dcf63e24164422231917fa61fb206'
|
|||
'9699d7105375754f0dcf6abff87d09b270565bfc6578a13641770f3fc62d678a'
|
||||
'ac6663528a1cbea30ed9627ef41ef13f25b3cd49c31e22b45b04aa911e6f562f')
|
||||
|
||||
_svnrev=264010
|
||||
_svnurl=svn://gcc.gnu.org/svn/gcc/branches/gcc-${_majorver}-branch
|
||||
_libdir=usr/lib/gcc/$CHOST/${pkgver%%+*}
|
||||
|
||||
snapshot() {
|
||||
svn export -r${_svnrev} ${_svnurl} gcc-r${_svnrev}
|
||||
|
||||
local datestamp basever _pkgver
|
||||
basever=$(< gcc-r${_svnrev}/gcc/BASE-VER)
|
||||
datestamp=$(< gcc-r${_svnrev}/gcc/DATESTAMP)
|
||||
_pkgver=${basever}-${datestamp}
|
||||
|
||||
mv gcc-r${_svnrev} gcc-${_pkgver}
|
||||
tar cf - gcc-${_pkgver} | xz > gcc-${_pkgver}.tar.xz
|
||||
rm -rf gcc-${_pkgver}
|
||||
gpg -b gcc-${_pkgver}.tar.xz
|
||||
scp gcc-${_pkgver}.tar.xz{,.sig} sources.archlinux.org:/srv/ftp/other/gcc/
|
||||
|
||||
echo
|
||||
echo "pkgver=${_pkgver/-/+}"
|
||||
}
|
||||
|
||||
prepare() {
|
||||
[[ ! -d gcc ]] && ln -s gcc-${pkgver/+/-} gcc
|
||||
cd gcc
|
||||
|
@ -167,7 +145,6 @@ check() {
|
|||
|
||||
package_gcc-libs() {
|
||||
pkgdesc='Runtime libraries shipped by GCC'
|
||||
groups=(base)
|
||||
depends=('glibc>=2.27')
|
||||
options+=(!strip)
|
||||
provides=(libgo.so libgfortran.so libgphobos.so
|
||||
|
@ -201,7 +178,7 @@ package_gcc-libs() {
|
|||
make -C $CHOST/libstdc++-v3/po DESTDIR="$pkgdir" install
|
||||
|
||||
make -C $CHOST/libphobos DESTDIR="$pkgdir" install
|
||||
rm -rf "$pkgdir"/usr/lib/gcc/*/9.2.0/include/d/
|
||||
rm -rf "$pkgdir"/$_libdir/include/d/
|
||||
rm -f "$pkgdir"/usr/lib/libgphobos.spec
|
||||
|
||||
for lib in libgomp \
|
||||
|
|
Loading…
Reference in a new issue