[mesa] Build aarch64 options the same as ARMv7, Fix PPC conditionals

Peter Robinson pbrobinson at fedoraproject.org
Tue Jul 8 12:49:53 UTC 2014


commit 7526e1bbd77f6085b95696dc2cf3835aaaf0f9e7
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Tue Jul 8 13:50:03 2014 +0100

    Build aarch64 options the same as ARMv7, Fix PPC conditionals

 mesa.spec |   26 ++++++++++++--------------
 1 files changed, 12 insertions(+), 14 deletions(-)
---
diff --git a/mesa.spec b/mesa.spec
index cdfdde3..889200e 100644
--- a/mesa.spec
+++ b/mesa.spec
@@ -12,8 +12,7 @@
 %endif
 
 # S390 doesn't have video cards, but we need swrast for xserver's GLX
-# llvm (and thus llvmpipe) doesn't actually work on ppc32 or s390
-
+# llvm (and thus llvmpipe) doesn't actually work on ppc32
 %ifnarch s390 ppc
 %define with_llvm 1
 %endif
@@ -23,18 +22,11 @@
 %define with_radeonsi 1
 %endif
 
-%ifarch %{arm}
-%define with_freedreno 1
-%define with_xa        1
-%define with_omx       1
-%endif
-
-%ifarch s390 s390x ppc64le
+%ifarch s390 s390x ppc64le ppc
 %define with_hardware 0
-%ifarch s390 ppc64le
 %define base_drivers swrast
 %endif
-%else
+%ifnarch s390 s390x ppc64le ppc
 %define with_hardware 1
 %define base_drivers nouveau,radeon,r200
 %ifarch %{ix86} x86_64
@@ -44,8 +36,10 @@
 %define with_opencl 1
 %define with_omx    1
 %endif
-%ifarch ppc ppc64le
-%define platform_drivers ,swrast
+%ifarch %{arm} aarch64
+%define with_freedreno 1
+%define with_xa        1
+%define with_omx       1
 %endif
 %endif
 
@@ -59,7 +53,7 @@
 Summary: Mesa graphics libraries
 Name: mesa
 Version: 10.2.2
-Release: 3.%{gitdate}%{?dist}
+Release: 4.%{gitdate}%{?dist}
 License: MIT
 Group: System Environment/Libraries
 URL: http://www.mesa3d.org
@@ -683,6 +677,10 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %changelog
+* Mon Jul  7 2014 Peter Robinson <pbrobinson at fedoraproject.org> 10.2.2-4.20140625
+- Build aarch64 options the same as ARMv7
+- Fix PPC conditionals
+
 * Fri Jul 04 2014 Igor Gnatenko <i.gnatenko.brain at gmail.com> - 10.2.2-3.20140625
 - Fix up intelInitScreen2 for DRI3 (RHBZ #1115323) (patch from drago01)
 


More information about the scm-commits mailing list