Configure parallelism automatically when sccache-dist is in use
Categories
(Firefox Build System :: General, enhancement)
Tracking
(Not tracked)
People
(Reporter: chmanchester, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
I added the --dist-status command to sccache recently, which will output the number of cores if distributed is configured and the client is in contact with a scheduler. The build system should consume this and configure parallelism automatically.
Reporter | ||
Comment 1•5 years ago
|
||
Reporter | ||
Updated•5 years ago
|
Comment 2•5 years ago
|
||
There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:chmanchester, could you have a look please?
For more information, please visit auto_nag documentation.
Reporter | ||
Comment 4•5 years ago
|
||
https://github.com/mozilla/sccache/issues/536 may be an issue with this patch, as it might force people into that failure mode (although passing -j
is enough to override).
Bug 1615152 is the other issue here -- this may end up starting the local daemon, so can impact whether we share a jobserver between make and sccache. We should probably be more intentional about what happens there.
Un-assigning for now.
Updated•2 years ago
|
Description
•