[OE-core] [PATCH 0/9] Show progress during build and eSDK install

Randle, William C william.c.randle at intel.com
Mon Jun 13 15:47:11 UTC 2016


On Mon, 2016-06-13 at 15:13 +1200, Paul Eggleton wrote:
> 
> I have contemplated and even prototyped going a step further and using the
> count of lines in the output to track progress for *all* long-running tasks,
> which does work reasonably well - the caveat is you actually need the
> expected line count ahead of time for each task, so you have to be able to
> get that from somewhere. I  haven't worked out a practical means of
> delivering that, suggestions would be very much welcome - my prototype stuff
> is on poky-contrib paule/progress-wip and relies on someone profiling a
> build containing all the tasks beforehand and that information somehow being
> made available to everyone else.

Could this be done somewhat analagous to the way the sstate stuff works, in the
sense you could specify a local or remote line count mirror, or use a local
directory. The first time a unique task is run, the line count from the output
is saved in the line count db. On subsequent runs, it would detect there's
already an entry in the db and would be able to provide the progress report.

Similar to the way an autobuilder can create a shared sstate mirror, when a task
is run on an autobuilder, it could save the line count and make it available to
other consumers, so on first run you would get a progress report, rather than
having to bootstrap the line counts first.

    -Bill


More information about the Openembedded-core mailing list