meson: announce that clover is deprecated (slated for removal)

See https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19385;
the timeline is not 100% decided yet, but let's warn users already.

Suggested-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34021>
This commit is contained in:
Eric Engestrom 2025-03-12 10:50:04 +01:00 committed by Marge Bot
parent f46830912e
commit a0b457aca6
2 changed files with 3 additions and 0 deletions

View file

@ -762,6 +762,8 @@ endif
_opencl = get_option('gallium-opencl')
_rtti = get_option('cpp_rtti')
if _opencl != 'disabled'
warning('Clover will be removed in Mesa 25.2')
if not with_gallium
error('OpenCL Clover implementation requires at least one gallium driver.')
endif

View file

@ -151,6 +151,7 @@ option(
choices : ['icd', 'standalone', 'disabled'],
value : 'disabled',
description : 'build gallium "clover" OpenCL frontend.',
deprecated: true,
)
option(