Add support for RISC-V (riscv64)

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
David Abdurachmanov 2018-06-09 21:18:23 +02:00
parent 1c741b9561
commit 25622dca5c
Signed by: davidlt
GPG Key ID: 7108702C938B13C1
1 changed files with 8 additions and 1 deletions

View File

@ -10,7 +10,9 @@
%define with_vaapi 1
%define with_nine 1
%define with_omx 1
%ifnarch riscv64
%define with_opencl 1
%endif
%define base_drivers swrast,nouveau,radeon,r200
%endif
@ -51,7 +53,7 @@
Name: mesa
Summary: Mesa graphics libraries
Version: 18.1.1
Release: 2%{?rctag:.%{rctag}}%{?dist}
Release: 2%{?rctag:.%{rctag}}.0.riscv64%{?dist}
License: MIT
URL: http://www.mesa3d.org
@ -626,9 +628,11 @@ popd
%endif
%endif
%if 0%{?with_hardware}
%ifnarch riscv64
%dir %{_libdir}/gallium-pipe
%{_libdir}/gallium-pipe/*.so
%endif
%endif
%{_libdir}/dri/kms_swrast_dri.so
%{_libdir}/dri/swrast_dri.so
%{_libdir}/dri/virtio_gpu_dri.so
@ -666,6 +670,9 @@ popd
%endif
%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
- Stop mentioning ppc and s390, we don't build for them anymore
- Remove with_llvm, now always true