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


Hi Michael, Hi all,

On Mon, 04 Apr 2011 15:07:32 +0100
Michael Meeks <michael.meeks@novell.com>
wrote:

stats file
   1428 /data/opt/libreoffice/bootstrap/clone/writer/sw/inc/swdllapi.h

Hmmm:
find solver/300/unxlngx6.pro/workdir/Dep/CxxObject/sw|xargs grep
swdllapi.h|wc -l
1425

Thats too close to be a accidental. It seems like GNU make restats
every target everytime it gets named as a dependency without any
caching (or expecting the OS to do the caching).

Another thing I came across:
find solver/300/unxlngx6.pro/workdir/Dep/CxxObject/sw|xargs grep
swdllapi.h|sort|uniq|wc -l
748

It seems that the dep files generated by gcc have duplicates. This
could:
a) be fixed in gcc itself.
b) be fixed by sorting out duplicates when generating the dep file. This
   could be done in the solenv/gbuild/processdeps.awk(*) script and
   would then likely result in a 100% speedup.

Best,

Bjoern


(*) Currently only used on Windows as it mainly normalizes some cygwin
paths. But as it also makes absolute paths relative to the $(SRCDIR),
$(WORKDIR), $(OUTDIR), $(REPODIR) roots, you do not have to generate
all dep files because of absolute paths when moving your tree in the
filesystem, which is nice to have on all platforms IMHO.

-- 
https://launchpad.net/~bjoern-michaelsen

Attachment: signature.asc
Description: PGP signature


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.