Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19662>
(cherry picked from commit
d983827a62c77713452a9e420fd20ed39c68ef2c)
"description": "meson: only enable intel-clc for x86_64 builds",
"nominated": false,
"nomination_type": null,
- "resolution": 4,
+ "resolution": 1,
"main_sha": null,
"because_sha": null
},
endif
with_microsoft_clc = get_option('microsoft-clc').enabled()
-with_intel_clc = get_option('intel-clc').enabled()
-with_intel_vk_rt = with_intel_vk and with_intel_clc
+if ['x86_64'].contains(host_machine.cpu_family())
+ with_intel_clc = get_option('intel-clc').enabled()
+ with_intel_vk_rt = with_intel_vk and with_intel_clc
+else
+ with_intel_clc = false
+ with_intel_vk_rt = false
+endif
with_clc = with_microsoft_clc or with_intel_clc
with_libclc = with_clc
with_spirv_to_dxil = get_option('spirv-to-dxil')