meson: add option to install intel-clc

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26797>
This commit is contained in:
Lionel Landwerlin 2024-02-12 15:06:06 +02:00 committed by Marge Bot
parent a26c7b0b03
commit 1e31fd5f42
2 changed files with 8 additions and 0 deletions

View File

@ -642,6 +642,13 @@ option(
description : 'Build the intel-clc compiler.'
)
option(
'install-intel-clc',
type : 'boolean',
value : false,
description : 'Install the intel-clc compiler (if needed for cross builds).'
)
option(
'intel-rt',
type : 'combo',

View File

@ -187,6 +187,7 @@ elif with_intel_clc
link_args : [ld_args_build_id],
dependencies : [idep_nir, idep_vtn, idep_mesaclc, idep_mesautil, idep_intel_dev],
native : true,
install : get_option('install-intel-clc'),
)
dep_prog_intel_clc = [prog_intel_clc]
endif