Hello, should have sent an update email already, On 10/6/20 9:24 AM, Christophe Giboudeaux wrote:
The saved build time is interesting*but* after the 3rd snapshot, I started getting disk space issues caused by the _ccache.tar size.
This will probably be an issue after a couple firefox or chromium releases. Correct. And right now I am adding a feature to ccache to perform cleanup in a manner which fits the way we build in OBS.
What's the status on this? I don't remember seeing another report about ccache on the list.
ccache has a new alternate cleanup mechanism[1]. Using this anything that was used/generated in current build is kept. Everything else is deleted. (look for "cleaning ccache" message in build log followed by a 0) Also files are progressively deleted as they are being added to archive, (tar --remove-files), this avoids consuming the same space twice. For firefox using sccache[2] would be also a good option, the results were promising when I tried locally. However it is unclear to me if upstream is ready for an alternate cleanup mechanism. Thank you, Sumit [1] https://github.com/ccache/ccache/pull/605/files merged but not released. So we carry a patch. [2] https://github.com/mozilla/sccache https://build.opensuse.org/package/show/devel:tools:building/sccache -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org