From a905ff3d544b94f5996e2eabb91a0137efd2a1cf Mon Sep 17 00:00:00 2001 From: Rhys Perry Date: Thu, 12 Jun 2025 16:41:41 +0100 Subject: [PATCH] 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 Reviewed-by: Samuel Pitoiset Part-of: --- src/amd/vulkan/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/vulkan/meson.build b/src/amd/vulkan/meson.build index 0e6eca9683f..af69d1a4a49 100644 --- a/src/amd/vulkan/meson.build +++ b/src/amd/vulkan/meson.build @@ -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',