Module: Mesa Branch: main Commit: d983827a62c77713452a9e420fd20ed39c68ef2c URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d983827a62c77713452a9e420fd20ed39c68ef2c
Author: Luis Felipe Strano Moraes <[email protected]> Date: Thu Nov 10 15:57:05 2022 -0800 meson: only enable intel-clc for x86_64 builds Reviewed-by: Lionel Landwerlin <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19662> --- meson.build | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 6f7cac4c11c..77cbe5efef6 100644 --- a/meson.build +++ b/meson.build @@ -300,8 +300,13 @@ if with_aco_tests and not with_amd_vk 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')
