From 25622dca5cea7f3936f57c85c628e4065ca050c1 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Sat, 9 Jun 2018 21:18:23 +0200 Subject: [PATCH] Add support for RISC-V (riscv64) Signed-off-by: David Abdurachmanov --- mesa.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/mesa.spec b/mesa.spec index 3ff9c6d..5e58f69 100644 --- a/mesa.spec +++ b/mesa.spec @@ -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 - 18.1.1-2.0.riscv64 +- Add support for RISC-V (riscv64) + * Tue Jun 05 2018 Adam Jackson - 18.1.1-2 - Stop mentioning ppc and s390, we don't build for them anymore - Remove with_llvm, now always true