Appveyor: Use ccache on Windows GNU builds #14850

Merged
merged 1 commit into from Jan 6, 2017

Projects

None yet

5 participants

@UK992
Contributor
UK992 commented Jan 5, 2017 edited

r? @larsbergstrom

Locally tested:

First run: (Build time: 26:27)

cache directory                     C:/github/servo/.servo/.ccache
primary config                      C:/github/servo/.servo/.ccache/ccache.conf
secondary config      (readonly)    C:/building/msys64/mingw64/etc/ccache.conf
cache hit (direct)                     0
cache hit (preprocessed)               0
cache miss                           953
called for link                        5
called for preprocessing               9
compile failed                         6
preprocessor error                    30
unsupported source language            1
autoconf compile/link                 43
no input file                          6
files in cache                      2523
cache size                         443.0 MB
max cache size                       5.0 GB

Second run: (Build time: 15:30)

cache directory                     C:/github/servo/.servo/.ccache
primary config                      C:/github/servo/.servo/.ccache/ccache.conf
secondary config      (readonly)    C:/building/msys64/mingw64/etc/ccache.conf
cache hit (direct)                   922
cache hit (preprocessed)              31
cache miss                           953
called for link                       10
called for preprocessing              18
compile failed                        12
preprocessor error                    60
unsupported source language            2
autoconf compile/link                 86
no input file                         12
files in cache                      2523
cache size                         443.0 MB
max cache size                       5.0 GB


This change is Reviewable

@UK992 UK992 Appveyor: Use ccache on Windows GNU builds
4f470f1
@staabm staabm referenced this pull request in php/php-src Jan 5, 2017
Closed

AppVeyor CI integration, take 2 #2229

@larsbergstrom
Contributor

Let's give this a try and see how it works out for us! I was hesitent because in the past we've run into cache size limits on AppVeyor, but it looks like they increased the Pro subscription cache size to 5GB:
https://www.appveyor.com/docs/build-cache/#cache-size-beta

@bors-servo r+

@bors-servo
Contributor

📌 Commit 4f470f1 has been approved by larsbergstrom

@bors-servo
Contributor

⌛️ Testing commit 4f470f1 with merge f71ebc8...

@bors-servo bors-servo added a commit that referenced this pull request Jan 5, 2017
@bors-servo bors-servo Auto merge of #14850 - UK992:appveyor-ccache, r=larsbergstrom
Appveyor: Use ccache on Windows GNU builds

r? @larsbergstrom

Locally tested:

First run: (Build time: 26:27)
```
cache directory                     C:/github/servo/.servo/.ccache
primary config                      C:/github/servo/.servo/.ccache/ccache.conf
secondary config      (readonly)    C:/building/msys64/mingw64/etc/ccache.conf
cache hit (direct)                     0
cache hit (preprocessed)               0
cache miss                           953
called for link                        5
called for preprocessing               9
compile failed                         6
preprocessor error                    30
unsupported source language            1
autoconf compile/link                 43
no input file                          6
files in cache                      2523
cache size                         443.0 MB
max cache size                       5.0 GB
```

Second run: (Build time: 15:30)

```
cache directory                     C:/github/servo/.servo/.ccache
primary config                      C:/github/servo/.servo/.ccache/ccache.conf
secondary config      (readonly)    C:/building/msys64/mingw64/etc/ccache.conf
cache hit (direct)                   922
cache hit (preprocessed)              31
cache miss                           953
called for link                       10
called for preprocessing              18
compile failed                        12
preprocessor error                    60
unsupported source language            2
autoconf compile/link                 86
no input file                         12
files in cache                      2523
cache size                         443.0 MB
max cache size                       5.0 GB

```

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14850)
<!-- Reviewable:end -->
f71ebc8
@bors-servo
Contributor

💔 Test failed - linux-rel-wpt

@jdm
Member
jdm commented Jan 6, 2017
@bors-servo
Contributor

⌛️ Testing commit 4f470f1 with merge b97a753...

@bors-servo
Contributor

💔 Test failed - linux-rel-css

@jdm
Member
jdm commented Jan 6, 2017
@bors-servo
Contributor

⌛️ Testing commit 4f470f1 with merge 6d4ccab...

@bors-servo bors-servo added a commit that referenced this pull request Jan 6, 2017
@bors-servo bors-servo Auto merge of #14850 - UK992:appveyor-ccache, r=larsbergstrom
Appveyor: Use ccache on Windows GNU builds

r? @larsbergstrom

Locally tested:

First run: (Build time: 26:27)
```
cache directory                     C:/github/servo/.servo/.ccache
primary config                      C:/github/servo/.servo/.ccache/ccache.conf
secondary config      (readonly)    C:/building/msys64/mingw64/etc/ccache.conf
cache hit (direct)                     0
cache hit (preprocessed)               0
cache miss                           953
called for link                        5
called for preprocessing               9
compile failed                         6
preprocessor error                    30
unsupported source language            1
autoconf compile/link                 43
no input file                          6
files in cache                      2523
cache size                         443.0 MB
max cache size                       5.0 GB
```

Second run: (Build time: 15:30)

```
cache directory                     C:/github/servo/.servo/.ccache
primary config                      C:/github/servo/.servo/.ccache/ccache.conf
secondary config      (readonly)    C:/building/msys64/mingw64/etc/ccache.conf
cache hit (direct)                   922
cache hit (preprocessed)              31
cache miss                           953
called for link                       10
called for preprocessing              18
compile failed                        12
preprocessor error                    60
unsupported source language            2
autoconf compile/link                 86
no input file                         12
files in cache                      2523
cache size                         443.0 MB
max cache size                       5.0 GB

```

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14850)
<!-- Reviewable:end -->
6d4ccab
@bors-servo bors-servo merged commit 4f470f1 into servo:master Jan 6, 2017

2 of 3 checks passed

continuous-integration/travis-ci/pr The Travis CI build failed
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
homu Test successful
Details
@UK992 UK992 deleted the UK992:appveyor-ccache branch Jan 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment