From 551aa2e56e71538adfe1845c01451c2ef051b545 Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Tue, 14 Feb 2023 10:32:13 +0100 Subject: [PATCH] CI: .murdock: use build checkout for ccache tmp --- .murdock | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.murdock b/.murdock index c664af33af..4fb63cbb72 100755 --- a/.murdock +++ b/.murdock @@ -538,6 +538,11 @@ compile() { [ $# -ne 2 ] && error "$0: compile: invalid parameters (expected \$appdir \$board:\$toolchain)" [ ! -d "$appdir" ] && error "$0: compile: error: application directory \"$appdir\" doesn't exist" + # use our checkout as ccache temporary folder. + # On CI, this is a tmpfs, so using that instead of the `/cache/.ccache` volume + # reduces disk IO. + export CCACHE_TEMPDIR="$(pwd)/.ccache/tmp" + # We compile a first time with Kconfig based dependency # resolution for regression purposes. $TEST_KCONFIG contains a # list of board-application tuples that are currently modeled to