diff --git a/meson_options.txt b/meson_options.txt index aa13e9277a9c0..5311348719bfa 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -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', diff --git a/src/intel/compiler/meson.build b/src/intel/compiler/meson.build index c1ede33ae9da5..6f32ced85cccd 100644 --- a/src/intel/compiler/meson.build +++ b/src/intel/compiler/meson.build @@ -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