Closed Bug 1551314 Opened 5 years ago Closed 5 years ago

Turn off incremental for rust when distributing compilation with sccache-dist

Categories

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

task

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1576030

People

(Reporter: chmanchester, Unassigned)

References

(Blocks 1 open bug)

Details

There are some open questions about the interaction between sccache and incremental (https://github.com/mozilla/sccache/issues/236), but in the case we're distributing compilation we may end up better off distributing the full compile rather than disabling distribution and doing a local incremental compilation.

We'll want to test this out once we get a decently sized cluster stood up in one of the offices.

Type: defect → task
Priority: -- → P3

Do we want to detect when RUSTC_WRAPPER generally is using sccache, and disable incremental compilation in that case, too? Or will that just naturally fall out of this work?

(In reply to Nathan Froyd [:froydnj] from comment #1)

Do we want to detect when RUSTC_WRAPPER generally is using sccache, and disable incremental compilation in that case, too? Or will that just naturally fall out of this work?

Not sure. According to https://github.com/mozilla/sccache/issues/399#issuecomment-479919479 path-based crates wont be cached in this case, but crates from crates.io will, which seems like a possibly valid configuration. More measurement is necessary.

This was done in bug 1576030 (for any use of sccache, covering out purposes here).

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.