From 8445a739be5b12acd7d26b04a6942dc435ed25ff Mon Sep 17 00:00:00 2001 From: Weifeng Liu Date: Mon, 22 Jul 2024 03:03:41 +0000 Subject: [PATCH] anv: Add idep_genxml to dependencies of grl_genX_libs Fix race condition when building ANV: In file included from src/intel/vulkan/grl/grl_metakernel_build_primref.c:40: ../src/intel/common/mi_builder.h:28:10: fatal error: 'genxml/genX_bits.h' file not found #include "genxml/genX_bits.h" This change is already included in commit 41b2ed65e2532fd3be9ee7b74c74401169e81acd (genxml: generate opencl packing headers) in the upstream. Hence when updating mesa version, this change can be safely removed. Test-done: build mesa multiple times Tracked-On: OAM-122542 Signed-off-by: Weifeng Liu --- src/intel/vulkan/grl/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/vulkan/grl/meson.build b/src/intel/vulkan/grl/meson.build index 25202521667..c2a67448a79 100644 --- a/src/intel/vulkan/grl/meson.build +++ b/src/intel/vulkan/grl/meson.build @@ -158,7 +158,7 @@ foreach t : [['125', 'gfx125', 'dg2']] ], dependencies : [ dep_valgrind, idep_nir_headers, idep_vulkan_util_headers, idep_vulkan_wsi_headers, - idep_vulkan_runtime_headers, idep_anv_headers, + idep_vulkan_runtime_headers, idep_anv_headers, idep_genxml, ], gnu_symbol_visibility : 'hidden', )