Bug 1285254 - Use 'recurse' output-sync to avoid Windows buffering issues; r?glandium draft
authorMike Shal <mshal@mozilla.com>
Mon, 17 Apr 2017 11:49:27 -0400
changeset 563750 4f9fffa9fedd63b3fac2363679933bd19b18fb44
parent 563410 c697e756f738ce37abc56f31bfbc48f55625d617
child 624565 182fca63bdcdb834a7202c88a81258386db98905
push id54406
push userbmo:mshal@mozilla.com
push dateMon, 17 Apr 2017 18:18:05 +0000
reviewersglandium
bugs1285254
milestone55.0a1
Bug 1285254 - Use 'recurse' output-sync to avoid Windows buffering issues; r?glandium Much of the automation/build work is actually done by recursive make invocations, so we need to sync the output across all make invocations. Otherwise the BUILDSTATUS messages may appear randomly in the middle of a line from another sub-make, which means the BuildMonitor won't see them. MozReview-Commit-ID: SPbNBPmUTv
build/moz-automation.mk
--- a/build/moz-automation.mk
+++ b/build/moz-automation.mk
@@ -1,16 +1,16 @@
 #
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 ifneq (,$(filter automation/%,$(MAKECMDGOALS)))
 ifeq (4.0,$(firstword $(sort 4.0 $(MAKE_VERSION))))
-MAKEFLAGS += --output-sync=target
+MAKEFLAGS += --output-sync=recurse
 else
 .NOTPARALLEL:
 endif
 endif
 
 ifndef JS_STANDALONE
 include $(topsrcdir)/toolkit/mozapps/installer/package-name.mk
 include $(topsrcdir)/toolkit/mozapps/installer/upload-files.mk