Mailinglist Archive: opensuse-buildservice (207 mails)

< Previous Next >
Re: [opensuse-buildservice] using ccache for OBS
Adrian Schröter wrote:
Am Freitag, 4. März 2011, 10:46:12 schrieb Ludwig Nussel:
Adrian Schröter wrote:
Am Freitag, 4. März 2011, 02:04:17 schrieb Malcolm Fernandes:
Is it possible to use ccache for OBS builds. I know that 'osc' has the
ability, but I would like to configure it for all builds done via the

I'm using a local OBS instance.

If it is possible, what needs to be done?

Could not find any configurable parameters in or anything
related on the OBS web pages.

In short, patching of bs_worker process to support it. And adding ccache
the prjconf as support package.

There's more work needed than that. OBS recreates the build root
from scratch so the cache is cleared too.

Yes, if you want to keep between the builds. But it can still be usefull
during one build.

In weird corner cases maybe. How many spec files build the same
source twice with the same options?

Caching between builds is anyway not recommended, it means that
builds are not reproducable anymore.

Not necessarily. The cache could be built into icecream for example.
If the preprocessed source and compiler environment is the same
there is no need to actually send the job to workers if the result
is cached.


(o_ Ludwig Nussel
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups