[arch-commits] Commit in riscv64-linux-gnu-gcc/repos/community-x86_64 (2 files)

Filipe Laíns ffy00 at archlinux.org
Sun Mar 8 20:53:06 UTC 2020


    Date: Sunday, March 8, 2020 @ 20:53:05
  Author: ffy00
Revision: 592505

archrelease: copy trunk to community-x86_64

Added:
  riscv64-linux-gnu-gcc/repos/community-x86_64/PKGBUILD
    (from rev 592504, riscv64-linux-gnu-gcc/trunk/PKGBUILD)
Deleted:
  riscv64-linux-gnu-gcc/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  218 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 109 insertions(+), 109 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-08 20:52:55 UTC (rev 592504)
+++ PKGBUILD	2020-03-08 20:53:05 UTC (rev 592505)
@@ -1,109 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: Emil Renner Berthing <aur at esmil.dk>
-
-_target=riscv64-linux-gnu
-pkgname=$_target-gcc
-pkgver=9.2.0
-_islver=0.21
-pkgrel=1
-pkgdesc='Cross compiler for 32-bit and 64-bit RISC-V'
-arch=('x86_64')
-url='https://gcc.gnu.org/'
-license=('GPL' 'LGPL' 'FDL')
-groups=('risc-v')
-depends=("$_target-binutils" "$_target-glibc" 'libmpc')
-options=('!emptydirs' '!strip')
-source=("https://gcc.gnu.org/pub/gcc/releases/gcc-$pkgver/gcc-$pkgver.tar.xz"
-        "http://isl.gforge.inria.fr/isl-$_islver.tar.xz")
-sha512sums=('a12dff52af876aee0fd89a8d09cdc455f35ec46845e154023202392adc164848faf8ee881b59b681b696e27c69fd143a214014db4214db62f9891a1c8365c040'
-            '87ebc2fd6d4325cdfa82295a659ed6dbd70760a776b733e5503bbf8baa8fe80d905879728e9c7f23d2f3bcd7e78c00a66ab166c013ae97b603f7c460c69668ec')
-
-if [[ -n "$_snapshot" ]]; then
-  _basedir=gcc-$_snapshot
-else
-  _basedir=gcc-$pkgver
-fi
-
-prepare() {
-  cd $_basedir
-
-  # link isl for in-tree builds
-  ln -s ../isl-$_islver isl
-
-  echo $pkgver > gcc/BASE-VER
-
-  # Do not run fixincludes
-  sed -i 's@\./fixinc\.sh at -c true@' gcc/Makefile.in
-
-  # hack! - some configure tests for header files using "$CPP $CPPFLAGS"
-  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" \
-    "$srcdir/$_basedir/"{libiberty,gcc}/configure
-
-  rm -rf "$srcdir/gcc-build"
-  mkdir "$srcdir/gcc-build"
-}
-
-build() {
-  cd gcc-build
-
-  # Using -pipe causes spurious test-suite failures.
-  # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48565
-  CFLAGS=${CFLAGS/-pipe/}
-  CXXFLAGS=${CXXFLAGS/-pipe/}
-
-  "$srcdir/$_basedir/configure" \
-      --prefix=/usr \
-      --program-prefix=$_target- \
-      --with-local-prefix=/usr/$_target \
-      --with-sysroot=/usr/$_target \
-      --with-build-sysroot=/usr/$_target \
-      --libdir=/usr/lib \
-      --libexecdir=/usr/lib \
-      --target=$_target \
-      --host=$CHOST \
-      --build=$CHOST \
-      --with-system-zlib \
-      --with-isl \
-      --with-linker-hash-style=gnu \
-      --disable-nls \
-      --disable-libunwind-exceptions \
-      --disable-libstdcxx-pch \
-      --disable-libssp \
-      --disable-multilib \
-      --disable-werror \
-      --enable-languages=c,c++ \
-      --enable-shared \
-      --enable-threads=posix \
-      --enable-__cxa_atexit \
-      --enable-clocale=gnu \
-      --enable-gnu-unique-object \
-      --enable-linker-build-id \
-      --enable-lto \
-      --enable-plugin \
-      --enable-install-libiberty \
-      --enable-gnu-indirect-function \
-      --enable-checking=release
-  make
-}
-
-package() {
-  make -C gcc-build DESTDIR="$pkgdir" \
-    install-gcc install-target-libgcc install-target-libstdc++-v3
-
-  # Strip target binaries
-  find "$pkgdir/usr/lib/gcc/$_target/" "$pkgdir/usr/$_target/lib" -type f \
-    -and \( -name \*.a -or -name \*.o \) -exec $_target-objcopy \
-    -R .comment -R .note -R .debug_info -R .debug_aranges -R .debug_pubnames \
-    -R .debug_pubtypes -R .debug_abbrev -R .debug_line -R .debug_str \
-    -R .debug_ranges -R .debug_loc '{}' \;
-
-  # Strip host binaries
-  find "$pkgdir/usr/bin/" "$pkgdir/usr/lib/gcc/$_target/" -type f \
-    -and \( -executable \) -exec strip '{}' \;
-
-  # Remove files that conflict with host gcc package
-  rm -r "$pkgdir/usr/share/"{man/man7,info,"gcc-$pkgver"}
-}
-
-# vim: ts=2 sw=2 et:

