IT lexicon › Programming › Parallel make

Parallel make

Programming På svenska → Updated: 2026-11-13

Running multiple build jobs in parallel to utilize all available CPU cores.

`make -j4` tells Make to run up to 4 jobs simultaneously instead of one at a time. Standard practice on all multicore systems — a quad-core machine is typically 3–4× faster than single-threaded builds. GNU Make has supported this since version 3.80 (1999). Parallelization is straightforward for compilation tasks (no dependencies between object files) but requires correct rule declaration to avoid race conditions in the build graph.

← Back to the lexicon