make -k not working

Thiago Macieira thiago at kde.org
Fri Mar 31 18:10:01 CEST 2006


Matt Rogers wrote:
>On Friday 31 March 2006 04:20, Thiago Macieira wrote:
>> Alexander Neundorf wrote:
>> >> Even without the flat build and starting compilation of the next
>> >> target's sources while the current one hasn't finished linking
>> >> (which means the compile farm starves for a while), cmake building
>> >> of kdelibs is faster than the equivalent unsermake build.
>> >
>> >Really ?
>> >Nice to hear :-)
>> >Do you have numbers ?
>>
>> No, I don't have numbers. This is just feeling.
>>
>> I'll try to build now and will post the numbers.
>
>the first dashboard runs i did took an average 45 minutes to compile.
> build logs from kde 3.5 kdesvn-build runs said it took an average of 50
> minutes to compile kdelibs.
>
>this is a bit like comparing apples to oranges, but hopefully it's close
>enough for a good comparison.
>
>the one thing that doesn't seem to be as fast with cmake is moc and uic
>generation, but that is probably only my perception. :)

This was the build time on make -kj25:
321.67user 105.39system 11:08.05elapsed 63%CPU (0avgtext+0avgdata 
0maxresident)k
0inputs+0outputs (209major+7874919minor)pagefaults 0swaps
Load average was around 8-9 most of the time and the compilation 
succeeded.

For unsemake --compile-jobs=25 -k, this was the build time:
294.79user 150.16system 11:03.03elapsed 67%CPU (0avgtext+0avgdata 
0maxresident)k
0inputs+0outputs (110major+13870575minor)pagefaults 0swaps
Load average was around 9-11, but the compilation failed (it went as far 
as linking libDCOP.la). This is the first error that I noticed (I might 
have let others slip by):
/home/tjmaciei/src/kde4/KDE/kdelibs/kabc/kab/../addressbook.h:29:23: 
error: addressee.h: No such file or directory

To get another comparison, I compiled KDE Libs 3.5:
665.60user 273.01system 22:38.50elapsed 69%CPU (0avgtext+0avgdata 
0maxresident)k
0inputs+0outputs (256major+38426195minor)pagefaults 0swaps
Load average between 9-11 too.

That's TWICE as long. There's some linking happening before, but ~11 
minutes into the build, it does only linking. So that's another 11 
minutes linking!

(The compile farm was never saturated in any case.)

-- 
Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
  thiago.macieira (AT) trolltech.com     Trolltech AS
    GPG: 0x6EF45358                   |  Sandakerveien 116,
    E067 918B B660 DBD1 105C          |  NO-0402
    966C 33F5 F005 6EF4 5358          |  Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20060331/3dbc31c2/attachment.pgp 


More information about the Kde-buildsystem mailing list