[Libreoffice] [ANNOUNCE] replacement of concat.deps.pl with concat.deps (c-version)

Norbert Thiebaud nthiebaud at gmail.com
Sat Dec 17 09:13:39 PST 2011


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).


More information about the LibreOffice mailing list