Bug 1387098 - enable tup quiet mode; r=froydnj
authorMike Shal <mshal@mozilla.com>
Fri, 23 Feb 2018 14:27:58 -0500
changeset 466275 23ef0a500b60cbf05ea285cc50d076901b240009
parent 466274 d6e56c85de7b647e4304b6d68b48a5efc89124ae
child 466276 90f73c813915dc893c317ee82e42ab8080924ec0
push id1728
push userjlund@mozilla.com
push dateMon, 18 Jun 2018 21:12:27 +0000
treeherdermozilla-release@c296fde26f5f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfroydnj
bugs1387098
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1387098 - enable tup quiet mode; r=froydnj 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
@@ -153,17 +153,17 @@ endif
 tup:
 	$(call BUILDSTATUS,TIERS $(if $(MOZ_ARTIFACT_BUILDS),artifact )tup)
 ifdef MOZ_ARTIFACT_BUILDS
 	$(call BUILDSTATUS,TIER_START artifact)
 	$(MAKE) recurse_artifact
 	$(call BUILDSTATUS,TIER_FINISH artifact)
 endif
 	$(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