From 29ec0f8753ea054533849eed09107064d98b464b Mon Sep 17 00:00:00 2001 From: George Rawlinson Date: Fri, 13 Jan 2023 20:00:45 +1300 Subject: [PATCH] build: update aurutils configuration --- .repo/makepkg-grawlinson.conf | 26 +++++++++++++++----------- .repo/pacman-grawlinson.conf | 2 +- 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/.repo/makepkg-grawlinson.conf b/.repo/makepkg-grawlinson.conf index 69ac487..2f1541b 100644 --- a/.repo/makepkg-grawlinson.conf +++ b/.repo/makepkg-grawlinson.conf @@ -1,4 +1,6 @@ #!/hint/bash +# shellcheck disable=2034 + # # /etc/makepkg.conf # @@ -9,10 +11,10 @@ # #-- The download utilities that makepkg should use to acquire sources # Format: 'protocol::agent' -DLAGENTS=('file::/usr/bin/curl -gqC - -o %o %u' - 'ftp::/usr/bin/curl -gqfC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u' - 'http::/usr/bin/curl -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u' - 'https::/usr/bin/curl -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u' +DLAGENTS=('file::/usr/bin/curl -qgC - -o %o %u' + 'ftp::/usr/bin/curl -qgfC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u' + 'http::/usr/bin/curl -qgb "" -fLC - --retry 3 --retry-delay 3 -o %o %u' + 'https::/usr/bin/curl -qgb "" -fLC - --retry 3 --retry-delay 3 -o %o %u' 'rsync::/usr/bin/rsync --no-motd -z %u %o' 'scp::/usr/bin/scp -C %u %o') @@ -43,13 +45,14 @@ CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions \ -fstack-clash-protection -fcf-protection" CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS" LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now" -#RUSTFLAGS="-C opt-level=2" +LTOFLAGS="-flto=auto" +RUSTFLAGS="" #-- Make Flags: change this for DistCC/SMP systems MAKEFLAGS="-j$(nproc)" #-- Debugging flags -DEBUG_CFLAGS="-g -fvar-tracking-assignments" -DEBUG_CXXFLAGS="-g -fvar-tracking-assignments" -#DEBUG_RUSTFLAGS="-C debuginfo=2" +DEBUG_CFLAGS="-g" +DEBUG_CXXFLAGS="$DEBUG_CFLAGS" +DEBUG_RUSTFLAGS="-C debuginfo=2" ######################################################################### # BUILD ENVIRONMENT @@ -91,10 +94,10 @@ BUILDENV=(!distcc color !ccache check !sign) #-- debug: Add debugging flags as specified in DEBUG_* variables #-- lto: Add compile flags for building with link time optimization # -OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug !lto) +OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge debug lto) #-- File integrity checks to use. Valid: md5, sha1, sha224, sha256, sha384, sha512, b2 -INTEGRITY_CHECK=(b2) +INTEGRITY_CHECK=(sha512 b2) #-- Options to be used when stripping binaries. See `man strip' for details. STRIP_BINARIES="--strip-all" #-- Options to be used when stripping shared libraries. See `man strip' for details. @@ -136,7 +139,7 @@ GPGKEY="9D120F4AAF400B8313A87EF2369552B2069123EE" COMPRESSGZ=(gzip -c -f -n) COMPRESSBZ2=(bzip2 -c -f) COMPRESSXZ=(xz -c -z -) -COMPRESSZST=(zstd -c -z -q -) +COMPRESSZST=(zstd -c -T0 --ultra -20 -) COMPRESSLRZ=(lrzip -q) COMPRESSLZO=(lzop -q) COMPRESSZ=(compress -c -f) @@ -156,3 +159,4 @@ SRCEXT='.src.tar.gz' # #-- Command used to run pacman as root, instead of trying sudo and su #PACMAN_AUTH=() +# vim: set ft=sh ts=2 sw=2 et: diff --git a/.repo/pacman-grawlinson.conf b/.repo/pacman-grawlinson.conf index 7dd0651..dc42f5e 100644 --- a/.repo/pacman-grawlinson.conf +++ b/.repo/pacman-grawlinson.conf @@ -34,7 +34,7 @@ Color CheckSpace VerbosePkgLists #NoProgressBar -ParallelDownloads = 5 +ParallelDownloads = 10 # By default, pacman accepts packages signed by keys that its local keyring