Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to speed up C++ compilation times in Solaris Sun Studio 12?

Since I am compiling my C++ code on a very server box (32 or 64 cores in total), is there a way of tweaking compiler options to speed up the compilation times? E.g. to tell compiler to compile independent .cpp files using multiple threads.

like image 771
Steve Avatar asked Dec 23 '22 01:12

Steve


1 Answers

Sun Studio includes parallel build support in the included dmake version of make. See the dmake manual for details.

like image 52
alanc Avatar answered Dec 24 '22 15:12

alanc