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


concat-deps.pl had become a horrible cpu hogs

I just pushed 
http://cgit.freedesktop.org/libreoffice/core/commit/?id=e3e94f141e15f5501ed81402a70beb10b85ccd6f
that replace it with a c-version that is about 15 times faster (cpu
wise) - which translated to a gain of up to 90 seconds on the elapsed
of tail_build alone in my tests.

if you get a concat-deps not found, you need to run ./bootstrap
I 'touched' configure.in in the above commit to force the chance that
./bootstrap be run.. so unless you pull and do directly a partial
build you should be fine.

I tested it on linux, mac-intel and minggw cross-compile. (*)

If you have issues with all this, and easy way to 'revert' to
concat-deps.pl is to change in
solenv/gbuild/LinkTarget.mk the one line that refer to concat-deps to
concat-deps.pl

concat-deps.c is built in ./bootstrap. it is a one liner, line 78 at
this time. If you comment that line out and do the change above you
are exactly back to the way it worked before...

Norbert

(*) it is pretty straight forward C... the one thing that can throw a
wrench in it is fancy eol in input files. input file (individual *.d)
are expected to be LF file (not CRLF or CR files).

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.