From 0b13827e3cb8dde7bb339baa7f422f8a6798cb6b Mon Sep 17 00:00:00 2001 From: Rochet2 Date: Sun, 25 Apr 2021 00:29:11 +0300 Subject: [PATCH] fix(CI): disable mac PCH to allow more caching (#5427) * Update ci-compile.sh * Update ci-compile.sh * Update ci-compile.sh --- apps/ci/mac/ci-compile.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/ci/mac/ci-compile.sh b/apps/ci/mac/ci-compile.sh index 0bce1ca6f..db83d6a85 100755 --- a/apps/ci/mac/ci-compile.sh +++ b/apps/ci/mac/ci-compile.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash export CCACHE_CPP2=true -export CCACHE_MAXSIZE='2G' +export CCACHE_MAXSIZE='1G' export CCACHE_COMPRESS=9 ccache -s @@ -23,6 +23,8 @@ time cmake ../../../ \ -DCMAKE_CXX_FLAGS="-Werror" \ -DCMAKE_C_COMPILER_LAUNCHER=ccache \ -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \ +-DUSE_SCRIPTPCH=0 \ +-DUSE_COREPCH=0 \ ; time make -j $(($(sysctl -n hw.ncpu ) + 2))