Mesa (master): meson: Use build_always_stale instead of build_always

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jun 1 19:48:43 UTC 2020


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

Author: Dylan Baker <dylan.c.baker at intel.com>
Date:   Fri Apr 24 12:29:42 2020 -0700

meson: Use build_always_stale instead of build_always

which was deprecated in 0.47. This doesn't change behavior, just shuts
up a warning.

Acked-by: Matt Turner <mattst88 at gmail.com>
Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4740>

---

 src/meson.build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/meson.build b/src/meson.build
index bdc6a54cc3f..8d8bac6a238 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -43,7 +43,8 @@ sha1_h = custom_target(
   'git_sha1.h',
   output : 'git_sha1.h',
   command : [prog_python, git_sha1_gen_py, '--output', '@OUTPUT@'],
-  build_always : true, # commit sha1 can change without having touched these files
+  build_by_default : true,
+  build_always_stale : true, # commit sha1 can change without having touched these files
 )
 
 subdir('gtest')



More information about the mesa-commit mailing list