diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2019-11-12 14:13:09 +0100 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2019-11-12 17:46:21 +0100 |
commit | 00151b6a6f70723ccce2c0993d24397ef56c15e9 (patch) | |
tree | 4e42860943732a774fd70a0715bb27bd139930a0 | |
parent | 944c1e9f976a4daf5ba640d889f0b00a06d15a17 (diff) | |
download | servo-00151b6a6f70723ccce2c0993d24397ef56c15e9.tar.gz servo-00151b6a6f70723ccce2c0993d24397ef56c15e9.zip |
Fix sccache failure when rustc generates hundreds of thousands of warnings
Fixes https://github.com/servo/servo/issues/24714
-rw-r--r-- | etc/ci/buildbot_steps.yml | 4 | ||||
-rw-r--r-- | 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 = { |