[Buildroot] [PATCH v1] package/webkitgtk: disable internal ccache configuration
Thomas Devoogdt
thomas at devoogdt.com
Sat Oct 25 14:35:12 UTC 2025
From: Thomas Devoogdt <thomas.devoogdt at barco.com>
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/webkitgtk-2.50.1/Source/cmake/WebKitCCache.cmake
Signed-off-by: Thomas Devoogdt <thomas.devoogdt at barco.com>
---
package/webkitgtk/webkitgtk.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk
index 0b6a1383ca..fecca3529d 100644
--- a/package/webkitgtk/webkitgtk.mk
+++ b/package/webkitgtk/webkitgtk.mk
@@ -19,6 +19,10 @@ WEBKITGTK_DEPENDENCIES = host-ruby host-python3 host-gperf host-unifdef \
WEBKITGTK_CMAKE_BACKEND = ninja
+# Buildroot adds support for ccache through its
+# toolchain-wrapper, so tell webkitgtk not to mess with it.
+WEBKITGTK_CONF_ENV = WK_USE_CCACHE=NO
+
WEBKITGTK_CONF_OPTS = \
-DENABLE_API_TESTS=OFF \
-DENABLE_DOCUMENTATION=OFF \
--
2.43.0
More information about the buildroot
mailing list