[Libreoffice] new module 'tail_build': a pseudo module to wrap build's tail-end gbuild-converted modules

Bjoern Michaelsen bjoern.michaelsen at canonical.com
Sun Apr 24 13:56:33 PDT 2011


Hi Christian, all,

On Sun, 24 Apr 2011 22:05:56 +0200
Christian Lohmaier
<lohmaier+libreoffice at googlemail.com> wrote:

> Hmm - wouldn't it be possible to just "gbuildify" it by having the
> gbuild run build.pl?

That would not help, as it would count as one gbuild job. Either you
would allow only one binfilter job to to run, or you would end up
with the same problem as before, with two parameters ("max-jobs" and
"num-cpus").

> binfilter can nicely be built in parallel to other stuff, can't it?

Right.

> Being forced to build it last will be quite a penalty.

Not really. It has enough directories to build halfway decent (as much
as possible in the old build system) all by it self.

> But what about the other gbuild stuff? While binfilter itself might be
> able to get 4 CPUs busy, the other modules probably then have to sit
> and wait for others.

No, as in gbuild no module waits for another. As long as there are
_any_ executable jobs in _any_ modules, CPUs will get saturated.

So:

- tail_build (in gbuild) -> maximum CPU saturation
- binfilter -> as good or bad as in the old build system

Best,

Bjoern

-- 
https://launchpad.net/~bjoern-michaelsen




More information about the LibreOffice mailing list