[packages/Mesa] swr won't build on 32-bit platforms, disable it there

jajcus jajcus at pld-linux.org
Tue Sep 25 10:44:47 CEST 2018


commit 2f0912c67c7cdfd4e6d921725d8bf33f9af6b54f
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date:   Tue Sep 25 10:44:25 2018 +0200

    swr won't build on 32-bit platforms, disable it there

 Mesa.spec | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/Mesa.spec b/Mesa.spec
index 9ac5476..6bb90a6 100644
--- a/Mesa.spec
+++ b/Mesa.spec
@@ -1259,8 +1259,11 @@ i965 %{!?with_gallium_i915:i915} \
 dri_drivers=$(echo $dri_drivers | xargs | tr ' ' ',')
 
 gallium_drivers="svga swrast virgl \
+%ifarch %{x8664}
+swr
+%endif
 %ifarch %{ix86} %{x8664} x32
-swr %{?with_gallium_i915:i915} \
+%{?with_gallium_i915:i915} \
 %endif
 %if %{with gallium_radeon}
 r300 r600 radeonsi \
@@ -1728,7 +1731,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/gallium-pipe/pipe_vmwgfx.so
 
-%ifarch %{ix86} %{x8664} x32
+%ifarch %{x8664}
 %files swr
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libswrAVX.so
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/Mesa.git/commitdiff/2f0912c67c7cdfd4e6d921725d8bf33f9af6b54f



More information about the pld-cvs-commit mailing list