From b735e9d9a2b324b3f2c3a02b7c34923f302c6340 Mon Sep 17 00:00:00 2001 From: Geza Lore Date: Sat, 21 Oct 2023 12:03:05 +0100 Subject: [PATCH] ci: Set CCACHE_SLOPPINESS as required for using PCH While the solution of setting CCACHE_SLOPPINESS in the makefiles seems to work locally, the CI has been reporting high miss rates since the PCH patch landed. Possibly the CI environment has CCACHE_SLOPPINESS set to the empty string, which prevents Make ?= to apply. --- .github/workflows/build.yml | 1 + ci/ci-script.bash | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ee8fc916291..ec3136338ba 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,6 +17,7 @@ env: CCACHE_COMPRESS: 1 CCACHE_DIR: ${{ github.workspace }}/.ccache CCACHE_LIMIT_MULTIPLE: 0.95 + #CCACHE_SLOPPINESS: pch_defines,time_macros defaults: run: diff --git a/ci/ci-script.bash b/ci/ci-script.bash index 225c9b50c35..77bab781a25 100755 --- a/ci/ci-script.bash +++ b/ci/ci-script.bash @@ -48,6 +48,7 @@ if [ "$CI_BUILD_STAGE_NAME" = "build" ]; then autoconf ./configure --enable-longtests --enable-ccwarn ${CI_M32:+--enable-m32} ccache -z + ccache -p "$MAKE" -j "$NPROC" -k ccache -s if [ "$CI_OS_NAME" = "osx" ]; then