[Mesa-dev] [PATCH 1/2] meson: replace build_always (deprecated)

Khaled Emara ekhaled1836 at gmail.com
Fri Apr 5 18:28:27 UTC 2019


build_always is deprecate in meson.
The recommended equivalent is build_by_default and build_always_stale.
---
 src/meson.build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/meson.build b/src/meson.build
index 6d04b5fc3b2..61fcb86deeb 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')
-- 
2.21.0



More information about the mesa-dev mailing list