From 1df3a02c7ea9e57b0f809ec508cd541ccddc8cad Mon Sep 17 00:00:00 2001 From: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> Date: Tue, 26 Aug 2025 20:26:35 -0500 Subject: [PATCH] Fix: Mesa 42 missing opencl Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --- anda/lib/mesa/mesa.spec | 4 ++++ 1 file changed, 4 insertions(+) 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