Accepting request 883206 from home:Andreas_Schwab:Factory
- Enable radeon and nouveau drivers on riscv64 OBS-URL: https://build.opensuse.org/request/show/883206 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=1027
This commit is contained in:
parent
b0043c3bb6
commit
9a7588e465
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 6 08:38:16 UTC 2021 - Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
- Enable radeon and nouveau drivers on riscv64
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Mar 30 19:00:03 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>
|
Tue Mar 30 19:00:03 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@
|
|||||||
%define with_vulkan 0
|
%define with_vulkan 0
|
||||||
%define with_llvm 0
|
%define with_llvm 0
|
||||||
|
|
||||||
%ifarch %{ix86} x86_64 %{arm} aarch64 ppc64 ppc64le
|
%ifarch %{ix86} x86_64 %{arm} aarch64 ppc64 ppc64le riscv64
|
||||||
%define gallium_loader 1
|
%define gallium_loader 1
|
||||||
%else
|
%else
|
||||||
%define gallium_loader 0
|
%define gallium_loader 0
|
||||||
@ -56,7 +56,7 @@
|
|||||||
%define vdpau_nouveau 0
|
%define vdpau_nouveau 0
|
||||||
%define vdpau_radeon 0
|
%define vdpau_radeon 0
|
||||||
|
|
||||||
%ifarch %{ix86} x86_64 aarch64 %{arm} ppc64 ppc64le
|
%ifarch %{ix86} x86_64 aarch64 %{arm} ppc64 ppc64le riscv64
|
||||||
%define xvmc_support 1
|
%define xvmc_support 1
|
||||||
%define vdpau_nouveau 1
|
%define vdpau_nouveau 1
|
||||||
%define vdpau_radeon 1
|
%define vdpau_radeon 1
|
||||||
@ -787,7 +787,7 @@ egl_platforms=x11,wayland
|
|||||||
-Ddri-drivers=nouveau \
|
-Ddri-drivers=nouveau \
|
||||||
-Dgallium-drivers=r300,r600,radeonsi,nouveau,swrast,virgl,freedreno,vc4,etnaviv,lima,panfrost,kmsro,v3d \
|
-Dgallium-drivers=r300,r600,radeonsi,nouveau,swrast,virgl,freedreno,vc4,etnaviv,lima,panfrost,kmsro,v3d \
|
||||||
%else
|
%else
|
||||||
%ifarch ppc64 ppc64le
|
%ifarch ppc64 ppc64le riscv64
|
||||||
-Ddri-drivers=nouveau \
|
-Ddri-drivers=nouveau \
|
||||||
-Dgallium-drivers=r300,r600,radeonsi,nouveau,swrast \
|
-Dgallium-drivers=r300,r600,radeonsi,nouveau,swrast \
|
||||||
%else
|
%else
|
||||||
@ -981,7 +981,7 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{drivers}
|
%if %{drivers}
|
||||||
%ifarch aarch64 %{ix86} x86_64 %{arm} ppc64 ppc64le
|
%ifarch aarch64 %{ix86} x86_64 %{arm} ppc64 ppc64le riscv64
|
||||||
%files -n libxatracker2
|
%files -n libxatracker2
|
||||||
%{_libdir}/libxatracker.so.2*
|
%{_libdir}/libxatracker.so.2*
|
||||||
|
|
||||||
@ -1021,7 +1021,7 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen
|
|||||||
%{_libdir}/vdpau/libvdpau_r600.so.1.0.0
|
%{_libdir}/vdpau/libvdpau_r600.so.1.0.0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%ifarch %{ix86} x86_64 ppc64 ppc64le %{arm} aarch64
|
%ifarch %{ix86} x86_64 ppc64 ppc64le %{arm} aarch64 riscv64
|
||||||
%files -n libvdpau_radeonsi
|
%files -n libvdpau_radeonsi
|
||||||
%{_libdir}/vdpau/libvdpau_radeonsi.so
|
%{_libdir}/vdpau/libvdpau_radeonsi.so
|
||||||
%{_libdir}/vdpau/libvdpau_radeonsi.so.1
|
%{_libdir}/vdpau/libvdpau_radeonsi.so.1
|
||||||
@ -1042,7 +1042,7 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen
|
|||||||
%files -n Mesa-dri
|
%files -n Mesa-dri
|
||||||
%dir %{_libdir}/dri
|
%dir %{_libdir}/dri
|
||||||
%{_libdir}/dri/*_dri.so
|
%{_libdir}/dri/*_dri.so
|
||||||
%ifarch %{ix86} x86_64 aarch64 %{arm} ppc64 ppc64le
|
%ifarch %{ix86} x86_64 aarch64 %{arm} ppc64 ppc64le riscv64
|
||||||
%exclude %{_libdir}/dri/nouveau_dri.so
|
%exclude %{_libdir}/dri/nouveau_dri.so
|
||||||
%exclude %{_libdir}/dri/nouveau_vieux_dri.so
|
%exclude %{_libdir}/dri/nouveau_vieux_dri.so
|
||||||
%endif
|
%endif
|
||||||
@ -1057,7 +1057,7 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen
|
|||||||
%{_libdir}/gallium-pipe/pipe_*.so
|
%{_libdir}/gallium-pipe/pipe_*.so
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%ifarch %{ix86} x86_64 aarch64 %{arm} ppc64 ppc64le
|
%ifarch %{ix86} x86_64 aarch64 %{arm} ppc64 ppc64le riscv64
|
||||||
%files -n Mesa-dri-nouveau
|
%files -n Mesa-dri-nouveau
|
||||||
%{_libdir}/dri/nouveau_dri.so
|
%{_libdir}/dri/nouveau_dri.so
|
||||||
%{_libdir}/dri/nouveau_vieux_dri.so
|
%{_libdir}/dri/nouveau_vieux_dri.so
|
||||||
@ -1108,7 +1108,7 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{drivers}
|
%if %{drivers}
|
||||||
%ifarch %{ix86} x86_64 aarch64 %{arm} ppc64 ppc64le
|
%ifarch %{ix86} x86_64 aarch64 %{arm} ppc64 ppc64le riscv64
|
||||||
%files -n Mesa-libva
|
%files -n Mesa-libva
|
||||||
%{_libdir}/dri/*_drv_video.so
|
%{_libdir}/dri/*_drv_video.so
|
||||||
%endif
|
%endif
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 6 08:38:16 UTC 2021 - Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
- Enable radeon and nouveau drivers on riscv64
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Mar 30 19:00:03 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>
|
Tue Mar 30 19:00:03 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>
|
||||||
|
|
||||||
|
16
Mesa.spec
16
Mesa.spec
@ -45,7 +45,7 @@
|
|||||||
%define with_vulkan 0
|
%define with_vulkan 0
|
||||||
%define with_llvm 0
|
%define with_llvm 0
|
||||||
|
|
||||||
%ifarch %{ix86} x86_64 %{arm} aarch64 ppc64 ppc64le
|
%ifarch %{ix86} x86_64 %{arm} aarch64 ppc64 ppc64le riscv64
|
||||||
%define gallium_loader 1
|
%define gallium_loader 1
|
||||||
%else
|
%else
|
||||||
%define gallium_loader 0
|
%define gallium_loader 0
|
||||||
@ -55,7 +55,7 @@
|
|||||||
%define vdpau_nouveau 0
|
%define vdpau_nouveau 0
|
||||||
%define vdpau_radeon 0
|
%define vdpau_radeon 0
|
||||||
|
|
||||||
%ifarch %{ix86} x86_64 aarch64 %{arm} ppc64 ppc64le
|
%ifarch %{ix86} x86_64 aarch64 %{arm} ppc64 ppc64le riscv64
|
||||||
%define xvmc_support 1
|
%define xvmc_support 1
|
||||||
%define vdpau_nouveau 1
|
%define vdpau_nouveau 1
|
||||||
%define vdpau_radeon 1
|
%define vdpau_radeon 1
|
||||||
@ -786,7 +786,7 @@ egl_platforms=x11,wayland
|
|||||||
-Ddri-drivers=nouveau \
|
-Ddri-drivers=nouveau \
|
||||||
-Dgallium-drivers=r300,r600,radeonsi,nouveau,swrast,virgl,freedreno,vc4,etnaviv,lima,panfrost,kmsro,v3d \
|
-Dgallium-drivers=r300,r600,radeonsi,nouveau,swrast,virgl,freedreno,vc4,etnaviv,lima,panfrost,kmsro,v3d \
|
||||||
%else
|
%else
|
||||||
%ifarch ppc64 ppc64le
|
%ifarch ppc64 ppc64le riscv64
|
||||||
-Ddri-drivers=nouveau \
|
-Ddri-drivers=nouveau \
|
||||||
-Dgallium-drivers=r300,r600,radeonsi,nouveau,swrast \
|
-Dgallium-drivers=r300,r600,radeonsi,nouveau,swrast \
|
||||||
%else
|
%else
|
||||||
@ -980,7 +980,7 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{drivers}
|
%if %{drivers}
|
||||||
%ifarch aarch64 %{ix86} x86_64 %{arm} ppc64 ppc64le
|
%ifarch aarch64 %{ix86} x86_64 %{arm} ppc64 ppc64le riscv64
|
||||||
%files -n libxatracker2
|
%files -n libxatracker2
|
||||||
%{_libdir}/libxatracker.so.2*
|
%{_libdir}/libxatracker.so.2*
|
||||||
|
|
||||||
@ -1020,7 +1020,7 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen
|
|||||||
%{_libdir}/vdpau/libvdpau_r600.so.1.0.0
|
%{_libdir}/vdpau/libvdpau_r600.so.1.0.0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%ifarch %{ix86} x86_64 ppc64 ppc64le %{arm} aarch64
|
%ifarch %{ix86} x86_64 ppc64 ppc64le %{arm} aarch64 riscv64
|
||||||
%files -n libvdpau_radeonsi
|
%files -n libvdpau_radeonsi
|
||||||
%{_libdir}/vdpau/libvdpau_radeonsi.so
|
%{_libdir}/vdpau/libvdpau_radeonsi.so
|
||||||
%{_libdir}/vdpau/libvdpau_radeonsi.so.1
|
%{_libdir}/vdpau/libvdpau_radeonsi.so.1
|
||||||
@ -1041,7 +1041,7 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen
|
|||||||
%files -n Mesa-dri
|
%files -n Mesa-dri
|
||||||
%dir %{_libdir}/dri
|
%dir %{_libdir}/dri
|
||||||
%{_libdir}/dri/*_dri.so
|
%{_libdir}/dri/*_dri.so
|
||||||
%ifarch %{ix86} x86_64 aarch64 %{arm} ppc64 ppc64le
|
%ifarch %{ix86} x86_64 aarch64 %{arm} ppc64 ppc64le riscv64
|
||||||
%exclude %{_libdir}/dri/nouveau_dri.so
|
%exclude %{_libdir}/dri/nouveau_dri.so
|
||||||
%exclude %{_libdir}/dri/nouveau_vieux_dri.so
|
%exclude %{_libdir}/dri/nouveau_vieux_dri.so
|
||||||
%endif
|
%endif
|
||||||
@ -1056,7 +1056,7 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen
|
|||||||
%{_libdir}/gallium-pipe/pipe_*.so
|
%{_libdir}/gallium-pipe/pipe_*.so
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%ifarch %{ix86} x86_64 aarch64 %{arm} ppc64 ppc64le
|
%ifarch %{ix86} x86_64 aarch64 %{arm} ppc64 ppc64le riscv64
|
||||||
%files -n Mesa-dri-nouveau
|
%files -n Mesa-dri-nouveau
|
||||||
%{_libdir}/dri/nouveau_dri.so
|
%{_libdir}/dri/nouveau_dri.so
|
||||||
%{_libdir}/dri/nouveau_vieux_dri.so
|
%{_libdir}/dri/nouveau_vieux_dri.so
|
||||||
@ -1107,7 +1107,7 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{drivers}
|
%if %{drivers}
|
||||||
%ifarch %{ix86} x86_64 aarch64 %{arm} ppc64 ppc64le
|
%ifarch %{ix86} x86_64 aarch64 %{arm} ppc64 ppc64le riscv64
|
||||||
%files -n Mesa-libva
|
%files -n Mesa-libva
|
||||||
%{_libdir}/dri/*_drv_video.so
|
%{_libdir}/dri/*_drv_video.so
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user