[arch-commits] Commit in avr-gcc/repos/community-x86_64 (PKGBUILD PKGBUILD keys)

Anatol Pomozov anatolik at gemini.archlinux.org
Sun Aug 21 01:11:23 UTC 2022


    Date: Sunday, August 21, 2022 @ 01:11:23
  Author: anatolik
Revision: 1271495

archrelease: copy trunk to community-x86_64

Added:
  avr-gcc/repos/community-x86_64/PKGBUILD
    (from rev 1271494, avr-gcc/trunk/PKGBUILD)
  avr-gcc/repos/community-x86_64/keys/
Deleted:
  avr-gcc/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  220 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 110 insertions(+), 110 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-21 01:10:56 UTC (rev 1271494)
+++ PKGBUILD	2022-08-21 01:11:23 UTC (rev 1271495)
@@ -1,110 +0,0 @@
-# Maintainer: schuay <jakob.gruber at gmail.com>
-# Contributor: Brad Fanella <bradfanella at archlinux.us>
-# Contributor: Corrado Primier <bardo at aur.archlinux.org>
-# Contributor: danst0 <danst0 at west.de>
-
-# Build order: avr-binutils -> avr-gcc -> avr-libc
-
-_target=avr
-pkgname=$_target-gcc
-pkgver=12.1.0
-pkgrel=1
-#_snapshot=7-20180125
-pkgdesc='The GNU AVR Compiler Collection'
-arch=(x86_64)
-license=(GPL LGPL FDL custom)
-url='http://gcc.gnu.org/'
-depends=($_target-binutils gcc-libs libmpc libisl zstd)
-optdepends=('avr-libc: Standard C library for Atmel AVR development')
-options=(!emptydirs !strip !lto)
-source=(https://ftp.gnu.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.xz{,.sig}
-        #ftp://gcc.gnu.org/pub/gcc/snapshots/${_snapshot}/gcc-${_snapshot}.tar.xz
-       )
-sha256sums=('62fd634889f31c02b64af2c468f064b47ad1ca78411c45abe6ac4b5f8dd19c7b'
-            'SKIP')
-validpgpkeys=(D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62  # Jakub Jelinek <jakub at redhat.com>
-              33C235A34C46AA3FFB293709A328C3A2C3C45C06  # Jakub Jelinek <jakub at redhat.com>
-              13975A70E63C361C73AE69EF6EEB81F8981C74C7) # Richard Guenther <richard.guenther at gmail.com>
-
-if [ -n "${_snapshot}" ]; then
-  _basedir=gcc-${_snapshot}
-else
-  _basedir=gcc-${pkgver}
-fi
-
-prepare() {
-    cd ${_basedir}
-}
-
-build() {
-    cd "${srcdir}"/${_basedir} 
-
-    echo ${pkgver} > gcc/BASE-VER
-
-    cd "${srcdir}"
-    mkdir gcc-build && cd gcc-build
-
-    export CFLAGS_FOR_TARGET='-O2 -pipe'
-    export CXXFLAGS_FOR_TARGET='-O2 -pipe'
-
-    # Credits @allanmcrae
-    # https://github.com/allanmcrae/toolchain/blob/f18604d70c5933c31b51a320978711e4e6791cf1/gcc/PKGBUILD
-    # TODO: properly deal with the build issues resulting from this
-    CFLAGS=${CFLAGS/-Werror=format-security/}
-    CXXFLAGS=${CXXFLAGS/-Werror=format-security/}
-
-    # --disable-linker-build-id   https://bugs.archlinux.org/task/34902
-    # --disable-__cxa_atexit   https://bugs.archlinux.org/task/50848
-    "${srcdir}"/${_basedir}/configure \
-                --disable-install-libiberty \
-                --disable-libssp \
-                --disable-libstdcxx-pch \
-                --disable-libunwind-exceptions \
-                --disable-linker-build-id \
-                --disable-nls \
-                --disable-werror \
-                --disable-__cxa_atexit \
-                --enable-checking=release \
-                --enable-clocale=gnu \
-                --enable-gnu-unique-object \
-                --enable-gold \
-                --enable-languages=c,c++ \
-                --enable-ld=default \
-                --enable-lto \
-                --enable-plugin \
-                --enable-shared \
-                --infodir=/usr/share/info \
-                --libdir=/usr/lib \
-                --libexecdir=/usr/lib \
-                --mandir=/usr/share/man \
-                --prefix=/usr \
-                --target=$_target \
-                --with-as=/usr/bin/$_target-as \
-                --with-gnu-as \
-                --with-gnu-ld \
-                --with-ld=/usr/bin/$_target-ld \
-                --with-plugin-ld=ld.gold \
-                --with-system-zlib \
-                --with-isl \
-                --enable-gnu-indirect-function
-
-    make
-}
-
-package() {
-    cd "${srcdir}"/gcc-build
-
-    make -j1 DESTDIR="${pkgdir}" install
-
-    # Strip debug symbols from libraries; without this, the package size balloons to ~500MB.
-    find "${pkgdir}"/usr/lib -type f -name "*.a" \
-        -exec /usr/bin/$_target-strip --strip-debug '{}' \;
-
-    # Install Runtime Library Exception
-    install -Dm644 "${srcdir}"/${_basedir}/COPYING.RUNTIME \
-        "${pkgdir}"/usr/share/licenses/$_target-gcc/RUNTIME.LIBRARY.EXCEPTION
-
-    rm -r "${pkgdir}"/usr/share/man/man7
-    rm -r "${pkgdir}"/usr/share/info
-    rm "${pkgdir}"/usr/lib/libcc1.*
-}

