Module: Mesa Branch: staging/22.3 Commit: d7e96d12f90fa1daf7f61ef14625f402abb07559 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d7e96d12f90fa1daf7f61ef14625f402abb07559
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> (cherry picked from commit d983827a62c77713452a9e420fd20ed39c68ef2c) --- .pick_status.json | 2 +- meson.build | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.pick_status.json b/.pick_status.json index d6908a89d35..d28f63d1318 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -58,7 +58,7 @@ "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 }, diff --git a/meson.build b/meson.build index 6289f11afd0..c5c138a2a63 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')
