c++performancesolarissunstudio

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.


Solution

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