File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -295,15 +295,18 @@ with_any_broadcom = [
295295 with_broadcom_vk,
296296].contains(true )
297297
298- if get_option (' intel-clc' ) != ' system'
298+ if [' x86_64' ].contains(host_machine .cpu_family()) and \
299+ get_option (' intel-clc' ) != ' system'
299300 # Require intel-clc with Anv & Iris (for internal shaders)
300301 with_intel_clc = get_option (' intel-clc' ) == ' enabled' or \
301302 with_intel_vk or with_gallium_iris
302303else
303304 with_intel_clc = false
304305endif
305306
306- with_intel_vk_rt = with_intel_vk and get_option (' intel-rt' ) != ' disabled'
307+ with_intel_vk_rt = with_intel_vk and \
308+ get_option (' intel-clc' ) != ' disabled' and \
309+ get_option (' intel-rt' ) != ' disabled'
307310
308311with_any_intel = [
309312 with_gallium_crocus,
Original file line number Diff line number Diff line change @@ -635,11 +635,11 @@ option(
635635 ' intel-clc' ,
636636 type : ' combo' ,
637637 deprecated : {' true' : ' enabled' , ' false' : ' disabled' },
638- value : ' auto ' ,
638+ value : ' disabled ' ,
639639 choices : [
640- ' enabled' , ' system ' , ' auto '
640+ ' enabled' , ' disabled ' , ' system ' ,
641641 ],
642- description : ' Build the intel-clc compiler or use a system version .'
642+ description : ' Build the intel-clc compiler.'
643643)
644644
645645option (
You can’t perform that action at this time.
0 commit comments