meson: change RadV dependency on LLVM to an ACO tests dependency

RadV itself doesn't require LLVM, only the ACO tests do. So stop
requiring LLVM for ACO without its tests.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35840>
This commit is contained in:
Dylan Baker 2025-06-30 16:58:41 +00:00 committed by Marge Bot
parent 39ccd7899c
commit 66a30385fe

View file

@ -281,7 +281,7 @@ with_any_vk = _vulkan_drivers.length() != 0
with_llvm = with_llvm \
.enable_if(with_swrast_vk, error_message : 'Lavapipe Vulkan driver requires LLVM') \
.enable_if(with_amd_vk, error_message : 'RadV Vulkan driver requires LLVM')
.enable_if(with_amd_vk and with_aco_tests, error_message : 'RadV ACO tests require LLVM')
with_any_llvmpipe = with_gallium_llvmpipe or with_swrast_vk
with_gallium_or_lvp = with_gallium or with_swrast_vk