Copied: riscv64-linux-gnu-gcc/repos/community-x86_64/PKGBUILD (from rev 592504, riscv64-linux-gnu-gcc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-08 20:53:05 UTC (rev 592505)
@@ -0,0 +1,109 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Emil Renner Berthing <aur at esmil.dk>
+
+_target=riscv64-linux-gnu
+pkgname=$_target-gcc
+pkgver=9.2.0
+_islver=0.22
+pkgrel=2
+pkgdesc='Cross compiler for 32-bit and 64-bit RISC-V'
+arch=('x86_64')
+url='https://gcc.gnu.org/'
+license=('GPL' 'LGPL' 'FDL')
+groups=('risc-v')
+depends=("$_target-binutils" "$_target-glibc" 'libmpc')
+options=('!emptydirs' '!strip')
+source=("https://gcc.gnu.org/pub/gcc/releases/gcc-$pkgver/gcc-$pkgver.tar.xz"
+        "http://isl.gforge.inria.fr/isl-$_islver.tar.xz")
+sha512sums=('a12dff52af876aee0fd89a8d09cdc455f35ec46845e154023202392adc164848faf8ee881b59b681b696e27c69fd143a214014db4214db62f9891a1c8365c040'
+            '7c3c9502ea07e4d47a823841837c3aa0b9d7ba0fe58deaf180734e44c18e53735ec783645da0bdc56b617c9e639b226cc03b40a947f852e1e787166a64f59424')
+
+if [[ -n "$_snapshot" ]]; then
+  _basedir=gcc-$_snapshot
+else
+  _basedir=gcc-$pkgver
+fi
+
+prepare() {
+  cd $_basedir
+
+  # link isl for in-tree builds
+  ln -s ../isl-$_islver isl
+
+  echo $pkgver > gcc/BASE-VER
+
+  # Do not run fixincludes
+  sed -i 's@\./fixinc\.sh at -c true@' gcc/Makefile.in
+
+  # hack! - some configure tests for header files using "$CPP $CPPFLAGS"
+  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" \
+    "$srcdir/$_basedir/"{libiberty,gcc}/configure
+
+  rm -rf "$srcdir/gcc-build"
+  mkdir "$srcdir/gcc-build"
+}
+
+build() {
+  cd gcc-build
+
+  # Using -pipe causes spurious test-suite failures.
+  # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48565
+  CFLAGS=${CFLAGS/-pipe/}
+  CXXFLAGS=${CXXFLAGS/-pipe/}
+
+  "$srcdir/$_basedir/configure" \
+      --prefix=/usr \
+      --program-prefix=$_target- \
+      --with-local-prefix=/usr/$_target \
+      --with-sysroot=/usr/$_target \
+      --with-build-sysroot=/usr/$_target \
+      --libdir=/usr/lib \
+      --libexecdir=/usr/lib \
+      --target=$_target \
+      --host=$CHOST \
+      --build=$CHOST \
+      --with-system-zlib \
+      --with-isl \
+      --with-linker-hash-style=gnu \
+      --disable-nls \
+      --disable-libunwind-exceptions \
+      --disable-libstdcxx-pch \
+      --disable-libssp \
+      --disable-multilib \
+      --disable-werror \
+      --enable-languages=c,c++ \
+      --enable-shared \
+      --enable-threads=posix \
+      --enable-__cxa_atexit \
+      --enable-clocale=gnu \
+      --enable-gnu-unique-object \
+      --enable-linker-build-id \
+      --enable-lto \
+      --enable-plugin \
+      --enable-install-libiberty \
+      --enable-gnu-indirect-function \
+      --enable-checking=release
+  make
+}
+
+package() {
+  make -C gcc-build DESTDIR="$pkgdir" \
+    install-gcc install-target-libgcc install-target-libstdc++-v3
+
+  # Strip target binaries
+  find "$pkgdir/usr/lib/gcc/$_target/" "$pkgdir/usr/$_target/lib" -type f \
+    -and \( -name \*.a -or -name \*.o \) -exec $_target-objcopy \
+    -R .comment -R .note -R .debug_info -R .debug_aranges -R .debug_pubnames \
+    -R .debug_pubtypes -R .debug_abbrev -R .debug_line -R .debug_str \
+    -R .debug_ranges -R .debug_loc '{}' \;
+
+  # Strip host binaries
+  find "$pkgdir/usr/bin/" "$pkgdir/usr/lib/gcc/$_target/" -type f \
+    -and \( -executable \) -exec strip '{}' \;
+
+  # Remove files that conflict with host gcc package
+  rm -r "$pkgdir/usr/share/"{man/man7,info,"gcc-$pkgver"}
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list