From 25b2b2bfdbca952c06d550eb70bf28cae9fde9f7 Mon Sep 17 00:00:00 2001 From: Thomas Devoogdt Date: Sat, 25 Oct 2025 16:35:11 +0200 Subject: [PATCH] package/wpewebkit: disable internal ccache configuration WebKit's auto-configured ccache results in 100% cache misses. Disable WebKit's internal ccache setup [1] since Buildroot already manages the ccache in toolchain/toolchain-wrapper.c. [1] https://github.com/WebKit/WebKit/blob/wpewebkit-2.48.3/Source/cmake/WebKitCCache.cmake Signed-off-by: Thomas Devoogdt Acked-by: Adrian Perez de Castro Signed-off-by: Peter Korsgaard (cherry picked from commit c6fb44c455936527dfcbb128dc0e3dac0d28e503) Signed-off-by: Thomas Perale --- package/wpewebkit/wpewebkit.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/wpewebkit/wpewebkit.mk b/package/wpewebkit/wpewebkit.mk index 796e271ecb..15a2ea93e8 100644 --- a/package/wpewebkit/wpewebkit.mk +++ b/package/wpewebkit/wpewebkit.mk @@ -21,6 +21,10 @@ WPEWEBKIT_DEPENDENCIES = host-gperf host-python3 host-ruby host-unifdef \ WPEWEBKIT_CMAKE_BACKEND = ninja +# Buildroot adds support for ccache through its +# toolchain-wrapper, so tell wpewebkit not to mess with it. +WPEWEBKIT_CONF_ENV = WK_USE_CCACHE=NO + WPEWEBKIT_CONF_OPTS = \ -DPORT=WPE \ -DENABLE_API_TESTS=OFF \