Page 1 of 1

use make -j instead of make to speed up compilation

Posted: 2013-04-14T10:02:29-07:00
by NicolasRobidoux
ImageMagick compication (or recompilation) can take a substantial amount of time.
Use

Code: Select all

make -j(number of logical cores + 1)
instead of

Code: Select all

make
to make (re)compilation of ImageMagick (or anything else, for that matter) less painful on a CPU with multiple (logical) cores.
For example, with an Intel i5, use

Code: Select all

make -j5
. "5" is used because i5 chips have 4 logical cores. So, (number of logical cores) + 1 = 4 + 1 = 5.