summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-10-03 18:49:25 +0200
committerMichael Stahl <mstahl@redhat.com>2013-10-04 21:34:33 +0200
commitbbadfca2cad32f1da9cca225df0b12cdde84d593 (patch)
tree0725aeafddaf955df71cc5a8dfce808e6b506e56 /Makefile.in
parent457e0aef522583675247029e77cb212fb65d6cd1 (diff)
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
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in8
1 files changed, 6 insertions, 2 deletions
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