-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
In GitLab by @krzkoz on Jun 17, 2025, 12:11 GMT+1:
By default ccache v4.10.2 has ccache in .cache/ccache (at least on Ubuntu 24.10, not Windows - important further).
tuxmake ignores it completely and sets up a new one in ~/.ccache, overriding existing default one. It seems it assumes CCACHE_DIR has a fixed value, but the man page:
On non-Windows systems, the default is $HOME/.ccache if such a directory exists, otherwise $XDG_CACHE_HOME/ccache if XDG_CACHE_HOME is set, otherwise $HOME/Library/Caches/ccache (macOS) or $HOME/.config/ccache (other systems).
tuxmake 1.29.3
$ cat ~/.config/tuxmake/default
--wrapper=ccache
--build=out/
--verbose
$ printenv | grep CCACHE
USE_CCACHE=1
Migrated from GitLab: https://gitlab.com/Linaro/tuxmake/-/issues/225