summaryrefslogtreecommitdiff
path: root/wscript_build_embedded_heimdal
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2021-08-25 16:33:03 +0200
committerAndreas Schneider <asn@cryptomilk.org>2021-08-26 13:06:09 +0000
commit5d53b848f60efbb71e4cd2f51f33a06369ca9055 (patch)
treed426aa276ab359d32559a7655879a43cd51f27cb /wscript_build_embedded_heimdal
parent9b9fd2a0d9ca81aa16ddfe2f7e219b94e2ac158b (diff)
downloadsamba-5d53b848f60efbb71e4cd2f51f33a06369ca9055.tar.gz
wafsamba: always generate compile_commands.json again, but only when the samba dependencies changed
This means the costs of the generation on a empty build are not paid anymore, which was the reason for the explicit --enable-clangdb option. Pair-Programmed-With: Andreas Schneider <asn@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Thu Aug 26 13:06:09 UTC 2021 on sn-devel-184
Diffstat (limited to 'wscript_build_embedded_heimdal')
-rw-r--r--wscript_build_embedded_heimdal3
1 files changed, 2 insertions, 1 deletions
diff --git a/wscript_build_embedded_heimdal b/wscript_build_embedded_heimdal
index 84829fe8b62..7b0a8af4489 100644
--- a/wscript_build_embedded_heimdal
+++ b/wscript_build_embedded_heimdal
@@ -1,4 +1,5 @@
from waflib import Logs
-Logs.info("\tSelected embedded Heimdal build")
+if bld.__class__.__name__ != "ClangDbContext":
+ Logs.info("\tSelected embedded Heimdal build")
bld.RECURSE('source4/heimdal_build')