mozilla / sccache

Sccache is a ccache-like tool. It is used as a compiler wrapper and avoids compilation when possible. Sccache has the capability to utilize caching in remote storage environments, including various cloud storage options, or alternatively, in local storage.
Apache License 2.0
5.75k stars 542 forks source link

Install on Debian in CI #1736

Open Kinrany opened 1 year ago

Kinrany commented 1 year ago

What's the recommended way to install sccache in CI on Debian-based distros, such as Docker's rust:slim?

The README suggests cargo install sccache. I imagine almost everyone is doing something else.

Xuanwo commented 1 year ago

What's the recommended way to install sccache in CI on Debian-based distros, such as Docker's rust:slim?

You can

Kinrany commented 1 year ago

Thanks!

The Debian package appears available for ARM only. Am I reading it wrong?

Downloading the binary from releases works of course.

Xuanwo commented 1 year ago

The Debian package appears available for ARM only. Am I reading it wrong?

No, I don't think so: https://packages.debian.org/sid/sccache