* Add experimental concurrent cache support * chore: replace is-terminal with standard library (#2311) * prepare release 0.9.1 * Add support for caching target json specs for Rust compilation. (#2269) * Don't use CARGO_REGISTRIES_* configuration in hash keys (#2308) * fix: bring "cargo build -Zprofile" support back (#2306) * deps: Update cc * add test for #2299 * fix test_rlib_dep_reader_call failure when $CARGO_HOME isn't in the user's $HOME * Never cache the outer CUDA compilation (because `nvcc -E` can't be trusted). Always decompose via `nvcc --dryrun`, then cache and report the host compiler call as a CUDA compilation * Always use sccache's own jobserver * Adjust placement of crate dependencies and a comment Crates memmap2, object and shlex are not dist-only requirements. * Skip tests when needed features (gcs & s3) are disabled OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/sccache?expand=0&rev=72
23 lines
902 B
Plaintext
23 lines
902 B
Plaintext
# This file should be copied to ~/.config/sccache/config for your client.
|
|
# You can debug client issues by starting the server with:
|
|
# SCCACHE_NO_DAEMON=1 RUST_LOG=info /home/william/.cargo/bin/sccache --dist-status
|
|
|
|
[dist]
|
|
# The URL used to connect to the scheduler (should use https, given an ideal
|
|
# setup of a HTTPS server in front of the scheduler)
|
|
scheduler_url = "http://x.x.x.x:10600"
|
|
# scheduler_url = "http://[::abcd]:10600"
|
|
# Used for mapping local toolchains to remote cross-compile toolchains. Empty in
|
|
# this example where the client and build server are both Linux.
|
|
toolchains = []
|
|
# Size of the local toolchain cache, in bytes (5GB here, 10GB if unspecified).
|
|
# toolchain_cache_size = 5368709120
|
|
|
|
# The location of the toolchain cache.
|
|
cache_dir = "/tmp/toolchains"
|
|
|
|
[dist.auth]
|
|
# This should match the `client_auth` section of the scheduler config.
|
|
type = "token"
|
|
token = "token here"
|