Skip to content

Commit 5059177

Browse files
committed
servo: Merge #19883 - Re-enable sccache for Linux builds (from aneeshusa:reenable-sccache-partially); r=jdm
As far as I know, sccache is working properly on the non-cross-compiling Linux builders. For safety, only enable it for the builders that run on PRs, to avoid breaking our nightly generation and scheduled test runs. This will also allow testing new versions of sccache more easily. This implements my suggestion from servo/servo#19858 (comment), and should also let us handle testing a new sccache: rust-lang/rust#42867 (comment) (our current version of sccache [seems to be 2018-01-09](https://github.com/servo/saltfs/blob/f50214b8fa012e03616ecae1ef2913e6fe9044da/servo-build-dependencies/ci-map.jinja#L5)). <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because they change the CI configuration <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: 78ffce1cbe5fcce4d057b69c3cbf0cd2bc2b449c UltraBlame original commit: d897da50fc624ee27af7c16c02e368b92f4a6f5e
1 parent 76c025e commit 5059177

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

servo/etc/ci/buildbot_steps.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1672,6 +1672,16 @@ linux
16721672
-
16731673
dev
16741674
:
1675+
env
1676+
:
1677+
CCACHE
1678+
:
1679+
sccache
1680+
RUSTC_WRAPPER
1681+
:
1682+
sccache
1683+
commands
1684+
:
16751685
-
16761686
.
16771687
/
@@ -1840,6 +1850,16 @@ rel
18401850
-
18411851
wpt
18421852
:
1853+
env
1854+
:
1855+
CCACHE
1856+
:
1857+
sccache
1858+
RUSTC_WRAPPER
1859+
:
1860+
sccache
1861+
commands
1862+
:
18431863
-
18441864
.
18451865
/
@@ -2043,6 +2063,16 @@ rel
20432063
-
20442064
css
20452065
:
2066+
env
2067+
:
2068+
CCACHE
2069+
:
2070+
sccache
2071+
RUSTC_WRAPPER
2072+
:
2073+
sccache
2074+
commands
2075+
:
20462076
-
20472077
.
20482078
/

0 commit comments

Comments
 (0)