mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 11:40:10 +01:00
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:
parent
6474f8c2ce
commit
815a6647eb
2 changed files with 2 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ subdir('nir')
|
|||
|
||||
subdir('spirv')
|
||||
|
||||
if with_opencl_spirv
|
||||
if with_clc
|
||||
subdir('clc')
|
||||
endif
|
||||
if with_gallium
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue