Bug 1624980 - Install `fix-stacks` with `mach bootstrap` on artifact builds. r=glandium
authorNicholas Nethercote <nnethercote@mozilla.com>
Thu, 26 Mar 2020 00:49:38 +0000
changeset 520458 bb1f05bf36911096dea6ea2ee494105d31d8683d
parent 520457 3feaf53352b86d01b4d5b2dfb667d17e4fc4d8e8
child 520459 94ab655aae4f81f2ab36e67fc610ced1a5d08ca8
push id37251
push usermalexandru@mozilla.com
push dateThu, 26 Mar 2020 09:33:08 +0000
treeherdermozilla-central@3e5a7430c8d7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium
bugs1624980
milestone76.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 1624980 - Install `fix-stacks` with `mach bootstrap` on artifact builds. r=glandium Because it's needed for DMD, which can be run on artifact builds. Differential Revision: https://phabricator.services.mozilla.com/D68280
python/mozboot/mozboot/bootstrap.py
--- a/python/mozboot/mozboot/bootstrap.py
+++ b/python/mozboot/mozboot/bootstrap.py
@@ -373,25 +373,25 @@ class Bootstrapper(object):
             sys.exit(1)
 
         if not have_clone:
             print(STYLE_NODEJS_REQUIRES_CLONE)
             sys.exit(1)
 
         self.instance.state_dir = state_dir
         self.instance.ensure_node_packages(state_dir, checkout_root)
+        self.instance.ensure_fix_stacks_packages(state_dir, checkout_root)
         if not self.instance.artifact_mode:
             self.instance.ensure_stylo_packages(state_dir, checkout_root)
             self.instance.ensure_clang_static_analysis_package(state_dir, checkout_root)
             self.instance.ensure_nasm_packages(state_dir, checkout_root)
             self.instance.ensure_sccache_packages(state_dir, checkout_root)
             self.instance.ensure_lucetc_packages(state_dir, checkout_root)
             self.instance.ensure_wasi_sysroot_packages(state_dir, checkout_root)
             self.instance.ensure_dump_syms_packages(state_dir, checkout_root)
-            self.instance.ensure_fix_stacks_packages(state_dir, checkout_root)
 
     def check_telemetry_opt_in(self, state_dir):
         # We can't prompt the user.
         if self.instance.no_interactive:
             return
         # Don't prompt if the user already has a setting for this value.
         if self.mach_context is not None and 'telemetry' in self.mach_context.settings.build:
             return