Skip to content

Commit 0292e7e

Browse files
Rollup merge of #42354 - Mark-Simulacrum:reduce-verbosity, r=alexcrichton
Reduce verbosity of build logs This does two separate things. - Sets sccache logging to warn instead of info. - Makes tests when running for a given PR (not on auto branch) quiet. (cc @eddyb) r? @alexcrichton
2 parents b1e852d + 56f448d commit 0292e7e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/bootstrap/native.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ pub fn llvm(build: &Build, target: &str) {
183183
configure_compilers(&mut cfg);
184184

185185
if env::var_os("SCCACHE_ERROR_LOG").is_some() {
186-
cfg.env("RUST_LOG", "sccache=info");
186+
cfg.env("RUST_LOG", "sccache=warn");
187187
}
188188

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

src/ci/run.sh

+4
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ fi
2323
ci_dir=`cd $(dirname $0) && pwd`
2424
source "$ci_dir/shared.sh"
2525

26+
if [ "$TRAVIS_BRANCH" != "auto" ]; then
27+
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --enable-quiet-tests"
28+
fi
29+
2630
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --enable-sccache"
2731
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --disable-manage-submodules"
2832
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --enable-locked-deps"

0 commit comments

Comments
 (0)