Hi Michael, Hi all,

On Mon, 04 Apr 2011 15:07:32 +0100
Michael Meeks <michael.me...@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

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to