Skip to content

Commit 828ed96

Browse files
authored
Rollup merge of #41209 - aidanhs:aphs-quiet-sccache, r=alexcrichton
Make sccache a bit quieter ...and remove the single mention of `SCCACHE_LOG_LEVEL` that would only take effect on Docker (i.e. Linux) builds since it had no effect anyway (because [`RUST_LOG` takes priority](https://github.com/mozilla/sccache/blob/ec10cdb2ddeb3dde9891bea1fa095e504a60a28a/src/main.rs#L124-L128)). r? @frewsxcv
2 parents 704cbad + f297767 commit 828ed96

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/bootstrap/native.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ pub fn llvm(build: &Build, target: &str) {
147147
}
148148

149149
if env::var_os("SCCACHE_ERROR_LOG").is_some() {
150-
cfg.env("RUST_LOG", "sccache=debug");
150+
cfg.env("RUST_LOG", "sccache=info");
151151
}
152152

153153
// FIXME: we don't actually need to build all LLVM tools and all LLVM

src/ci/docker/run.sh

-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ if [ "$SCCACHE_BUCKET" != "" ]; then
3838
args="$args --env AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID"
3939
args="$args --env AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY"
4040
args="$args --env SCCACHE_ERROR_LOG=/tmp/sccache/sccache.log"
41-
args="$args --env SCCACHE_LOG_LEVEL=debug"
4241
args="$args --volume $objdir/tmp:/tmp/sccache"
4342
else
4443
mkdir -p $HOME/.cache/sccache

0 commit comments

Comments
 (0)