enable virgl

This commit is contained in:
Dave Airlie 2016-02-26 12:55:59 +10:00
parent 3091965dad
commit af21ef8b11

View File

@ -55,7 +55,7 @@
Summary: Mesa graphics libraries Summary: Mesa graphics libraries
Name: mesa Name: mesa
Version: 11.1.0 Version: 11.1.0
Release: 2.%{git}%{?dist} Release: 3.%{git}%{?dist}
License: MIT License: MIT
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://www.mesa3d.org URL: http://www.mesa3d.org
@ -398,7 +398,7 @@ export LDFLAGS="%{__global_ldflags} -static-libstdc++"
%if %{with_hardware} %if %{with_hardware}
%{?with_xa:--enable-xa} \ %{?with_xa:--enable-xa} \
%{?with_nine:--enable-nine} \ %{?with_nine:--enable-nine} \
--with-gallium-drivers=%{?with_vmware:svga,}%{?with_radeonsi:radeonsi,}%{?with_llvm:swrast,r600,}%{?with_freedreno:freedreno,}%{?with_vc4:vc4,}%{?with_ilo:ilo,}r300,nouveau \ --with-gallium-drivers=%{?with_vmware:svga,}%{?with_radeonsi:radeonsi,}%{?with_llvm:swrast,r600,}%{?with_freedreno:freedreno,}%{?with_vc4:vc4,}%{?with_ilo:ilo,}r300,nouveau,virgl \
%else %else
--with-gallium-drivers=%{?with_llvm:swrast} \ --with-gallium-drivers=%{?with_llvm:swrast} \
%endif %endif
@ -546,6 +546,7 @@ rm -rf $RPM_BUILD_ROOT
%if 0%{?with_vmware} %if 0%{?with_vmware}
%{_libdir}/dri/vmwgfx_dri.so %{_libdir}/dri/vmwgfx_dri.so
%endif %endif
%{_libdir}/dri/virtio_gpu_dri.so
%endif %endif
%if 0%{?with_llvm} %if 0%{?with_llvm}
%ifarch %{ix86} x86_64 %ifarch %{ix86} x86_64
@ -688,6 +689,9 @@ rm -rf $RPM_BUILD_ROOT
%endif %endif
%changelog %changelog
* Fri Feb 26 2016 Dave Airlie <airlied@redhat.com> 11.1.0-3
- enable virgl
* Fri Jan 08 2016 Adam Jackson <ajax@redhat.com> 11.1.0-2 * Fri Jan 08 2016 Adam Jackson <ajax@redhat.com> 11.1.0-2
- Link with -static-libstdc++ - Link with -static-libstdc++