[packages/Mesa] explicitly enable/disable sse2; rel 2
atler
atler at pld-linux.org
Sun Feb 27 13:26:31 CET 2022
commit ebbf71b791ff4efe90008837702b7131083a9f7a
Author: Jan Palus <atler at pld-linux.org>
Date: Sun Feb 27 13:17:52 2022 +0100
explicitly enable/disable sse2; rel 2
enabled by default since 21.2.0
Mesa.spec | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/Mesa.spec b/Mesa.spec
index 495395d..a9ef50b 100644
--- a/Mesa.spec
+++ b/Mesa.spec
@@ -20,6 +20,7 @@
%bcond_without wayland # Wayland EGL
%bcond_without xa # XA state tracker (for vmwgfx xorg driver)
%bcond_without radv # disable build of the radeon Vulkan driver
+%bcond_with sse2 # SSE2 instructions
%bcond_with swr # OpenSWR software rasterizer (x86 SIMD only; due to broken design
# propagates AVX code over Gallium DRI megadriver, swrast pipe driver and libOSMesa)
%bcond_with hud_extra # HUD block/NIC I/O HUD stats support
@@ -70,11 +71,15 @@
%define with_xvmc 1
%endif
+%ifarch %{x86_with_sse2}
+%define with_sse2 1
+%endif
+
Summary: Free OpenGL implementation
Summary(pl.UTF-8): Wolnodostępna implementacja standardu OpenGL
Name: Mesa
Version: 21.3.7
-Release: 1
+Release: 2
License: MIT (core) and others - see license.html file
Group: X11/Libraries
#Source0: ftp://ftp.freedesktop.org/pub/mesa/mesa-%{version}.tar.xz
@@ -116,7 +121,7 @@ BuildRequires: pkgconfig(xcb-present) >= 1.13
BuildRequires: pkgconfig(xcb-randr) >= 1.12
BuildRequires: python3 >= 1:3.2
BuildRequires: python3-Mako >= 0.8.0
-BuildRequires: rpmbuild(macros) >= 1.736
+BuildRequires: rpmbuild(macros) >= 2.007
BuildRequires: sed >= 4.0
%{?with_opencl_spirv:BuildRequires: spirv-tools-devel >= 2018.0}
# wayland-{client,server}
@@ -1594,6 +1599,7 @@ vulkan_drivers=$(echo $vulkan_drivers | xargs | tr ' ' ',')
%{?with_opencl_spirv:-Dopencl-spirv=true} \
-Dosmesa=true \
-Dselinux=true \
+ -Dsse2=%{__true_false sse2} \
-Dva-libs-path=%{_libdir}/libva/dri \
-Dvulkan-drivers=${vulkan_drivers} \
-Dvulkan-icd-dir=/usr/share/vulkan/icd.d
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/Mesa.git/commitdiff/ebbf71b791ff4efe90008837702b7131083a9f7a
More information about the pld-cvs-commit
mailing list