Good read.

The only suggestion I would make is for Unix Makefiles, rather than running 
'make -jN' is to run 'make -j -lN' which tells make to use as many cores until 
the load is greater than N.

This is nice because if I have a 12 core system, I can do 'make -j -l12' and it 
will build using 12 if I'm not doing anything else. But if I'm, say, looking at 
data in Paraview and that's using up a core, then make will only take 11 cores 
and not bog my system down. It makes it much nicer if you are doing multiple 
things on the same machine doing the compilation.

Tim

----- Original Message -----
From: "Bill Hoffman" <[email protected]>
To: "cmake" <[email protected]>
Sent: Thursday, January 10, 2013 4:28:46 PM
Subject: [CMake] Blog on parallel builds with CMake

I just put up a blog about parallel builds with CMake, that might be of 
interest to folks on the list:

http://www.kitware.com/blog/home/post/434

-Bill
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to