Mesa (main): intel: Add missing dep of gen_*_header.py on utils.py.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Feb 2 21:26:41 UTC 2022


Module: Mesa
Branch: main
Commit: dbcdededb230083e97bca5e84e53f88ccfa6f160
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dbcdededb230083e97bca5e84e53f88ccfa6f160

Author: Emma Anholt <emma at anholt.net>
Date:   Tue Jan 25 16:00:59 2022 -0800

intel: Add missing dep of gen_*_header.py on utils.py.

Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14725>

---

 src/intel/common/meson.build | 1 +
 src/intel/genxml/meson.build | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/src/intel/common/meson.build b/src/intel/common/meson.build
index 6f04165dda8..894486985c9 100644
--- a/src/intel/common/meson.build
+++ b/src/intel/common/meson.build
@@ -105,6 +105,7 @@ if with_tests and not with_platform_android
     output : _name,
     command : [prog_python, '@INPUT@'],
     capture : true,
+    depend_files: gen_pack_header_deps
   )
 
   genxml_path = join_paths(meson.source_root(),
diff --git a/src/intel/genxml/meson.build b/src/intel/genxml/meson.build
index 7e131c319a7..fef902796b4 100644
--- a/src/intel/genxml/meson.build
+++ b/src/intel/genxml/meson.build
@@ -32,6 +32,8 @@ gen_xml_files = [
   'gen125.xml',
 ]
 
+gen_pack_header_deps = files('util.py')
+
 genX_xml_h = custom_target(
   'genX_xml.h',
   input : ['gen_zipped_file.py', gen_xml_files],
@@ -79,6 +81,7 @@ genX_bits_h = custom_target(
   output : 'genX_bits.h',
   command : [prog_python, '@INPUT@', '-o', '@OUTPUT@',
              '--include-symbols', ','.join(genX_bits_included_symbols)],
+  depend_files: gen_pack_header_deps
 )
 
 gen_xml_pack = []
@@ -90,6 +93,7 @@ foreach f : gen_xml_files + ['gen_rt.xml']
     output : _name,
     command : [prog_python, '@INPUT@', '--engines=render,blitter,video'],
     capture : true,
+    depend_files: gen_pack_header_deps
   )
 endforeach
 



More information about the mesa-commit mailing list