Open Bug 1573691 Opened 5 years ago Updated 2 years ago

Configure parallelism automatically when sccache-dist is in use

Categories

(Firefox Build System :: General, enhancement)

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.

Assignee: nobody → cmanchester

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.

Flags: needinfo?(cmanchester)

I will land this soon.

Flags: needinfo?(cmanchester)

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.

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

Attachment

General

Created:
Updated:
Size: