Bug 1371871 - Run the artifact tier during a tup artifact build. draft
authorChris Manchester <cmanchester@mozilla.com>
Wed, 21 Jun 2017 16:20:18 -0700
changeset 598646 3af24b6905885eda186f3c0b155bc560a5fdb2e9
parent 598645 a5d66ebbe3692096b04535886aafaadb4619eb50
child 634531 54c16cde67c29b5a4db88548a7398282ef1e658f
push id65269
push userbmo:cmanchester@mozilla.com
push dateWed, 21 Jun 2017 23:20:46 +0000
bugs1371871
milestone56.0a1
Bug 1371871 - Run the artifact tier during a tup artifact build. MozReview-Commit-ID: BIKtzjfu2SF
Makefile.in
--- a/Makefile.in
+++ b/Makefile.in
@@ -142,17 +142,22 @@ ifneq (,$(filter FasterMake+RecursiveMak
 install-manifests: faster
 .PHONY: faster
 faster: install-dist/idl
 	$(MAKE) -C faster FASTER_RECURSIVE_MAKE=1
 endif
 
 .PHONY: tup
 tup:
-	$(call BUILDSTATUS,TIERS make tup)
+	$(call BUILDSTATUS,TIERS $(if $(MOZ_ARTIFACT_BUILDS),artifact )make tup)
+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)
 	$(call BUILDSTATUS,TIER_FINISH tup)
 
 # process_install_manifest needs to be invoked with --no-remove when building