Open Bug 1000713 Opened 6 years ago Updated 1 year ago

Make sccache usable on the desktop

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

People

(Reporter: glandium, Unassigned)

References

(Depends on 1 open bug)

Details

Most notably for Windows.
Depends on: sccache-win
Depends on: 1000718
Depends on: 1000723
Depends on: 1000726
Depends on: 1000728
Depends on: 1000731
Depends on: 1002596
Depends on: 1004528
I'm going to use this to track my Q2 deliverable. The main goals will be:
* Make it easy to enable sccache for developer builds
* Make sccache able to use our CI cache in S3 in read-only mode, with local storage as a fallback
* Fix things to make it so we get cache hits from local builds, most notably using relative paths (ala CCACHE_BASEDIR: https://ccache.samba.org/manual.html#_compiling_in_different_directories )
Assignee: nobody → ted
I neglected to mention, but my work this quarter will focus on Windows, since the variety of supported toolchains is much smaller there (currently only VC2013 + VC2015).
Do we currently use sscache in automation?
(In reply to Armen Zambrano [:armenzg] - Engineering productivity from comment #3)
> Do we currently use sscache in automation?

Yes. It isn't deployed everywhere, however.
We're currently using glandium's Python implementation: https://github.com/glandium/sccache

I'm rewriting it in Rust: https://github.com/luser/sccache2 .

Once the Rust version reaches feature-parity with the Python version I'd like to roll it out into production to replace the Python version, then begin making the changes necessary to make it more useful for local development.
Thanks ted!

(In reply to Gregory Szorc [:gps] from comment #4)
> (In reply to Armen Zambrano [:armenzg] - Engineering productivity from
> comment #3)
> > Do we currently use sscache in automation?
> 
> Yes. It isn't deployed everywhere, however.

How do we currently deploy it? What *enables* it? Can I know from the logs where it is enabled?
Is there a doc somewhere describing this so I won't have to ask too many questions?
Blocks: thunder-try
Whiteboard: [build-run-speed-up] Make sccache able to use our CI cache in S3 in read-only mode, with local storage as a fallback[
My apologies for the noise. Already being tracked in bug 1280641.
No longer blocks: thunder-try
Whiteboard: [build-run-speed-up] Make sccache able to use our CI cache in S3 in read-only mode, with local storage as a fallback[
See Also: → 1265544
Product: Core → Firefox Build System
Assignee: ted → nobody
You need to log in before you can comment on or make changes to this bug.