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

Alexander Rødseth arodseth at archlinux.org
Tue Aug 6 09:00:02 UTC 2019


    Date: Tuesday, August 6, 2019 @ 09:00:00
  Author: arodseth
Revision: 497619

archrelease: copy trunk to community-x86_64

Added:
  riscv64-linux-gnu-gcc/repos/community-x86_64/PKGBUILD
    (from rev 497618, 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	2019-08-06 08:59:55 UTC (rev 497618)
+++ PKGBUILD	2019-08-06 09:00:00 UTC (rev 497619)
@@ -1,109 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: 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.1.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=('b6134df027e734cee5395afd739fcfa4ea319a6017d662e54e89df927dea19d3fff7a6e35d676685383034e3db01c9d0b653f63574c274eeb15a2cb0bc7a1f28'
-            '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 497618, riscv64-linux-gnu-gcc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-06 09:00:00 UTC (rev 497619)
@@ -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.1.0
+_islver=0.21
+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=('b6134df027e734cee5395afd739fcfa4ea319a6017d662e54e89df927dea19d3fff7a6e35d676685383034e3db01c9d0b653f63574c274eeb15a2cb0bc7a1f28'
+            '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:


More information about the arch-commits mailing list