From 88d0c6c26aa9f00547a8bd2dda36176cb84adfb6 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Tue, 13 Feb 2024 20:04:10 -0500 Subject: [PATCH] meson: Limit intel_vk_rt to x86_64 Fixes: a512c2a8b57 ("meson: enforce build of intel-clc with anv/iris") Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10610 Part-of: --- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index faadf25a449..c7c507dcca4 100644 --- a/meson.build +++ b/meson.build @@ -303,7 +303,8 @@ else with_intel_clc = false endif -with_intel_vk_rt = with_intel_vk and get_option('intel-rt') != 'disabled' +with_intel_vk_rt = ['x86_64'].contains(host_machine.cpu_family()) and \ + with_intel_vk and get_option('intel-rt') != 'disabled' with_any_intel = [ with_gallium_crocus,