diff --git a/anda/lib/mesa/mesa.spec b/anda/lib/mesa/mesa.spec index 98828d7e0c..d7e4017fd6 100644 --- a/anda/lib/mesa/mesa.spec +++ b/anda/lib/mesa/mesa.spec @@ -381,6 +381,7 @@ export MESON_PACKAGE_CACHE_DIR="%{cargo_registry}/" -Dgallium-vdpau=%{?with_vdpau:enabled}%{!?with_vdpau:disabled} \ -Dgallium-va=%{?with_va:enabled}%{!?with_va:disabled} \ -Dteflon=%{?with_teflon:true}%{!?with_teflon:false} \ + -Dgallium-opencl=%{?with_opencl:icd}%{!?with_opencl:disabled} \ %if 0%{?with_opencl} -Dgallium-rusticl=true \ %endif @@ -481,10 +482,13 @@ popd %if 0%{?with_opencl} %files libOpenCL +%{_libdir}/libMesaOpenCL.so.* %{_libdir}/libRusticlOpenCL.so.* +%{_sysconfdir}/OpenCL/vendors/mesa.icd %{_sysconfdir}/OpenCL/vendors/rusticl.icd %files libOpenCL-devel +%{_libdir}/libMesaOpenCL.so %{_libdir}/libRusticlOpenCL.so %endif