From c6fd8364a4c86fe03385db6df6353deb0dab6f35 Mon Sep 17 00:00:00 2001 From: "Mikhail f. Shiryaev" Date: Wed, 27 Jul 2022 14:24:14 +0200 Subject: [PATCH] Increase ccache max size for clang tidy builds --- docker/packager/packager | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docker/packager/packager b/docker/packager/packager index 0b00bc4e9c0..3b307ada1b9 100755 --- a/docker/packager/packager +++ b/docker/packager/packager @@ -236,7 +236,11 @@ def parse_env_variables( result.append("CCACHE_BASEDIR=/build") result.append("CCACHE_NOHASHDIR=true") result.append("CCACHE_COMPILERCHECK=content") - result.append("CCACHE_MAXSIZE=15G") + cache_maxsize = "15G" + if clang_tidy: + # 15G is not enough for tidy build + cache_maxsize = "25G" + result.append(f"CCACHE_MAXSIZE={cache_maxsize}") # result.append("CCACHE_UMASK=777") if distcc_hosts: