summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBe <be@mixxx.org>2020-11-02 01:48:40 -0600
committerBe <be@mixxx.org>2020-11-03 13:22:43 -0600
commitc46a204e28d1358dc3ee60b0c1c4245d90c8b2e3 (patch)
tree3e6c484fa414a55e2db169245f7bcf3c4ffb0534
parentd07cd5440a60f9addf9694c7a0d5eccde2eba310 (diff)
AppVeyor: increase clcache limit
-rw-r--r--appveyor.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/appveyor.yml b/appveyor.yml
index dabebbb8e3..7840ead383 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -212,8 +212,12 @@ for:
- set CMAKE_BUILD_PARALLEL_LEVEL=%NUMBER_OF_CORES%
- call "%MSVC_PATH%\VC\Auxiliary\Build\vcvarsall.bat" x64
- cd %APPVEYOR_BUILD_FOLDER%
- # Limit cache size to 100 MB
- - clcache -M 100000000
+ # Limit cache size to 4 GB.
+ # AppVeyor allows 1 GB cache for the free plan but stores it compressed.
+ # Compression ratio is ~80%, so we could have ~10 GB uncompressed total cache.
+ # Split cache in half with Ubuntu ccache and underestimate compression ratio a little to
+ # avoid going over the limit.
+ - clcache -M 4294967296
- clcache -s
# Improve clcache performance
- set CLCACHE_SERVER=1