On Sat, Apr 16, 2011 at 12:45 AM, Greg KH
On Fri, Apr 15, 2011 at 11:57:00PM +0200, Claudio Freire wrote:
On Fri, Apr 15, 2011 at 7:10 PM, Greg KH
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@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org