Bug 1387098 - enable tup quiet mode; r?Build draft
authorMike Shal <mshal@mozilla.com>
Fri, 23 Feb 2018 14:27:58 -0500
changeset 771582 d1787253c2675c12ca14c5534834b89dafb064a4
parent 770611 7b55d395bb63165c20a9230f82b3b14da09bcd2d
child 771583 e00ba33f46d669fa0e33f976807af73d10d7ce84
push id103722
push userbmo:mshal@mozilla.com
push dateFri, 23 Mar 2018 13:46:21 +0000
reviewersBuild
bugs1387098
milestone61.0a1
Bug 1387098 - enable tup quiet mode; r?Build Tup can have a lot of unnecessary log lines, particularly on a fresh build when it is scanning directories for the first time. Turning on --quiet when MOZ_AUTOMATION is set will help trim down the log size significantly. MozReview-Commit-ID: AaRppurkXsA
Makefile.in
--- a/Makefile.in
+++ b/Makefile.in
@@ -156,17 +156,17 @@ ifdef MOZ_ARTIFACT_BUILDS
 	$(call BUILDSTATUS,TIER_START artifact)
 	$(MAKE) recurse_artifact
 	$(call BUILDSTATUS,TIER_FINISH artifact)
 endif
 	$(call BUILDSTATUS,TIER_START make)
 	$(MAKE) buildid.h source-repo.h
 	$(call BUILDSTATUS,TIER_FINISH make)
 	$(call BUILDSTATUS,TIER_START tup)
-	@$(TUP) $(if $(findstring s,$(filter-out --%,$(MAKEFLAGS))),,--verbose)
+	@$(TUP) $(if $(MOZ_AUTOMATION),--quiet) $(if $(findstring s,$(filter-out --%,$(MAKEFLAGS))),,--verbose)
 	$(call BUILDSTATUS,TIER_FINISH tup)
 
 .PHONY: $(addprefix install-,$(install_manifests))
 $(addprefix install-,$(install_manifests)): install-%: $(install_manifest_depends)
 ifneq (,$(filter FasterMake+RecursiveMake,$(BUILD_BACKENDS)))
 	@# If we're using the hybrid FasterMake/RecursiveMake backend, we want
 	@# to ensure the FasterMake end doesn't have install manifests for the
 	@# same directory, because that would blow up