meson: enforce build of intel-clc with anv/iris

If we do a native build, regardless of the host architecture and we
build Anv or Iris, we need intel-clc. So force building that tool.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10601
Fixes: b52e25d3a8 ("anv: rewrite internal shaders using OpenCL")
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27593>
This commit is contained in:
Lionel Landwerlin
2024-02-13 11:36:17 +02:00
committed by Marge Bot
parent d0fba810b3
commit a512c2a8b5
2 changed files with 5 additions and 8 deletions

View File

@@ -635,11 +635,11 @@ option(
'intel-clc',
type : 'combo',
deprecated: {'true': 'enabled', 'false': 'disabled'},
value : 'disabled',
value : 'auto',
choices : [
'enabled', 'disabled', 'system',
'enabled', 'system', 'auto'
],
description : 'Build the intel-clc compiler.'
description : 'Build the intel-clc compiler or use a system version.'
)
option(