On 16.4.2011 23:34, Claudio Freire wrote:
On Sat, Apr 16, 2011 at 12:45 AM, Greg KH<gregkh@suse.de> wrote:
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.
Not really, many packages, including the linux kernel, don't use a single makefile, but rather build recursively. I think that cmake does first preprocess all cmake files and then generates one huge makefile, which then has information about all files to be build, but in general, you don't have this information. What could work to some extent is to compare the current build log and the last successful one. It wouldn't work for huge changes like kernel version updates, but otherwise, I think it could estimate the remaining time quite well. That could be a nice hackweek project :-) Michal -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org