Closed Bug 1748966 Opened 3 years ago Closed 3 years ago

Speed up bootstrap

Categories

(Firefox Build System :: General, task)

task

Tracking

(firefox97 fixed)

RESOLVED FIXED
97 Branch
Tracking Status
firefox97 --- fixed

People

(Reporter: glandium, Assigned: glandium)

Details

Attachments

(1 file)

No description provided.

Currently, the bootstrap code from configure gets bootstrapped task info
from the taskgraph, and then invokes mach artifact toolchain which...
does the same again. That cumulatively wastes a noticeable amount of
time, especially on Windows.

So to avoid repeating this work that the configure side already did,
we do a little more on the configure side (resolution from index to
task-id), and just give a (task-id, artifact path) pair to mach artifact toolchain. The added code to mach artifact toolchain is
actually ironically very similar to the code that was removed in bug
1687594.

And now that mach bootstrap uses the configure code, it benefits from
this change as well.

Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/8c22016083e6 Speed up bootstrap. r=firefox-build-system-reviewers,andi
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 97 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: