From 0258306f9bcbb49b23c0094cee35413c644ce878 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sat, 31 Mar 2018 04:01:31 +0100 Subject: [PATCH] move opencl to better location, fix s390x build --- mesa.spec | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/mesa.spec b/mesa.spec index 48e115a..a9ac8d5 100644 --- a/mesa.spec +++ b/mesa.spec @@ -7,8 +7,6 @@ # llvm (and thus llvmpipe) doesn't actually work on ppc32 %ifnarch s390 ppc %define with_llvm 1 -%else -%define with_opencl 1 %endif %if 0%{?with_llvm} @@ -24,6 +22,7 @@ %define with_vaapi 1 %define with_nine 1 %define with_omx 1 +%define with_opencl 1 %define base_drivers swrast,nouveau,radeon,r200 %endif @@ -31,9 +30,6 @@ %define platform_drivers ,i915,i965 %define with_vmware 1 %define with_xa 1 -%endif - -%ifarch %{ix86} x86_64 %define with_vulkan 1 %endif @@ -622,11 +618,11 @@ popd %endif %endif %endif -%if 0%{?with_llvm} +%if 0%{?with_hardware} %dir %{_libdir}/gallium-pipe %{_libdir}/gallium-pipe/*.so -%{_libdir}/dri/kms_swrast_dri.so %endif +%{_libdir}/dri/kms_swrast_dri.so %{_libdir}/dri/swrast_dri.so %{_libdir}/dri/virtio_gpu_dri.so