sccache/sccache-dist-scheduler.service

30 lines
694 B
SYSTEMD
Raw Normal View History

- 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
[Unit]
Description=sccache-dist server
After=chronyd.service ntpd.service network-online.target
[Service]
# added automatically, for details please see
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
ProtectSystem=full
ProtectHome=read-only
PrivateDevices=true
ProtectHostname=true
ProtectClock=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectControlGroups=true
RestrictRealtime=true
# end of automatic additions
DynamicUser=yes
Type=simple
Environment="RUST_LOG=sccache=info"
Environment="SCCACHE_NO_DAEMON=1"
ExecStart=sccache-dist scheduler --config /etc/sccache/scheduler.conf
[Install]
WantedBy=multi-user.target