Closed Bug 1136543 Opened 11 years ago Closed 11 years ago

Default to incremental build with mach

Categories

(Firefox Build System :: General, enhancement)

x86_64
Linux
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: kennycoc, Unassigned)

References

Details

Currently, when running mach build it rebuilds all of the source code. This can be an issue, because it takes at least an hour to finish. If there are only a couple changes, you can manually only build part of the application, but this is of little help when you first pull the source code from the repo for the day, taking over an hour to reach full productivity. I believe an excelent feature would be for mach to incrementally build by default, when it can. It could compare the last edited times for files with the start time of the last build, and determine which ones need to be built.
`mach build` does do an incremental build. It's just that so many dependencies get invalidated between any 2 commits that it feels like a full build is performed. You can verify this by running `mach build` twice in a row. The second time should take no more than a minute on a modern machine.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
Component: mach → Build Config
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.