diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-06-15 11:57:33 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-06-15 11:57:33 +0200 |
commit | ddcaba19633cfa57b4d8bfc193cc4e8d0dc45208 (patch) | |
tree | a687d7af0058d427117414e2eeef9429ededf0cc /extra/mesa/PKGBUILD | |
parent | 2e969067e6acf7dc53a8b360777a78e9f0a6698d (diff) | |
download | packages-ddcaba19633cfa57b4d8bfc193cc4e8d0dc45208.tar.xz |
extra/mesa: trying to fix FS32#39 (AVX in modesetting in openswr)
Diffstat (limited to 'extra/mesa/PKGBUILD')
-rw-r--r-- | extra/mesa/PKGBUILD | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/extra/mesa/PKGBUILD b/extra/mesa/PKGBUILD index 50f4397b..5da3bb35 100644 --- a/extra/mesa/PKGBUILD +++ b/extra/mesa/PKGBUILD @@ -1,7 +1,20 @@ -# disable AVX/AVX2 in openswf, makes no sense with old CPUs +# disable openswf as it requires AVX, makes no sense with old CPUs +# disable every new software rasterizer and take the old ones +# see also FS32#39 eval "$( declare -f build | \ sed ' - s/-D swr-arches=avx,avx2//g + /arch-meson/s/\(gallium-drivers=.*\),swr/\1/ + /arch-meson/s/-D swr-arches=avx,avx2// + /arch-meson/s/-D gallium-nine=true/-D gallium-nine=false/ + /arch-meson/s/-D osmesa=gallium/-D osmesa=classic/ + /arch-meson/s/dri-drivers=/dri-drivers=swrast,/ + ' + declare -f package_mesa | \ + sed ' + s@_install fakeinstall/usr/lib/d3d@#\0@g + s@_install fakeinstall/usr/lib/libswrAVX.*@#\0@g ' )" + + |