Bug 1094033 part 2 - Add a "misc" parallel tier where to move parts of the libs tier that can be moved. r=gps
authorMike Hommey <mh+mozilla@glandium.org>
Thu, 06 Nov 2014 09:29:11 +0900
changeset 240705 59ebd02c7c2c7d6f76dac7c5e94fb67c6be01190
parent 240704 162cb466bb2923f0786da369ec3354e1ca216303
child 240706 db93b3cbdc177bca917840fda540069d913f8523
push id660
push userraliiev@mozilla.com
push dateWed, 18 Feb 2015 20:30:48 +0000
treeherdermozilla-release@49e493494178 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgps
bugs1094033
milestone36.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 1094033 part 2 - Add a "misc" parallel tier where to move parts of the libs tier that can be moved. r=gps
config/baseconfig.mk
python/mozbuild/mozbuild/backend/recursivemake.py
--- a/config/baseconfig.mk
+++ b/config/baseconfig.mk
@@ -124,10 +124,10 @@ else
   TESTING_JS_MODULES \
   TESTING_JS_MODULE_DIR \
   $(NULL)
 
 # Freeze the values specified by moz.build to catch them if they fail.
 
 $(foreach var,$(_MOZBUILD_EXTERNAL_VARIABLES) $(_DEPRECATED_VARIABLES),$(eval $(var)_FROZEN := '$($(var))'))
 
-TIERS := export $(if $(COMPILE_ENVIRONMENT),compile )libs tools
+TIERS := export $(if $(COMPILE_ENVIRONMENT),compile )misc libs tools
 endif
--- a/python/mozbuild/mozbuild/backend/recursivemake.py
+++ b/python/mozbuild/mozbuild/backend/recursivemake.py
@@ -314,16 +314,17 @@ class RecursiveMakeBackend(CommonBackend
         self._traversal = RecursiveMakeTraversal()
         self._compile_graph = defaultdict(set)
 
         self._may_skip = {
             'export': set(),
             'libs': set(),
         }
         self._no_skip = {
+            'misc': set(),
             'tools': set(),
         }
 
     def consume_object(self, obj):
         """Write out build files necessary to build with recursive make."""
 
         if not isinstance(obj, ContextDerived):
             return
@@ -525,16 +526,17 @@ class RecursiveMakeBackend(CommonBackend
         def tools_filter(current, subdirs):
             if should_skip('tools', current) or current.startswith('subtiers/'):
                 current = None
             return current, [], subdirs.dirs + subdirs.tests
 
         filters = [
             ('export', parallel_filter),
             ('libs', libs_filter),
+            ('misc', parallel_filter),
             ('tools', tools_filter),
         ]
 
         root_deps_mk = Makefile()
 
         # Fill the dependencies for traversal of each tier.
         for tier, filter in filters:
             main, all_deps = \