mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-21 05:00:09 +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')
|
error('The Clover OpenCL state tracker requires rtti')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
with_clc = true
|
|
||||||
with_gallium_opencl = true
|
with_gallium_opencl = true
|
||||||
with_opencl_icd = _opencl == 'icd'
|
with_opencl_icd = _opencl == 'icd'
|
||||||
else
|
else
|
||||||
|
|
@ -848,7 +847,7 @@ if with_gallium_rusticl
|
||||||
endif
|
endif
|
||||||
|
|
||||||
dep_clc = null_dep
|
dep_clc = null_dep
|
||||||
if with_clc
|
if with_gallium_opencl or with_clc
|
||||||
dep_clc = dependency('libclc')
|
dep_clc = dependency('libclc')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -79,7 +79,7 @@ subdir('nir')
|
||||||
|
|
||||||
subdir('spirv')
|
subdir('spirv')
|
||||||
|
|
||||||
if with_opencl_spirv
|
if with_clc
|
||||||
subdir('clc')
|
subdir('clc')
|
||||||
endif
|
endif
|
||||||
if with_gallium
|
if with_gallium
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue