Skip to content

Commit

Permalink
anv: Add idep_genxml to dependencies of grl_genX_libs
Browse files Browse the repository at this point in the history
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
41b2ed6 (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 <[email protected]>
  • Loading branch information
phreer authored and celadon committed Jul 23, 2024
1 parent 2a921bb commit 8445a73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/intel/vulkan/grl/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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',
)
Expand Down

0 comments on commit 8445a73

Please sign in to comment.