Copied: avr-gcc/repos/community-x86_64/PKGBUILD (from rev 1271494, avr-gcc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-21 01:11:23 UTC (rev 1271495)
@@ -0,0 +1,110 @@
+# Maintainer: schuay <jakob.gruber at gmail.com>
+# Contributor: Brad Fanella <bradfanella at archlinux.us>
+# Contributor: Corrado Primier <bardo at aur.archlinux.org>
+# Contributor: danst0 <danst0 at west.de>
+
+# Build order: avr-binutils -> avr-gcc -> avr-libc
+
+_target=avr
+pkgname=$_target-gcc
+pkgver=12.2.0
+pkgrel=1
+#_snapshot=7-20180125
+pkgdesc='The GNU AVR Compiler Collection'
+arch=(x86_64)
+license=(GPL LGPL FDL custom)
+url='http://gcc.gnu.org/'
+depends=($_target-binutils gcc-libs libmpc libisl zstd)
+optdepends=('avr-libc: Standard C library for Atmel AVR development')
+options=(!emptydirs !strip !lto)
+source=(https://ftp.gnu.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.xz{,.sig}
+        #ftp://gcc.gnu.org/pub/gcc/snapshots/${_snapshot}/gcc-${_snapshot}.tar.xz
+       )
+sha256sums=('e549cf9cf3594a00e27b6589d4322d70e0720cdd213f39beb4181e06926230ff'
+            'SKIP')
+validpgpkeys=(D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62  # Jakub Jelinek <jakub at redhat.com>
+              33C235A34C46AA3FFB293709A328C3A2C3C45C06  # Jakub Jelinek <jakub at redhat.com>
+              13975A70E63C361C73AE69EF6EEB81F8981C74C7) # Richard Guenther <richard.guenther at gmail.com>
+
+if [ -n "${_snapshot}" ]; then
+  _basedir=gcc-${_snapshot}
+else
+  _basedir=gcc-${pkgver}
+fi
+
+prepare() {
+    cd ${_basedir}
+}
+
+build() {
+    cd "${srcdir}"/${_basedir} 
+
+    echo ${pkgver} > gcc/BASE-VER
+
+    cd "${srcdir}"
+    mkdir gcc-build && cd gcc-build
+
+    export CFLAGS_FOR_TARGET='-O2 -pipe'
+    export CXXFLAGS_FOR_TARGET='-O2 -pipe'
+
+    # Credits @allanmcrae
+    # https://github.com/allanmcrae/toolchain/blob/f18604d70c5933c31b51a320978711e4e6791cf1/gcc/PKGBUILD
+    # TODO: properly deal with the build issues resulting from this
+    CFLAGS=${CFLAGS/-Werror=format-security/}
+    CXXFLAGS=${CXXFLAGS/-Werror=format-security/}
+
+    # --disable-linker-build-id   https://bugs.archlinux.org/task/34902
+    # --disable-__cxa_atexit   https://bugs.archlinux.org/task/50848
+    "${srcdir}"/${_basedir}/configure \
+                --disable-install-libiberty \
+                --disable-libssp \
+                --disable-libstdcxx-pch \
+                --disable-libunwind-exceptions \
+                --disable-linker-build-id \
+                --disable-nls \
+                --disable-werror \
+                --disable-__cxa_atexit \
+                --enable-checking=release \
+                --enable-clocale=gnu \
+                --enable-gnu-unique-object \
+                --enable-gold \
+                --enable-languages=c,c++ \
+                --enable-ld=default \
+                --enable-lto \
+                --enable-plugin \
+                --enable-shared \
+                --infodir=/usr/share/info \
+                --libdir=/usr/lib \
+                --libexecdir=/usr/lib \
+                --mandir=/usr/share/man \
+                --prefix=/usr \
+                --target=$_target \
+                --with-as=/usr/bin/$_target-as \
+                --with-gnu-as \
+                --with-gnu-ld \
+                --with-ld=/usr/bin/$_target-ld \
+                --with-plugin-ld=ld.gold \
+                --with-system-zlib \
+                --with-isl \
+                --enable-gnu-indirect-function
+
+    make
+}
+
+package() {
+    cd "${srcdir}"/gcc-build
+
+    make -j1 DESTDIR="${pkgdir}" install
+
+    # Strip debug symbols from libraries; without this, the package size balloons to ~500MB.
+    find "${pkgdir}"/usr/lib -type f -name "*.a" \
+        -exec /usr/bin/$_target-strip --strip-debug '{}' \;
+
+    # Install Runtime Library Exception
+    install -Dm644 "${srcdir}"/${_basedir}/COPYING.RUNTIME \
+        "${pkgdir}"/usr/share/licenses/$_target-gcc/RUNTIME.LIBRARY.EXCEPTION
+
+    rm -r "${pkgdir}"/usr/share/man/man7
+    rm -r "${pkgdir}"/usr/share/info
+    rm "${pkgdir}"/usr/lib/libcc1.*
+}



More information about the arch-commits mailing list