meson: do not pull in clc for clover

Fixes: 01d0d94319 ("meson: Simplify clc expression")
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27663>
This commit is contained in:
Karol Herbst 2024-02-17 01:45:07 +01:00 committed by Marge Bot
parent 6474f8c2ce
commit 815a6647eb
2 changed files with 2 additions and 3 deletions

View File

@ -823,7 +823,6 @@ if _opencl != 'disabled'
error('The Clover OpenCL state tracker requires rtti')
endif
with_clc = true
with_gallium_opencl = true
with_opencl_icd = _opencl == 'icd'
else
@ -848,7 +847,7 @@ if with_gallium_rusticl
endif
dep_clc = null_dep
if with_clc
if with_gallium_opencl or with_clc
dep_clc = dependency('libclc')
endif

View File

@ -79,7 +79,7 @@ subdir('nir')
subdir('spirv')
if with_opencl_spirv
if with_clc
subdir('clc')
endif
if with_gallium