Open Bug 1615152 Opened 5 years ago Updated 2 years ago

The build system should manage the sccache daemon

Categories

(Firefox Build System :: General, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: chmanchester, Unassigned)

References

(Blocks 1 open bug)

Details

Whether the sccache daemon gets spawned by make or by the user (perhaps to get logs for debugging purposes) determines whether it sees the default jobserver or shares one with make (which might be -j100). I'm not sure offhand whether -j100 is going to be faster or slower for the local daemon's purposes, but we shouldn't leave it to chance.

Whatever we do here should be cognizant of the case someone is running the local daemon manually in order to capture logs, as well.

In a couple of local tests, although there was a lot of variance, giving the sccache daemon the default jobserver rather than the jobserver from make resulted in a 5-10% faster full build.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.