aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-12-08 20:08:19 -0500
committerJack Lloyd <[email protected]>2016-12-08 20:08:19 -0500
commitcc643c82d1c1063f11164ed6ec5027f89151ea3b (patch)
treedbb7c41654b86cae718d161f3d9fdf427d135954
parent59a71779ad7c644fcaefd3582ea244f1ff60349a (diff)
Log the git revision in the configure.py output
Free, and sometimes useful for debugging from build logs [ci skip]
-rwxr-xr-xconfigure.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.py b/configure.py
index 5a63d887a..263ae4dfa 100755
--- a/configure.py
+++ b/configure.py
@@ -2216,6 +2216,7 @@ def main(argv = None):
using_mods = [modules[m] for m in loaded_mods]
build_config = BuildConfigurationInformation(options, using_mods)
+
build_config.public_headers.append(os.path.join(build_config.build_dir, 'build.h'))
template_vars = create_template_vars(build_config, options, using_mods, cc, arch, osinfo)
@@ -2326,8 +2327,9 @@ def main(argv = None):
return 'undated'
return 'dated %d' % (datestamp)
- logging.info('Botan %s (%s %s) build setup is complete' % (
+ logging.info('Botan %s (VC %s) (%s %s) build setup is complete' % (
build_config.version_string,
+ build_config.version_vc_rev,
build_config.version_release_type,
release_date(build_config.version_datestamp)))