mirror of https://gitlab.freedesktop.org/mesa/mesa
meson: add option to install intel-clc
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26797>
This commit is contained in:
parent
a26c7b0b03
commit
1e31fd5f42
|
@ -642,6 +642,13 @@ option(
|
||||||
description : 'Build the intel-clc compiler.'
|
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(
|
option(
|
||||||
'intel-rt',
|
'intel-rt',
|
||||||
type : 'combo',
|
type : 'combo',
|
||||||
|
|
|
@ -187,6 +187,7 @@ elif with_intel_clc
|
||||||
link_args : [ld_args_build_id],
|
link_args : [ld_args_build_id],
|
||||||
dependencies : [idep_nir, idep_vtn, idep_mesaclc, idep_mesautil, idep_intel_dev],
|
dependencies : [idep_nir, idep_vtn, idep_mesaclc, idep_mesautil, idep_intel_dev],
|
||||||
native : true,
|
native : true,
|
||||||
|
install : get_option('install-intel-clc'),
|
||||||
)
|
)
|
||||||
dep_prog_intel_clc = [prog_intel_clc]
|
dep_prog_intel_clc = [prog_intel_clc]
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue