From d0bd3e503c65e838bc8a0029869b0d5caa8ad5f8 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sat, 17 Sep 2022 18:46:07 +0200 Subject: [PATCH] kodi: fix wrongly enabled internal ccache handling Commit 98a96ef1f721e8a444a7769321a6185f156b6f46 ("kodi: use cmake") incorrectly switched kodi's internal ccache usage from off to on, resulting in the compiler being double-wrapped in ccache. As our gcc ccache wrappers will get a new timestamp on each clean rebuild this also meant ccache was practically disabled (as the "compiler"'s mtime changed), leading to about 1400 cache misses, unnecessary rebuilds, about 1GB of data being added to the cache and rather long rebuild times. Fix this by configuring kodi with -DENABLE_CCACHE=ON matching the previous --disable-ccache we had before switching to cmake. Signed-off-by: Matthias Reichl --- packages/mediacenter/kodi/package.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mediacenter/kodi/package.mk b/packages/mediacenter/kodi/package.mk index d568a504af..a4fd2578d5 100644 --- a/packages/mediacenter/kodi/package.mk +++ b/packages/mediacenter/kodi/package.mk @@ -229,7 +229,7 @@ configure_package() { -DENABLE_UDEV=ON \ -DENABLE_DBUS=ON \ -DENABLE_XSLT=ON \ - -DENABLE_CCACHE=ON \ + -DENABLE_CCACHE=OFF \ -DENABLE_LIRCCLIENT=ON \ -DENABLE_EVENTCLIENTS=ON \ -DENABLE_LDGOLD=ON \