Want info on parallel makes

Bob Sutterfield bob at MorningStar.Com
Thu Jul 12 04:17:27 AEST 1990


GNU Make, when invoked with the -j<number> option, will do up to
<number> tasks in parallel.  Rather than requiring a novel Makefile
syntax, it deduces independent tasks from a well-written but otherwise
normal Makefile.  Once forked by the Makefile, tasks are subject to
the operating system's normal process scheduler.  It can perform some
tasks in parallel, then a few in serial, then some more in parallel,
if the dependencies are appropriate.

For example, `gmake -j7 libXt.a' is about right for a Sun-4/60 with
16Mb, plenty of swap space, and nothing else to do.  If your CC is gcc
and your CFLAGS include -pipe, you may want to back down to -j4 or so.



More information about the Comp.unix.questions mailing list