meson: add dep_llvm to radv_tests

It seems this will try to link to LLVM because libvulkan_radeon links to
LLVM. Without the dep_llvm and with the GCC linker (instead of mold), this
will fail if you use a custom built LLVM and it can't find the shared object.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35495>
This commit is contained in:
Rhys Perry
2025-06-12 16:41:41 +01:00
committed by Marge Bot
parent 1145cac490
commit a905ff3d54

View File

@@ -341,7 +341,7 @@ if with_radv_tests
include_directories('.'),
],
link_with : [ libvulkan_radeon ],
dependencies : [dep_thread, idep_gtest, idep_nir, idep_mesautil, idep_vulkan_util_headers],
dependencies : [dep_llvm, dep_thread, idep_gtest, idep_nir, idep_mesautil, idep_vulkan_util_headers],
),
suite : ['compiler', 'nir'],
protocol : 'gtest',