Skip to content

Apache DataFusion SQL Query Engine

ARROW-3167: [CI] Limit clcache cache size

Antoine Pitrou160275049f5d
diff --git a/ci/appveyor-cpp-setup.bat b/ci/appveyor-cpp-setup.bat
index 1953bc8e39..2d09948e78 100644
--- a/ci/appveyor-cpp-setup.bat
+++ b/ci/appveyor-cpp-setup.bat
@@ -46,6 +46,9 @@ if "%GENERATOR%"=="Ninja" conda install -y -q -c conda-forge ninja
if "%USE_CLCACHE%" == "true" (
@rem Use clcache for faster builds
pip install -q git+https://github.com/frerich/clcache.git
+ @rem Limit cache size to 150 MB
+ clcache -M 150000000
+ clcache -c
clcache -s
set CLCACHE_SERVER=1
set CLCACHE_HARDLINK=1