meson: add various generated header dependencies as order-only deps

https://mesonbuild.com/FAQ.html#how-do-i-tell-meson-that-my-sources-use-generated-headers

A few locations had underspecified deps on the header files, and this
caused builds to fail given sufficient parallelism.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29115>
This commit is contained in:
Eli Schwartz
2024-05-08 18:42:31 -04:00
committed by Marge Bot
parent a4e0eb55ce
commit e60dcaa71d
5 changed files with 5 additions and 3 deletions

View File

@@ -104,7 +104,7 @@ files_etnaviv = files(
libetnaviv = static_library(
'etnaviv',
files_etnaviv,
files_etnaviv, enums_h,
gnu_symbol_visibility : 'hidden',
include_directories : [
inc_include, inc_src, inc_gallium, inc_gallium_aux, inc_etnaviv,

View File

@@ -117,7 +117,7 @@ endif
libvulkan_powervr_mesa = shared_library(
'vulkan_powervr_mesa',
[pvr_files, pvr_entrypoints, u_format_pack_h],
[pvr_files, pvr_entrypoints, sha1_h, u_format_pack_h],
include_directories : [
pvr_includes,
inc_imagination,

View File

@@ -62,6 +62,6 @@ libblorp_elk = static_library(
)
idep_intel_blorp_elk = declare_dependency(
dependencies: [idep_intel_dev],
link_with: libblorp_elk,
)

View File

@@ -30,6 +30,7 @@ endif
idep_intel_driver_ds_headers = declare_dependency(
sources : intel_tracepoint_files[0],
dependencies: [idep_intel_dev_wa, idep_intel_dev_info_gen],
include_directories : [inc_include, inc_intel],
)

View File

@@ -48,6 +48,7 @@ libpanvk_files = files(
'panvk_query.c',
'panvk_wsi.c',
)
libpanvk_files += [sha1_h]
panvk_deps = []
panvk_flags = []