Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


On Thu, Oct 20, 2011 at 7:56 AM, Bjoern Michaelsen
<bjoern.michaelsen@canonical.com> wrote:
On Thu, Oct 20, 2011 at 02:25:33PM +0200, Jan Holesovsky wrote:
So I think we could do it even without patching gnumake ;-)  I'd just
increment a global variable in in every gb_LinkTarget_add_*
(solenv/gbuild/LinkTarget.mk) - that way we'd get the sum of how many
'things' to do; and then the progress would be tracked in
gb_Output_announce (solenv/gbuild/Output.mk), by incrementing another
variable.

Most probably it wouldn't be 100% precise, but good enough for zenity?

That would work well for full builds, but not for incremental ones.

maybe doing a similar things but based on $W/Module/<foo>
count the modules to be built (makafile loaded) and count the 'touch'
to $W/Module/*
that should give the same granularity level that the old-dmake based with zenity

Norbert

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.