Open Bug 966265 Opened 10 years ago Updated 2 years ago

Make mach show a numerical estimate (percentage? count?) of how much of build has completed

Categories

(Firefox Build System :: General, defect)

x86
macOS
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: sideshowbarker, Unassigned)

Details

Make mach show a numerical estimate (a percent value, or a count like [2495/7073]) of how much of the total build has completed -- so I can tell at a glance, e.g.,  I'm only 10% into the build (so I have a long time to go), or I'm 95% into the build (so I know it will be completing relatively soon).
We had code for displaying progress in terms of directories iterated. We had to disable it because output was getting interleaved.

We could make the code more robust or enable it with gnu make 4.0's new option for obtaining a lock before writing to stdout.
That code to display directories is useless, especially with parallelism. Even the display of subtiers is useless with pseudo derecurse as it is inaccurate (because of how make treats dependencies). The only thing that would know how far in the build it is is make, and it can't display it.
Product: Core → Firefox Build System
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.