Greetings. On 20/04/2021 09.44, Adrian Schröter wrote:
On Dienstag, 20. April 2021, 09:20:26 CEST Tristan Miller wrote:
On 29/05/2020 10.19, Sumit Jamgade wrote:
Long running compilation can now leverage ccache[1] to speed up the build process. This feature can be enabled per package in the project config:
BuildFlags: useccahe:<packagename>
(not the typo in the flag)
Does applying this flag in the project config mean that it's no longer necessary to pass the --ccache option when building locally with osc?
yes, it is then the default for that package.
Thanks. By the way, do you (or does anyone else reading this) understand what's going on with the ccache settings in the firefox88 package at <https://build.opensuse.org/package/view_file/mozilla/firefox88/MozillaFirefox.spec?expand=1> ? Mozilla has its own build system that allows you to configure the use of ccache by adding "ac_add_options --with-ccache" to a build configuration ("mozconfig") file. So the spec file does this and also adds a BuildRequires: ccache line earlier in the file. But the mozilla OBS project (which contains the firefox88 package) doesn't use the BuildFlag from the OBS User Guide. Are there any advantages or disadvantages to using ccache the way the mozilla/firefox88 package does? I'm asking about all this because I'm maintaining the OBS SeaMonkey package, which doesn't currently use ccache. I want to configure the package to use ccache but am not sure which way to do this. Regards, Tristan -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Tristan Miller Free Software developer, ferret herder, logologist https://logological.org/ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-