hasvk: only run tests on x86 (32 & 64 bit)

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13305
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35635>
This commit is contained in:
Eric Engestrom 2025-06-19 14:21:04 +02:00 committed by Marge Bot
parent 9db945c3be
commit 6addaca3d4

View file

@ -208,7 +208,8 @@ if with_symbols_check
)
endif
if with_tests
# HasVK and its tests can only run on x86
if with_tests and host_machine.cpu_family().startswith('x86')
libvulkan_intel_hasvk_test = static_library(
'vulkan_intel_hasvk_test',
[files('anv_gem_stubs.c'), anv_hasvk_entrypoints[0]],