summaryrefslogtreecommitdiffstats
path: root/source/a/pkgtools/scripts/makepkg
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2023-01-19 21:07:32 +0000
committer Eric Hameleers <alien@slackware.com>2023-01-19 22:32:40 +0100
commit14094b8867a3f7e7e1012a29da49d5b2cce683d5 (patch)
tree7fbbb6c6164d9d4c9377a325ba8e2d3dd7998ebe /source/a/pkgtools/scripts/makepkg
parentf493ddecac957a63e0ffb71febc2fcf454113aa3 (diff)
downloadcurrent-14094b8867a3f7e7e1012a29da49d5b2cce683d5.tar.gz
current-14094b8867a3f7e7e1012a29da49d5b2cce683d5.tar.xz
Thu Jan 19 21:07:32 UTC 202320230119210732
a/pkgtools-15.1-noarch-4.txz: Rebuilt. makepkg: also let xz decide how many threads to use on ARM platforms aarch64 and riscv64. Thanks to Stuart Winter. installpkg: fix reversed test for if a --threads option was given. It appears that it's been wrong for years but since xz didn't support threaded decompression yet it wasn't noticed. a/xz-5.4.1-x86_64-2.txz: Rebuilt. Reduce default verbosity from V_WARNING to V_ERROR to avoid sending non-fatal memory usage information to stderr. kde/plasma-wayland-protocols-1.10.0-x86_64-1.txz: Upgraded. l/exiv2-0.27.6-x86_64-1.txz: Upgraded. l/tdb-1.4.8-x86_64-1.txz: Upgraded. x/igt-gpu-tools-1.27.1-x86_64-1.txz: Upgraded. x/libX11-1.8.3-x86_64-2.txz: Rebuilt. [PATCH] Fix a9e845 and 797755 Allow X*IfEvent() to reenter libX11 Thanks to marav.
Diffstat (limited to 'source/a/pkgtools/scripts/makepkg')
-rw-r--r--source/a/pkgtools/scripts/makepkg6
1 files changed, 2 insertions, 4 deletions
diff --git a/source/a/pkgtools/scripts/makepkg b/source/a/pkgtools/scripts/makepkg
index 72746fa84..7ddf5dbd4 100644
--- a/source/a/pkgtools/scripts/makepkg
+++ b/source/a/pkgtools/scripts/makepkg
@@ -251,8 +251,7 @@ elif [ ! "$(basename $PACKAGE_NAME .tar.lzma)" = "$PACKAGE_NAME" ]; then
elif [ ! "$(basename $PACKAGE_NAME .txz)" = "$PACKAGE_NAME" ]; then
EXTENSION="txz"
if [ ! "$XZ_THREADS_FORCED" = "yes" ]; then
- # TODO: Add ARM 64-bit $ARCHes to this test:
- if [ "$(uname -m)" = "x86_64" ]; then
+ if [[ "$(uname -m)" =~ (x86_64|aarch64|riscv64) ]]; then
# Allow xz to determine how many threads to use:
COMPRESSOR="xz ${COMPRESS_OPTION} --threads=0 -c"
else
@@ -269,8 +268,7 @@ elif [ ! "$(basename $PACKAGE_NAME .txz)" = "$PACKAGE_NAME" ]; then
elif [ ! "$(basename $PACKAGE_NAME .tar.xz)" = "$PACKAGE_NAME" ]; then
EXTENSION="tar.xz"
if [ ! "$XZ_THREADS_FORCED" = "yes" ]; then
- # TODO: Add ARM 64-bit $ARCHes to this test:
- if [ "$(uname -m)" = "x86_64" ]; then
+ if [[ "$(uname -m)" =~ (x86_64|aarch64|riscv64) ]]; then
# Allow xz to determine how many threads to use:
COMPRESSOR="xz ${COMPRESS_OPTION} --threads=0 -c"
else