mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-22 08:52:29 -09:00
package/wpewebkit: also disable internal ccache in the build step
WK_USE_CCACHE=NO is only passed to the configure step (WPEWEBKIT_CONF_ENV). During the build step, ninja can run cmake again (e.g. when a cmake input such as toolchainfile.cmake changed), and that run does not have WK_USE_CCACHE set. WebKit's WebKitCCache.cmake then sets ccache as compiler launcher again. That outer ccache runs without the CCACHE_BASEDIR that the toolchain wrapper sets for its own ccache call, so the cache keys and manifests contain absolute paths, and the entries only match in the same checkout directory. Pass WK_USE_CCACHE=NO to the build step too. Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com> Acked-by: Adrian Perez de Castro <aperez@igalia.com> Signed-off-by: Arnout Vandecappelle <arnout@rnout.be>
This commit is contained in:
committed by
Arnout Vandecappelle
parent
9f0aacb634
commit
4422d99a4e
@@ -24,6 +24,7 @@ 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_BUILD_ENV = WK_USE_CCACHE=NO
|
||||
|
||||
WPEWEBKIT_CONF_OPTS = \
|
||||
-DPORT=WPE \
|
||||
|
||||
Reference in New Issue
Block a user