Skip to content

make

Parallel compilation

To compile more jobs at once you can specify -j, for instance :

parallel compile
make -j 8

But you probably want to use all processors when in a hurry, in my experience this does not hamper normal operation on the system so to use all you can put this in your .bashrc file :

persistent
export MAKEFLAGS="-j "`nproc`

But note that now it will always use parallel make until you unset MAKEFLAGS.