diff options
Diffstat (limited to 'source/a')
-rwxr-xr-x | source/a/coreutils/coreutils.SlackBuild | 2 | ||||
-rw-r--r-- | source/a/coreutils/coreutils.wc.noavx2.diff | 27 |
2 files changed, 11 insertions, 18 deletions
diff --git a/source/a/coreutils/coreutils.SlackBuild b/source/a/coreutils/coreutils.SlackBuild index 16557086c..3d655f996 100755 --- a/source/a/coreutils/coreutils.SlackBuild +++ b/source/a/coreutils/coreutils.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=coreutils VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | cut -d - -f 2 | rev | cut -f 3- -d . | rev)} -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} diff --git a/source/a/coreutils/coreutils.wc.noavx2.diff b/source/a/coreutils/coreutils.wc.noavx2.diff index 605757992..ccae18bb8 100644 --- a/source/a/coreutils/coreutils.wc.noavx2.diff +++ b/source/a/coreutils/coreutils.wc.noavx2.diff @@ -1,18 +1,11 @@ ---- ./src/wc.c.orig 2023-04-10 05:14:08.000000000 -0500 -+++ ./src/wc.c 2023-08-26 14:22:10.058092456 -0500 -@@ -174,14 +174,7 @@ - - if (avx_enabled) - { -- eax = ebx = ecx = edx = 0; -- if (! __get_cpuid_count (7, 0, &eax, &ebx, &ecx, &edx)) -- getcpuid_ok = false; -- else -- { -- if (! (ebx & bit_AVX2)) -- avx_enabled = false; /* Hardware doesn't support it. */ -- } -+ avx_enabled = false; /* Never use AVX2. */ - } - +--- ./src/wc.c.orig 2023-08-29 06:39:27.000000000 -0500 ++++ ./src/wc.c 2023-08-29 13:24:53.642035314 -0500 +@@ -147,7 +147,7 @@ + static bool + avx2_supported (void) + { +- bool avx_enabled = 0 < __builtin_cpu_supports ("avx2"); ++ bool avx_enabled = 0; + if (debug) + error (0, 0, (avx_enabled |