From 00151b6a6f70723ccce2c0993d24397ef56c15e9 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Tue, 12 Nov 2019 14:13:09 +0100 Subject: [PATCH] Fix sccache failure when rustc generates hundreds of thousands of warnings Fixes https://github.com/servo/servo/issues/24714 --- etc/ci/buildbot_steps.yml | 4 ++-- etc/taskcluster/decision_task.py | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/etc/ci/buildbot_steps.yml b/etc/ci/buildbot_steps.yml index ba93b833143..34f54a67f57 100644 --- a/etc/ci/buildbot_steps.yml +++ b/etc/ci/buildbot_steps.yml @@ -2,9 +2,9 @@ env: RUST_BACKTRACE: '1' RUSTFLAGS: -Dwarnings CARGO_INCREMENTAL: "0" - SCCACHE_IDLE_TIMEOUT: "1200" GST_DEBUG: '3' - + SCCACHE_IDLE_TIMEOUT: "1200" + SCCACHE_MAX_FRAME_LENGTH": "100000000" # 100 MB linux-rel-nogate: env: CC: clang-4.0 diff --git a/etc/taskcluster/decision_task.py b/etc/taskcluster/decision_task.py index b2bb47d32a0..93a508e0c13 100644 --- a/etc/taskcluster/decision_task.py +++ b/etc/taskcluster/decision_task.py @@ -131,9 +131,11 @@ linux_build_env = { "SHELL": "/bin/dash", # For SpiderMonkey’s build system "CCACHE": "sccache", "RUSTC_WRAPPER": "sccache", - "SCCACHE_IDLE_TIMEOUT": "1200", "CC": "clang", "CXX": "clang++", + "SCCACHE_IDLE_TIMEOUT": "1200", + # https://github.com/servo/servo/issues/24714#issuecomment-552951519 + "SCCACHE_MAX_FRAME_LENGTH": str(100 * 1024 * 1024), # 100 MiB } macos_build_env = {} windows_build_env = {