sccache/client.example
William Brown 07ef8af23d - Update to version 0.9.0~1:
* Add experimental concurrent cache support
  * prepare release 0.9.0 (#2293)
  * build(deps): bump codecov/codecov-action from 4 to 5 (#2289)
  * feat: set user agent in webdav requests (#2284)
  * test CTK 11.1 in CI
  * add test to ensure -v|--verbose are never dist-compiled
  * don't generate a dist-compile command for clang-cuda
  * don't use leading digit in renamed file names
  * include the output file name in nvcc trace logs
  * revert adding --gen_module_id_file when --module_id_file_name is present
  * read NVCC_{PREPEND,APPEND}_FLAGS from the compile environment, not the server environment
  * add --default-stream arg, fix parsing concatenated form of nvcc -t1
  * always add --gen_module_id_file if --module_id_file_name is specified
  * Normalize nvcc subcommand order for CTK <12.0, ensuring the DAG is parsed by inputs/outputs even if the preprocessor, cicc, and ptxas commands are out of order.
  * hash --gen_module_id_file and --module_id_file_name arguments
  * add more clang flags
  * compiler invocations with -v or --verbose must not be dist-compiled, since tools like CMake parse the output and expect to see client paths not dist-server paths
  * report total compilation count and compile times for uncached and failed compilations
  * ensure dist_type is reported for failed and uncached compilations
  * check for more host-compiler nvcc defines to accommodate older nvcc versions
  * Pass correct argument to rustc -Z ls
  * Make start_compile_task spawn a tokio task again
  * ensure SCCACHE_NO_CACHE calls aren't tracked as an uncacheable compilations in the stats
  * Attempt to fix intermittent config_from_env() test failures by ensuring envvars are reset before unwrapping/asserting
  * Test nvcc and clang-cuda in workflows/ci.yml
  * Ensure compatibility with MSVC compatibility on Windows
  * fix exit_status propagation, handle long nvcc language option (--x)
  * Detect both nvcc and host compiler version so we can safely revert to caching outer nvcc invocations
  * Update `Nvcc` compiler to support distributed compilation

OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/sccache?expand=0&rev=70
2024-12-12 01:15:56 +00:00

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"