Repository navigation
chore(deps): update dependency mozilla/sccache to v0.20.1 - #16310
renovate-bot wants to merge 1 commit into
Conversation
|
/gcbrun |
| RUN curl -fsSL https://github.com/mozilla/sccache/releases/download/v0.17.0/sccache-v0.17.0-x86_64-unknown-linux-musl.tar.gz | \ | ||
| tar -zxf - --strip-components=1 && \ | ||
| mkdir -p /usr/local/bin && \ | ||
| mv sccache /usr/local/bin/sccache && \ |
There was a problem hiding this comment.
According to the repository's general rules, we should use an ARG to define version strings that are duplicated across multiple Dockerfiles. This improves maintainability and allows overriding the version at build time.
ARG SCCACHE_VERSION=0.17.0
RUN curl -fsSL https://github.com/mozilla/sccache/releases/download/v${SCCACHE_VERSION}/sccache-v${SCCACHE_VERSION}-x86_64-unknown-linux-musl.tar.gz | \
tar -zxf - --strip-components=1 && \
mkdir -p /usr/local/bin && \
mv sccache /usr/local/bin/sccache && \
References
- In Dockerfiles, use
ARGto define version strings that are duplicated across multiple files to improve maintainability.
| RUN curl -fsSL https://github.com/mozilla/sccache/releases/download/v0.17.0/sccache-v0.17.0-x86_64-unknown-linux-musl.tar.gz | \ | ||
| tar -zxf - --strip-components=1 && \ | ||
| mkdir -p /usr/local/bin && \ | ||
| mv sccache /usr/local/bin/sccache && \ |
There was a problem hiding this comment.
According to the repository's general rules, we should use an ARG to define version strings that are duplicated across multiple Dockerfiles. This improves maintainability and allows overriding the version at build time.
ARG SCCACHE_VERSION=0.17.0
RUN curl -fsSL https://github.com/mozilla/sccache/releases/download/v${SCCACHE_VERSION}/sccache-v${SCCACHE_VERSION}-x86_64-unknown-linux-musl.tar.gz | \
tar -zxf - --strip-components=1 && \
mkdir -p /usr/local/bin && \
mv sccache /usr/local/bin/sccache && \
References
- In Dockerfiles, use
ARGto define version strings that are duplicated across multiple files to improve maintainability.
| RUN curl -fsSL https://github.com/mozilla/sccache/releases/download/v0.17.0/sccache-v0.17.0-x86_64-unknown-linux-musl.tar.gz | \ | ||
| tar -zxf - --strip-components=1 && \ | ||
| mkdir -p /usr/local/bin && \ | ||
| mv sccache /usr/local/bin/sccache && \ |
There was a problem hiding this comment.
According to the repository's general rules, we should use an ARG to define version strings that are duplicated across multiple Dockerfiles. This improves maintainability and allows overriding the version at build time.
ARG SCCACHE_VERSION=0.17.0
RUN curl -fsSL https://github.com/mozilla/sccache/releases/download/v${SCCACHE_VERSION}/sccache-v${SCCACHE_VERSION}-x86_64-unknown-linux-musl.tar.gz | \
tar -zxf - --strip-components=1 && \
mkdir -p /usr/local/bin && \
mv sccache /usr/local/bin/sccache && \
References
- In Dockerfiles, use
ARGto define version strings that are duplicated across multiple files to improve maintainability.
| RUN curl -fsSL https://github.com/mozilla/sccache/releases/download/v0.17.0/sccache-v0.17.0-x86_64-unknown-linux-musl.tar.gz | \ | ||
| tar -zxf - --strip-components=1 && \ | ||
| mkdir -p /usr/local/bin && \ | ||
| mv sccache /usr/local/bin/sccache && \ |
There was a problem hiding this comment.
According to the repository's general rules, we should use an ARG to define version strings that are duplicated across multiple Dockerfiles. This improves maintainability and allows overriding the version at build time.
ARG SCCACHE_VERSION=0.17.0
RUN curl -fsSL https://github.com/mozilla/sccache/releases/download/v${SCCACHE_VERSION}/sccache-v${SCCACHE_VERSION}-x86_64-unknown-linux-musl.tar.gz | \
tar -zxf - --strip-components=1 && \
mkdir -p /usr/local/bin && \
mv sccache /usr/local/bin/sccache && \
References
- In Dockerfiles, use
ARGto define version strings that are duplicated across multiple files to improve maintainability.
| RUN curl -fsSL https://github.com/mozilla/sccache/releases/download/v0.17.0/sccache-v0.17.0-x86_64-unknown-linux-musl.tar.gz | \ | ||
| tar -zxf - --strip-components=1 && \ | ||
| mkdir -p /usr/local/bin && \ | ||
| mv sccache /usr/local/bin/sccache && \ |
There was a problem hiding this comment.
According to the repository's general rules, we should use an ARG to define version strings that are duplicated across multiple Dockerfiles. This improves maintainability and allows overriding the version at build time.
ARG SCCACHE_VERSION=0.17.0
RUN curl -fsSL https://github.com/mozilla/sccache/releases/download/v${SCCACHE_VERSION}/sccache-v${SCCACHE_VERSION}-x86_64-unknown-linux-musl.tar.gz | \
tar -zxf - --strip-components=1 && \
mkdir -p /usr/local/bin && \
mv sccache /usr/local/bin/sccache && \
References
- In Dockerfiles, use
ARGto define version strings that are duplicated across multiple files to improve maintainability.
| RUN curl -fsSL https://github.com/mozilla/sccache/releases/download/v0.17.0/sccache-v0.17.0-x86_64-unknown-linux-musl.tar.gz | \ | ||
| tar -zxf - --strip-components=1 && \ | ||
| mkdir -p /usr/local/bin && \ | ||
| mv sccache /usr/local/bin/sccache && \ |
There was a problem hiding this comment.
According to the repository's general rules, we should use an ARG to define version strings that are duplicated across multiple Dockerfiles. This improves maintainability and allows overriding the version at build time.
ARG SCCACHE_VERSION=0.17.0
RUN curl -fsSL https://github.com/mozilla/sccache/releases/download/v${SCCACHE_VERSION}/sccache-v${SCCACHE_VERSION}-x86_64-unknown-linux-musl.tar.gz | \
tar -zxf - --strip-components=1 && \
mkdir -p /usr/local/bin && \
mv sccache /usr/local/bin/sccache && \
References
- In Dockerfiles, use
ARGto define version strings that are duplicated across multiple files to improve maintainability.
| RUN curl -fsSL https://github.com/mozilla/sccache/releases/download/v0.17.0/sccache-v0.17.0-x86_64-unknown-linux-musl.tar.gz | \ | ||
| tar -zxf - --strip-components=1 && \ | ||
| mkdir -p /usr/local/bin && \ | ||
| mv sccache /usr/local/bin/sccache && \ |
There was a problem hiding this comment.
According to the repository's general rules, we should use an ARG to define version strings that are duplicated across multiple Dockerfiles. This improves maintainability and allows overriding the version at build time.
ARG SCCACHE_VERSION=0.17.0
RUN curl -fsSL https://github.com/mozilla/sccache/releases/download/v${SCCACHE_VERSION}/sccache-v${SCCACHE_VERSION}-x86_64-unknown-linux-musl.tar.gz | \
tar -zxf - --strip-components=1 && \
mkdir -p /usr/local/bin && \
mv sccache /usr/local/bin/sccache && \
References
- In Dockerfiles, use
ARGto define version strings that are duplicated across multiple files to improve maintainability.
| RUN curl -fsSL https://github.com/mozilla/sccache/releases/download/v0.17.0/sccache-v0.17.0-x86_64-unknown-linux-musl.tar.gz | \ | ||
| tar -zxf - --strip-components=1 && \ | ||
| mkdir -p /usr/local/bin && \ | ||
| mv sccache /usr/local/bin/sccache && \ |
There was a problem hiding this comment.
According to the repository's general rules, we should use an ARG to define version strings that are duplicated across multiple Dockerfiles. This improves maintainability and allows overriding the version at build time.
ARG SCCACHE_VERSION=0.17.0
RUN curl -fsSL https://github.com/mozilla/sccache/releases/download/v${SCCACHE_VERSION}/sccache-v${SCCACHE_VERSION}-x86_64-unknown-linux-musl.tar.gz | \
tar -zxf - --strip-components=1 && \
mkdir -p /usr/local/bin && \
mv sccache /usr/local/bin/sccache && \
References
- In Dockerfiles, use
ARGto define version strings that are duplicated across multiple files to improve maintainability.
| RUN curl -fsSL https://github.com/mozilla/sccache/releases/download/v0.17.0/sccache-v0.17.0-x86_64-unknown-linux-musl.tar.gz | \ | ||
| tar -zxf - --strip-components=1 && \ | ||
| mkdir -p /usr/local/bin && \ | ||
| mv sccache /usr/local/bin/sccache && \ |
There was a problem hiding this comment.
According to the repository's general rules, we should use an ARG to define version strings that are duplicated across multiple Dockerfiles. This improves maintainability and allows overriding the version at build time.
ARG SCCACHE_VERSION=0.17.0
RUN curl -fsSL https://github.com/mozilla/sccache/releases/download/v${SCCACHE_VERSION}/sccache-v${SCCACHE_VERSION}-x86_64-unknown-linux-musl.tar.gz | \
tar -zxf - --strip-components=1 && \
mkdir -p /usr/local/bin && \
mv sccache /usr/local/bin/sccache && \
References
- In Dockerfiles, use
ARGto define version strings that are duplicated across multiple files to improve maintainability.
| RUN curl -fsSL https://github.com/mozilla/sccache/releases/download/v0.17.0/sccache-v0.17.0-x86_64-unknown-linux-musl.tar.gz | \ | ||
| tar -zxf - --strip-components=1 && \ | ||
| mkdir -p /usr/local/bin && \ | ||
| mv sccache /usr/local/bin/sccache && \ |
There was a problem hiding this comment.
According to the repository's general rules, we should use an ARG to define version strings that are duplicated across multiple Dockerfiles. This improves maintainability and allows overriding the version at build time.
ARG SCCACHE_VERSION=0.17.0
RUN curl -fsSL https://github.com/mozilla/sccache/releases/download/v${SCCACHE_VERSION}/sccache-v${SCCACHE_VERSION}-x86_64-unknown-linux-musl.tar.gz | \
tar -zxf - --strip-components=1 && \
mkdir -p /usr/local/bin && \
mv sccache /usr/local/bin/sccache && \
References
- In Dockerfiles, use
ARGto define version strings that are duplicated across multiple files to improve maintainability.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #16310 +/- ##
==========================================
- Coverage 92.78% 92.76% -0.02%
==========================================
Files 2271 2271
Lines 227688 227688
==========================================
- Hits 211255 211215 -40
- Misses 16433 16473 +40 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
We may need to do some additional testing before moving to a newer version of sccache. See #16183 |
26bc3b7 to
62c20c3
Compare
|
/gcbrun |
62c20c3 to
efd0ea6
Compare
|
/gcbrun |
efd0ea6 to
ef0ff2f
Compare
|
/gcbrun |
ef0ff2f to
12ba3d3
Compare
|
/gcbrun |
12ba3d3 to
ec8e6d8
Compare
|
/gcbrun |
ec8e6d8 to
bd185b2
Compare
|
/gcbrun |
bd185b2 to
6b8865c
Compare
|
/gcbrun |
6b8865c to
13c49ee
Compare
|
/gcbrun |
13c49ee to
a23eae9
Compare
|
/gcbrun |
a23eae9 to
a6f9154
Compare
|
/gcbrun |
a6f9154 to
8cbd98d
Compare
|
/gcbrun |
8cbd98d to
3b68f68
Compare
|
/gcbrun |
3b68f68 to
f8fcb9b
Compare
|
/gcbrun |
Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
v0.15.0→v0.20.1v0.10.0→v0.20.1Release Notes
mozilla/sccache
v0.20.1Compare Source
sccache 0.20.1
Summary
sccache 0.20.1 is a bug-fix release for users of the GitHub Actions cache.
(#3064). The retry on temporary GHA errors added in 0.20.0 also applied to the startup storage
check, which could keep retrying past the client's 10s startup timeout. That retry has been
removed (#3067), so rate-limited (429) requests fail right away again instead of being retried,
as they did before 0.20.0. If rate limits still get in the way at startup, set
SCCACHE_SKIP_CACHE_CHECK=1to skip the storage check.Full Changelog: mozilla/sccache@v0.20.0...v0.20.1
v0.20.0Compare Source
sccache 0.20.0
Summary
sccache 0.20.0 is mostly about speed: the released binaries are now built with profile-guided
optimization, cache hits do much less redundant work for both C/C++ and Rust, and client-side mode
lost its per-write latency. It also brings several cache-key correctness fixes, more Rust caching
across checkouts, and a working preprocessor cache on Windows.
Highlights:
with PGO, and packagers are encouraged to do the same (#2943, #2950). In direct mode, the server
remembers file digests across lookups instead of re-hashing every header on each hit (#2940,
#2941, #2939). For Rust, the
--emit=dep-infoand--print file-namesruns, which were most ofthe work of a cache hit, are reused across compiles of the same crate (#2942). In client-side
mode, Nagle's algorithm no longer delays cache writes by up to 40ms each (#2996), and each
compile runs on a lighter runtime (#2997).
preprocess to the same text no longer share an object (#2974). With basedirs, the preprocessor
cache re-roots recorded includes at the tree being compiled, so a second checkout with different
headers no longer gets the first one's object; an unreadable entry is now a miss instead of a
failed compile (#2868). clang-cl profiles (#2962) and Rust static libraries passed with link
modifiers (#2971) are hashed, an unset Rust env-dep is no longer confused with an empty one
(#3041), and
-ftime-traceis cacheable again (#2956).SCCACHE_BASEDIRSnow applies to Rust compiles (#2918, #3022), andCARGO_TARGET_DIR/CARGO_BUILD_*are no longer hashed, so each target directory no longergets its own cache (#3050). Proc-macro externs are hashed by their crate metadata, fixing misses
on macOS (#2882).
SCCACHE_ALLOW_INCREMENTAL=1keeps caching the non-incremental parts of aCARGO_INCREMENTAL=1build, andSCCACHE_ALLOW_INCREMENTAL=cachecaches incremental compilestoo (#2810, #3020). rustc uses the build's
fifo:jobserver (#2979, #2978). Long command lineson Windows are passed through a response file again, fixing os error 206 (#3026), and
-lwithout a kind is passed to rustc unchanged (#3049).
/showIncludesoutput instead of the one recorded in another directory (#3019), and responsefiles without a BOM are decoded in the ANSI code page (#2980).
per request (#2993), and HTTP backends use the system resolver instead of hickory-dns, fixing
stalls on macOS (#2988). Redis gained configurable IO timeouts (#2965), the cache read timeout is
configurable with
SCCACHE_CACHE_READ_TIMEOUT_SECS(#2953), GHA retries temporary errors(#2911), lookup read errors are preserved and counted (#2967), read-only disk caches work on
read-only mounts (#2901), and the disk cache directory is tagged with
CACHEDIR.TAG(#2977).An invalid
SCCACHE_CACHE_SIZEis now reported instead of silently ignored (#3052).Welcome to 28 new contributors!
Performance
Features
Compiler support
-sysrootand-resource-dirflags by @weihanglo in #2903-ftime-tracehasheable as in pre 0.18 by @Felixoid in #2956--offload-compress. by @sjuxax in #2788Fixes
Dependencies
Tests & CI
Cleanup
New Contributors
Full Changelog: mozilla/sccache@v0.19.0...v0.20.0
v0.19.0Compare Source
sccache 0.19.0
Summary
sccache 0.19.0 is mostly a correctness and robustness release: multi-arch caching no longer
risks stale universal objects, remote storage errors are no longer hidden as cache misses, the
multi-level cache tolerates unavailable optional levels, and distributed compilation got a long
list of fixes.
Highlights:
SCCACHE_CACHE_MULTIARCH, gcc/clang compilations with several-archvalues are now preprocessed once per architecture, so code guarded by__aarch64__,__SSE2__and the like reaches the hash. Older single-pass preprocessor cache entries are notreused, and multi-arch compilations are no longer distributed (#2871). Include validation in
the preprocessor cache is fixed (#2740).
produced in another checkout or on another machine no longer points cargo at paths that don't
exist (#2894).
.rmetaartifact notifications are streamed to cargo before the compilefinishes, including on cache misses and in client-side mode, so pipelining isn't held back
(#2875). Rust outputs are computed while the rest of the hashing runs (#2465).
CLand_CL_environment variables are honored (#2886),
/Tcand/Tpare handled as input arguments(#2904), and a
-Fdpointing to a directory no longer turns a successful compile into a fatalerror (#2933).
silently counted as misses (#2928). A multi-level cache can start when a level that its write
policy treats as optional is unavailable (#2890), and client-side raw hits are backfilled into
faster levels with per-level stats (#2913, #2915). TLS trust roots are restored after the
reqwest 0.13 upgrade (#2917). WebDAV gained
SCCACHE_WEBDAV_DISABLE_CREATE_DIR(#2872).toolchains in
lib64(#2852), crates without a metadata hash are packaged correctly (#2921),evicted toolchain archives are repackaged (#2893), job IDs no longer collide across scheduler
restarts (#2895), the Rust sysroot is part of the weak toolchain key (#2900), and the overlay
builder resolves toolchain and input paths from inside a chroot (#2908). Remote compile
failures now report the real exit code instead of "killed by signal" (#2932).
--show-statsnow shows the effective cache mode (#2914), and Rust compilationsthat couldn't be cached are broken down by crate type (#2897).
Welcome to 14 new contributors!
Features
.rmetaartifact notifications for rustc by @weihanglo in #2875Compiler support
Fixes
Dependencies
Tests & CI
trueon PATH in the symlinked libdir test by @badumbatish in #2926Cleanup
cfg_aliasesto reduce boilerplate by @Felixoid in #2644New Contributors
Full Changelog: mozilla/sccache@v0.18.0...v0.19.0
v0.18.0Compare Source
sccache 0.18.0
Summary
sccache 0.18.0 is a broad correctness and coverage release: a lot of compiler flags that used to
force a cache miss are now understood, several cache-key and multi-level storage bugs are fixed,
and the Azure backend gained passwordless authentication.
Highlights:
key, so two toolchains with different binutils can no longer hand each other the wrong object
file (#2843).
SCCACHE_BASEDIRSnow also strips base directories from the compiler arguments,so flags like
-ffile-prefix-map=/home/user/project=.stop tying an entry to one checkout(#2840).
/openmp:llvm, the/fsanitize*,/fsanitize-coverage*and
/fno-sanitize*families,/feature, arm64EC and fastfail,/d20bforceinline, and a largebatch of other flags (#2807, #2830, #2831, #2832), plus more clang CLI options (#2834). gcc now
marks flags as
TooHardwhen they would require caching something else (#2833).nvccdryrun parsing works with CUDA 13.3 (#2722), escaped quotes in Windows dryrunlines are protected before backslash flattening (#2811), and the
--diag-error/--diag-suppress/--diag-warnfamily is accepted (#2816).level no longer makes the whole storage read-only (#2778) — and reads are no longer issued twice
(#2835).
storage accounts that disable shared-key access (#2802).
which made those jobs fail on the build server (#2839).
restores the
posix_spawnfast path for child spawns (#2827), and daemonization now uses anallow-list for inherited file descriptors, fixing
makedeadlocks caused by leaked jobserver FDs(#2841).
Welcome to 11 new contributors!
Features
Compiler support
Fixes
nvccdryrun parsing for CUDA 13.3 by @mbrobbel in #2722Configuration
📅 Schedule: (UTC)
* * * * 1-5)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.