[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#898400: RFP: sccache -- Shared Compilation Cache for Rust



Package: wnpp
Severity: wishlist

* Package name    : sccache
  Version         : 0.2.6
  Upstream Author : Mozilla GitHub <github-owners@mozilla.org>
* URL             : https://github.com/mozilla/sccache
* License         : Apache 2.0
  Programming Lang: Rust, Markdown, Shell
  Description     : Shared Compilation Cache for Rust

sccache is a ccache-like tool. It is used as a compiler wrapper and
avoids compilation when possible, storing a cache in a remote storage
using the Amazon Simple Cloud Storage Service (S3) API, the Google Cloud
Storage (GCS) API, or Redis if wanted.

sccache can also be used with local storage instead of remote.

It works as a client-server. The client spawns a server if one is not
running already, and sends the wrapped command line as a request to the
server, which then does the work and returns stdout/stderr for the job.
The client-server model allows the server to be more efficient in its
handling of the remote storage.

We all know of ccache [1], a wrapper for compiler calls to gcc or g++.
sccache does the same for Rust code and can keep compile time of the
source at a minimum. Firefox and Thunderbird, which is still based
mostly on the code of Firefox, are using Rust as programming language
more and more and building them take now a lot of time.

Firstly the availability of sccache will help to get Firefox and
Thunderbird packages more qickly while doing testing builds, but all
other Rust based projects with their source code will benefit from
sccache.

[1] https://ccache.samba.org/

Regards
Carsten


Reply to: