mirror of
https://src.fedoraproject.org/rpms/mesa.git
synced 2024-11-24 17:35:18 +00:00
move opencl to better location, fix s390x build
This commit is contained in:
parent
5874b7ff91
commit
0258306f9b
1 changed files with 3 additions and 7 deletions
10
mesa.spec
10
mesa.spec
|
@ -7,8 +7,6 @@
|
||||||
# llvm (and thus llvmpipe) doesn't actually work on ppc32
|
# llvm (and thus llvmpipe) doesn't actually work on ppc32
|
||||||
%ifnarch s390 ppc
|
%ifnarch s390 ppc
|
||||||
%define with_llvm 1
|
%define with_llvm 1
|
||||||
%else
|
|
||||||
%define with_opencl 1
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?with_llvm}
|
%if 0%{?with_llvm}
|
||||||
|
@ -24,6 +22,7 @@
|
||||||
%define with_vaapi 1
|
%define with_vaapi 1
|
||||||
%define with_nine 1
|
%define with_nine 1
|
||||||
%define with_omx 1
|
%define with_omx 1
|
||||||
|
%define with_opencl 1
|
||||||
%define base_drivers swrast,nouveau,radeon,r200
|
%define base_drivers swrast,nouveau,radeon,r200
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
@ -31,9 +30,6 @@
|
||||||
%define platform_drivers ,i915,i965
|
%define platform_drivers ,i915,i965
|
||||||
%define with_vmware 1
|
%define with_vmware 1
|
||||||
%define with_xa 1
|
%define with_xa 1
|
||||||
%endif
|
|
||||||
|
|
||||||
%ifarch %{ix86} x86_64
|
|
||||||
%define with_vulkan 1
|
%define with_vulkan 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
@ -622,11 +618,11 @@ popd
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?with_llvm}
|
%if 0%{?with_hardware}
|
||||||
%dir %{_libdir}/gallium-pipe
|
%dir %{_libdir}/gallium-pipe
|
||||||
%{_libdir}/gallium-pipe/*.so
|
%{_libdir}/gallium-pipe/*.so
|
||||||
%{_libdir}/dri/kms_swrast_dri.so
|
|
||||||
%endif
|
%endif
|
||||||
|
%{_libdir}/dri/kms_swrast_dri.so
|
||||||
%{_libdir}/dri/swrast_dri.so
|
%{_libdir}/dri/swrast_dri.so
|
||||||
%{_libdir}/dri/virtio_gpu_dri.so
|
%{_libdir}/dri/virtio_gpu_dri.so
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue