How can I speed up the build process?
Clang can be started several times simultaneously, thereby allowing parallel compilation processes that can considerably speed up the build process. Build automation tools like make
and ninja
support parallel builds via the -j <number_of_builds>
command line option.
The HighTec IDE supports this as well. Right-click on your project, Properties → C/C++ Build → Behavior, and check the box "Enable parallel build".
During the build process, the compiler usually generates temporary intermediate files that are processed by the assembler. Setting the compiler option -pipe causes further speed-up by omitting the generation of intermediate files and, instead, transferring the results of the compiler directly to the assembler via pipes.
|