[CMake] FYI - From Ninja-build mailing list - Fwd: Proposal: restat rules

Bill Hoffman bill.hoffman at kitware.com
Wed Oct 5 15:45:07 EDT 2011



I just tried this on a machine here.

"svn co svn://anonsvn.kde.org/home/kde/branches/work/kst/portto4/kst"

CMake build:
make -j8

real    3m19.131s
user    16m31.866s
sys     3m25.289s

Qmake build:
real    2m55.761s
user    15m15.585s
sys     1m58.203s
mp/../viewitem.h:92: warning: unused parameter 'f'
tmp/../viewitem.h:92: warning: unused parameter 'c'
rm -f libkst2app.so.1.0.0 libkst2app.so libkst2app.so.1 libkst2app.so.1.0
linking ../../build/lib/libkst2app.so.1.0.0
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make[1]: *** [../../build/lib/libkst2app.so.1.0.0] Error 1
make[1]: Leaving directory `/home/hoffman/kst-qmake/src/libkstapp'
make: *** [sub-src-libkstapp-make_default-ordered] Error 2


So, for me the qmake build had a total failure after almost taking as 
long to build.  So, CMake wins because the qmake build never actually 
finishes... :)

BTW, This is an 8 core machine.  What are you building on to get .5 
minute builds?  Something is odd here...

-Bill






More information about the CMake mailing list