summaryrefslogtreecommitdiff
path: root/source/x
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2019-06-30 22:45:12 +0000
committerEric Hameleers <alien@slackware.com>2019-07-01 08:59:47 +0200
commita03aa4238072e964f9613f5fb840121189017ca2 (patch)
treec7aec1277785c8677d15377635d177099cf73246 /source/x
parent5c403a09830d0daa9bd1c5acab747c677497b585 (diff)
downloadcurrent-a03aa4238072e964f9613f5fb840121189017ca2.tar.gz
Sun Jun 30 22:45:12 UTC 201920190630224512
d/Cython-0.29.11-x86_64-1.txz: Upgraded. t/texlive-2019.190626-x86_64-2.txz: Rebuilt. Patched tabu.sty to fix compiling doxygen. Thanks to Johannes Schoepfer and nobodino. x/mesa-19.1.1-x86_64-2.txz: Rebuilt. Don't build the swr Gallium driver on IA32 - it leads to an illegal instruction startup crash with CPUs that lack AVX support. Thanks to Jefferson and Johnson. xfce/thunar-volman-0.9.3-x86_64-1.txz: Upgraded. xfce/tumbler-0.2.5-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/x')
-rwxr-xr-xsource/x/mesa/mesa.SlackBuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/source/x/mesa/mesa.SlackBuild b/source/x/mesa/mesa.SlackBuild
index eb3a2810..71092146 100755
--- a/source/x/mesa/mesa.SlackBuild
+++ b/source/x/mesa/mesa.SlackBuild
@@ -25,13 +25,13 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=mesa
VERSION=${VERSION:-$(echo $PKGNAM-1*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
DEMOVERS=${DEMOVERS:-8.4.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
# Be sure this list is up-to-date:
DRI_DRIVERS="i915,i965,r100,r200,nouveau"
-GALLIUM_DRIVERS="nouveau,r300,r600,svga,radeonsi,swrast,virgl,swr,iris"
+GALLIUM_DRIVERS="nouveau,r300,r600,svga,radeonsi,swrast,virgl,iris"
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -49,6 +49,14 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
exit 0
fi
+# Build swr for the following architectures (not for i?x6, as this will cause
+# an Illegal Instruction startup failure on many otherwise supported CPUs):
+for swr_arch in x86_64 ; do
+ if [ "$ARCH" = "x86_64" ]; then
+ GALLIUM_DRIVERS="$GALLIUM_DRIVERS,swr"
+ fi
+done
+
TMP=${TMP:-/tmp}
PKG=$TMP/package-mesa