From 1c921c424572ba37bf279c7760ba85d9b93c1ec4 Mon Sep 17 00:00:00 2001 From: Ted Mielczarek Date: Wed, 12 Dec 2018 11:21:18 -0500 Subject: [PATCH] Set SCCACHE_IDLE_TIMEOUT=0 when starting the sccache server This will prevent the sccache server from shutting down due to a lack of activity which can manifest as build failures. This is effectively a workaround for this sccache issue: https://github.com/mozilla/sccache/issues/204 . --- .taskcluster.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.taskcluster.yml b/.taskcluster.yml index a9ff57755d..2f0d45b390 100644 --- a/.taskcluster.yml +++ b/.taskcluster.yml @@ -133,7 +133,7 @@ tasks: servo-tidy sccache --stop-server || true mkdir -p ../artifacts - RUST_LOG=sccache=trace SCCACHE_ERROR_LOG=$PWD/../artifacts/sccache.log sccache --start-server + RUST_LOG=sccache=trace SCCACHE_ERROR_LOG=$PWD/../artifacts/sccache.log SCCACHE_IDLE_TIMEOUT=0 sccache --start-server export RUST_BACKTRACE=full export RUSTFLAGS='--deny warnings' export PKG_CONFIG_PATH="/usr/local/opt/zlib/lib/pkgconfig:$PKG_CONFIG_PATH"