Parallelize builds #168
Labels
conclusion: duplicate
Has already been submitted
topic: code
Related to content of the project itself
type: enhancement
Proposed improvement
I seriously doubt if anyone here are still stuck with a single-core processor. My three computers have 2, 4 and 16 hyper-threading cores respectively. Since almost everyone have a multi-core (or at least hyper-threading) processor why not take advantage of it, by parallelizing the build process?
Multiple instances of GCC can be launched at the same time. So you can perform core count detection upon launch (people can upgrade their processors after installing the software) and when compiling, use as many cores as possible. Building multi-compile-unit code is an embarrassingly parallel problem.
As of presentation, the
-k
flag from GNU Make is my personal favorite.The text was updated successfully, but these errors were encountered: