Mailinglist Archive: opensuse-buildservice (327 mails)

< Previous Next >
Re: [opensuse-buildservice] job 'job is nth in queue' indicator
  • From: Claudio Freire <klaussfreire@xxxxxxxxx>
  • Date: Sat, 16 Apr 2011 23:34:52 +0200
  • Message-id: <>
On Sat, Apr 16, 2011 at 12:45 AM, Greg KH <gregkh@xxxxxxx> wrote:
On Fri, Apr 15, 2011 at 11:57:00PM +0200, Claudio Freire wrote:
On Fri, Apr 15, 2011 at 7:10 PM, Greg KH <gregkh@xxxxxxx> wrote:
How do you know ahead of time how long a build process takes, or what it
even involves, in order to be able to determine where 50% is?

While technically true, there's ways to approximate.

Really?  How do you do so for something as "simple" as building the
Linux kernel?

Since, technically, most files takes roughly the same amount of time
to compile. And, technically, abnormally costly files tend to be
randomly spread. So if you count percentage by number of tasks to run
(number of files to build), it usually works out fine.

How can you count the number of files to build ahead of time?

Any half-decent build system does a pre-pass to check for changes,
dependencies, and what needs to be rebuilt.
So yes, that's already done, and rather quickly.
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups