Bug 1306405 - add BUILDSTATUS messages to the tup backend; r=chmanchester

MozReview-Commit-ID: HoDUuKkmv2l

--HG--
extra : rebase_source : 3d4acbcf639976d769a51eacd0d04beb87a40bf3
This commit is contained in:
Mike Shal 2016-09-26 14:16:09 -04:00
parent a47380995d
commit 07b492f103
2 changed files with 8 additions and 3 deletions

View File

@ -172,8 +172,14 @@ faster: install-dist/idl
endif
.PHONY: tup
tup: install-manifests buildid.h source-repo.h
tup:
$(call BUILDSTATUS,TIERS make tup)
$(call BUILDSTATUS,TIER_START make)
$(MAKE) install-manifests buildid.h source-repo.h
$(call BUILDSTATUS,TIER_FINISH make)
$(call BUILDSTATUS,TIER_START tup)
@$(TUP) $(if $(findstring s,$(filter-out --%,$(MAKEFLAGS))),,--verbose)
$(call BUILDSTATUS,TIER_FINISH tup)
# process_install_manifest needs to be invoked with --no-remove when building
# js as standalone because automated builds are building nspr separately and

View File

@ -340,6 +340,5 @@ class TupBackend(HybridBackend(TupOnly, RecursiveMakeBackend)):
def build(self, config, output, jobs, verbose):
status = config._run_make(directory=self.environment.topobjdir, target='tup',
line_handler=output.on_line, log=False, print_directory=False,
ensure_exit_code=False, num_jobs=jobs, silent=not verbose,
append_env={b'NO_BUILDSTATUS_MESSAGES': b'1'})
ensure_exit_code=False, num_jobs=jobs, silent=not verbose)
return status