summaryrefslogtreecommitdiffstats
path: root/buildtools
diff options
context:
space:
mode:
authorEduard Braun <eduard.braun2@gmx.de>2017-07-18 00:48:15 +0000
committerEduard Braun <eduard.braun2@gmx.de>2017-07-18 00:48:15 +0000
commit479c7dd39fb6404191106661311161998913fd81 (patch)
tree3ae81d6a7fe3640d67a03be1536e7b61d4cdf991 /buildtools
parentroot dir tidying: MSYS2 & AppVeyor CI (diff)
downloadinkscape-479c7dd39fb6404191106661311161998913fd81.tar.gz
inkscape-479c7dd39fb6404191106661311161998913fd81.zip
CI/AppVeyor: tweak ccache settings
We currently use the same cache for master and 0.92.x branches so increase the cache size a bit. (the maximum is 1 GB and we now have 2 x 300 MB for 32-bit/64-bit) Also set options to ignore creation time and modification time of include files as they are very likely to be different between builds (sloppiness=include_file_ctime,include_file_mtime) ToDo: Figure out if it's worth splitting the cache. Unfortunately I don't know of a good way to tell if a branch is based on 0.92.x or if it's build based on master. See also https://github.com/appveyor/ci/issues/1623 which might allow for some better control in future.
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/appveyor.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildtools/appveyor.sh b/buildtools/appveyor.sh
index 62941b2a1..1b76fa293 100644
--- a/buildtools/appveyor.sh
+++ b/buildtools/appveyor.sh
@@ -26,7 +26,8 @@ EOF
message "--- Installing dependencies"
source ../buildtools/msys2installdeps.sh
pacman -S $MINGW_PACKAGE_PREFIX-{ccache,gtest,ntldd-git} --needed --noconfirm --noprogressbar
-ccache --max-size=200M
+ccache --max-size=300M
+ccache --set-config=sloppiness=include_file_ctime,include_file_mtime