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>
(cherry picked from commit a0b457aca6)
This commit is contained in:
Eric Engestrom 2025-03-12 10:50:04 +01:00 committed by Eric Engestrom
parent 83a18330f3
commit 46d1ff0765
3 changed files with 4 additions and 1 deletions

View file

@ -1224,7 +1224,7 @@
"description": "meson: announce that clover is deprecated (slated for removal)", "description": "meson: announce that clover is deprecated (slated for removal)",
"nominated": false, "nominated": false,
"nomination_type": 0, "nomination_type": 0,
"resolution": 4, "resolution": 1,
"main_sha": null, "main_sha": null,
"because_sha": null, "because_sha": null,
"notes": null "notes": null

View file

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

View file

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