Add support for RISC-V (riscv64)
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
parent
1c741b9561
commit
25622dca5c
|
@ -10,7 +10,9 @@
|
||||||
%define with_vaapi 1
|
%define with_vaapi 1
|
||||||
%define with_nine 1
|
%define with_nine 1
|
||||||
%define with_omx 1
|
%define with_omx 1
|
||||||
|
%ifnarch riscv64
|
||||||
%define with_opencl 1
|
%define with_opencl 1
|
||||||
|
%endif
|
||||||
%define base_drivers swrast,nouveau,radeon,r200
|
%define base_drivers swrast,nouveau,radeon,r200
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
@ -51,7 +53,7 @@
|
||||||
Name: mesa
|
Name: mesa
|
||||||
Summary: Mesa graphics libraries
|
Summary: Mesa graphics libraries
|
||||||
Version: 18.1.1
|
Version: 18.1.1
|
||||||
Release: 2%{?rctag:.%{rctag}}%{?dist}
|
Release: 2%{?rctag:.%{rctag}}.0.riscv64%{?dist}
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://www.mesa3d.org
|
URL: http://www.mesa3d.org
|
||||||
|
@ -626,9 +628,11 @@ popd
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?with_hardware}
|
%if 0%{?with_hardware}
|
||||||
|
%ifnarch riscv64
|
||||||
%dir %{_libdir}/gallium-pipe
|
%dir %{_libdir}/gallium-pipe
|
||||||
%{_libdir}/gallium-pipe/*.so
|
%{_libdir}/gallium-pipe/*.so
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
%{_libdir}/dri/kms_swrast_dri.so
|
%{_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
|
||||||
|
@ -666,6 +670,9 @@ popd
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jun 09 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> - 18.1.1-2.0.riscv64
|
||||||
|
- Add support for RISC-V (riscv64)
|
||||||
|
|
||||||
* Tue Jun 05 2018 Adam Jackson <ajax@redhat.com> - 18.1.1-2
|
* Tue Jun 05 2018 Adam Jackson <ajax@redhat.com> - 18.1.1-2
|
||||||
- Stop mentioning ppc and s390, we don't build for them anymore
|
- Stop mentioning ppc and s390, we don't build for them anymore
|
||||||
- Remove with_llvm, now always true
|
- Remove with_llvm, now always true
|
||||||
|
|
Loading…
Reference in New Issue