diff options
author | Eric Engestrom <[email protected]> | 2017-10-24 18:03:39 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2017-10-27 13:38:37 +0100 |
commit | 05a94a4dfc79f95d597dd6fc08eea4a947eb300c (patch) | |
tree | 87edb77470fea174b4c20b84e72cda29dea9438b /meson.build | |
parent | 7088622e5fb506b64c906b673a9af0feb9a5ba14 (diff) |
meson: bring MESA_GIT_SHA1 in line with other build systems
Meson's vcs_tag() uses the output of `git describe`, eg.
17.3-branchpoint-5-gfbf29c3cd15ae831e249+
Whereas the other build systems used a script that outputs only the sha1
of the HEAD commit, eg.
fbf29c3cd1
Given that this information is used by printing it next to the version
number, there's some redundancy here, and inconsistency between build
systems.
Bring Meson in line by making it use the same script, with the added
advantage of now supporting the MESA_GIT_SHA1_OVERRIDE env var.
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Reviewed-by: Dylan Baker <[email protected]>
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 49a0ef6d405..875f9d4d294 100644 --- a/meson.build +++ b/meson.build @@ -843,4 +843,5 @@ endif pkg = import('pkgconfig') subdir('include') +subdir('bin') subdir('src') |