solenv/gbuild/platform/com_MSC_defs.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit c2f9689cd489f44122b50d7c0d7841c47381df99 Author: Christian Lohmaier <lohmaier+libreoff...@googlemail.com> AuthorDate: Mon Jun 3 11:55:14 2024 +0200 Commit: Christian Lohmaier <lohmaier+libreoff...@googlemail.com> CommitDate: Mon Jun 3 13:08:43 2024 +0200 disable MSVC -analyse when run in CI - build time penalty is too much times went from 55min to 88min when doing a single build Change-Id: I9304eae9f2326c206bd571e7b8a3ef861206282f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168362 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+libreoff...@googlemail.com> Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/solenv/gbuild/platform/com_MSC_defs.mk b/solenv/gbuild/platform/com_MSC_defs.mk index 506cfbe7d30a..67aa47320c6c 100644 --- a/solenv/gbuild/platform/com_MSC_defs.mk +++ b/solenv/gbuild/platform/com_MSC_defs.mk @@ -104,7 +104,8 @@ gb_AFLAGS := $(AFLAGS) # C4706: assignment within conditional expression -MSVC_ANALYZE_FLAGS := -analyze:ruleset$(SRCDIR)/solenv/vs/LibreOffice.ruleset +# build-time penalty is to high for ci use/disable when JENKINS_HOME is set +MSVC_ANALYZE_FLAGS := $(if $(JENKINS_HOME),,-analyze:ruleset$(SRCDIR)/solenv/vs/LibreOffice.ruleset) gb_FilterOutClangCFLAGS += $(MSVC_ANALYZE_FLAGS)