From bbadfca2cad32f1da9cca225df0b12cdde84d593 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Thu, 3 Oct 2013 18:49:25 +0200 Subject: refactor make check to run subsequentcheck parallel to instset ... which saves 4 minutes on a "make check" here, when configured --with-package-format="archive" Change-Id: I415e0e95ae7f4e289fa4797643f5d744015d80ad --- Makefile.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index 5e46409dcf17..a9764bf378d9 100644 --- a/Makefile.in +++ b/Makefile.in @@ -229,8 +229,11 @@ bootstrap: compilerplugins # # Build # +# Note: if invoked as "make check" this will also run subsequentcheck! +# build: bootstrap fetch $(if $(filter $(INPATH),$(INPATH_FOR_BUILD)),,cross-toolset) - $(GNUMAKE) -j $(PARALLELISM) $(GMAKE_OPTIONS) -f $(SRCDIR)/Makefile.gbuild + $(GNUMAKE) -j $(PARALLELISM) $(GMAKE_OPTIONS) -f $(SRCDIR)/Makefile.gbuild \ + all $(if $(filter check,$(MAKECMDGOALS)),subsequentcheck) ifneq ($(filter-out WNT MACOSX IOS ANDROID,$(OS)),) install-gdb-printers -a $(INSTDIR) endif @@ -373,7 +376,8 @@ findunusedcode: | grep -v ^WSObject \ > unusedcode.easy -check: build subsequentcheck +# the actual running of subsequentcheck is now done in "build" target => faster +check: build dump-deps: @$(SRCDIR)/bin/module-deps.pl $(GNUMAKE) $(SRCDIR)/Makefile.gbuild -- cgit