[brlcad-devel] Cmake Vs. Autotools: Time to Configure, Build, and Install
Open Source Solid Modeling CAD
Brought to you by:
brlcad
|
From: Tom B. <tom...@gm...> - 2012-04-06 15:42:02
|
Since I've started building BRL-CAD withh cmake I've felt that a cmake
build was slower than an autotools one, but, while testing the vdeck
move, I got a chance to time them both:
autotools:
========
time (sh autogen.sh ; ./configure --prefix=/usr/brlcad/dev-7.21.0) : 1m 50s
time make -j4 : 8m 3s
time sudo make install : 1m 43s
total: 11m 36s
cmake:
======
time cmake ../brlcad-svn/brlcad-trunk -DBRLCAD_BUNDLED_LIBS=ON \
-DBRLCAD_ZLIB=OFF \
-DCMAKE_BUILD_TYPE=Rel \
-DBRLCAD_ENABLE_OPENGL=ON : 1m 33s
time make -j4 : 17m 12s
time sudo make install : 1m 8s
total: 19m 53s
So my feeling was confirmed (although not very scientifically).
Best regards,
-Tom
|