Accepting request 815765 from X11:XOrg
- switch to /usr/etc/OpenCL/vendors for mesa.icd OpenCL file location (boo#1173005) OBS-URL: https://build.opensuse.org/request/show/815765 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Mesa?expand=0&rev=383
This commit is contained in:
commit
01966ecba0
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 18 11:02:23 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- switch to /usr/etc/OpenCL/vendors for mesa.icd OpenCL file
|
||||
location (boo#1173005)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 15 12:31:13 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
|
@ -84,6 +84,9 @@
|
||||
|
||||
%if 0%{with_opencl}
|
||||
%define have_gallium 1
|
||||
%if 0%{?suse_version} < 1550
|
||||
%define _distconfdir /etc
|
||||
%endif
|
||||
%else
|
||||
%define have_gallium 0
|
||||
%endif
|
||||
@ -793,6 +796,7 @@ egl_platforms=x11,drm,surfaceless,wayland
|
||||
%endif
|
||||
%if 0%{with_opencl}
|
||||
-Dgallium-opencl=icd \
|
||||
--sysconfdir=%{_distconfdir} \
|
||||
%endif
|
||||
-Ddri-search-path=%{_libdir}/dri \
|
||||
%if 0%{with_llvm}
|
||||
@ -1171,9 +1175,9 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen
|
||||
|
||||
%if 0%{with_opencl}
|
||||
%files -n Mesa-libOpenCL
|
||||
%dir %{_sysconfdir}/OpenCL
|
||||
%dir %{_sysconfdir}/OpenCL/vendors
|
||||
%{_sysconfdir}/OpenCL/vendors/mesa.icd
|
||||
%dir %{_distconfdir}/OpenCL
|
||||
%dir %{_distconfdir}/OpenCL/vendors
|
||||
%{_distconfdir}/OpenCL/vendors/mesa.icd
|
||||
%{_libdir}/libMesaOpenCL.so*
|
||||
%endif
|
||||
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 18 11:02:23 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- switch to /usr/etc/OpenCL/vendors for mesa.icd OpenCL file
|
||||
location (boo#1173005)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 15 12:31:13 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
|
10
Mesa.spec
10
Mesa.spec
@ -83,6 +83,9 @@
|
||||
|
||||
%if 0%{with_opencl}
|
||||
%define have_gallium 1
|
||||
%if 0%{?suse_version} < 1550
|
||||
%define _distconfdir /etc
|
||||
%endif
|
||||
%else
|
||||
%define have_gallium 0
|
||||
%endif
|
||||
@ -792,6 +795,7 @@ egl_platforms=x11,drm,surfaceless,wayland
|
||||
%endif
|
||||
%if 0%{with_opencl}
|
||||
-Dgallium-opencl=icd \
|
||||
--sysconfdir=%{_distconfdir} \
|
||||
%endif
|
||||
-Ddri-search-path=%{_libdir}/dri \
|
||||
%if 0%{with_llvm}
|
||||
@ -1170,9 +1174,9 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen
|
||||
|
||||
%if 0%{with_opencl}
|
||||
%files -n Mesa-libOpenCL
|
||||
%dir %{_sysconfdir}/OpenCL
|
||||
%dir %{_sysconfdir}/OpenCL/vendors
|
||||
%{_sysconfdir}/OpenCL/vendors/mesa.icd
|
||||
%dir %{_distconfdir}/OpenCL
|
||||
%dir %{_distconfdir}/OpenCL/vendors
|
||||
%{_distconfdir}/OpenCL/vendors/mesa.icd
|
||||
%{_libdir}/libMesaOpenCL.so*
|
||||
%endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user