Mesa (master): anv: fix a build race between generating a header and using it

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Nov 12 15:10:53 UTC 2020


Module: Mesa
Branch: master
Commit: 8bb1a75b4f0af2d27d92c14ae94dd03c78e98960
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8bb1a75b4f0af2d27d92c14ae94dd03c78e98960

Author: Alexander Kanavin <alex.kanavin at gmail.com>
Date:   Mon Nov  2 23:23:53 2020 +0100

anv: fix a build race between generating a header and using it

anv_batch_chain.c includes genX_bits.h but doesn't ensure it gets
generated first. This causes build failures, as observed here:
https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/1501/steps/8/logs/step2d

Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
Signed-off-by: Alexander Kanavin <alex.kanavin at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7412>

---

 src/intel/vulkan/meson.build | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/intel/vulkan/meson.build b/src/intel/vulkan/meson.build
index 36e1689314e..b713d8eade3 100644
--- a/src/intel/vulkan/meson.build
+++ b/src/intel/vulkan/meson.build
@@ -131,6 +131,7 @@ libanv_files = files(
 anv_deps = [
   dep_libdrm,
   dep_valgrind,
+  idep_genxml,
   idep_nir_headers,
   idep_vulkan_util_headers,
 ]



More information about the mesa-commit mailing list