Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 1 | From f148d4f1b5b13288b254ead07f1d008d997e2342 Mon Sep 17 00:00:00 2001 |
| 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
| 3 | Date: Mon, 2 Nov 2020 23:23:53 +0100 |
| 4 | Subject: [PATCH] anv: fix a build race between generating a header and using |
| 5 | it |
| 6 | |
| 7 | anv_batch_chain.c includes genX_bits.h but doesn't ensure it gets |
| 8 | generated first. This causes build failures, as observed here: |
| 9 | https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/1501/steps/8/logs/step2d |
| 10 | |
| 11 | Upstream-Status: Submitted [https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7412] |
| 12 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> |
| 13 | --- |
| 14 | src/intel/vulkan/meson.build | 1 + |
| 15 | 1 file changed, 1 insertion(+) |
| 16 | |
| 17 | diff --git a/src/intel/vulkan/meson.build b/src/intel/vulkan/meson.build |
| 18 | index 36e1689314e..b713d8eade3 100644 |
| 19 | --- a/src/intel/vulkan/meson.build |
| 20 | +++ b/src/intel/vulkan/meson.build |
| 21 | @@ -131,6 +131,7 @@ libanv_files = files( |
| 22 | anv_deps = [ |
| 23 | dep_libdrm, |
| 24 | dep_valgrind, |
| 25 | + idep_genxml, |
| 26 | idep_nir_headers, |
| 27 | idep_vulkan_util_headers, |
| 28 | ] |
| 29 | -- |
| 30 | 2.29.0 |
| 31 | |