Subject: Parallell builds of programs in pkgsrc
To: None <>
From: Lars Nordlund <>
List: tech-pkg
Date: 10/28/2004 00:19:50

Is there an easy way to get the most out of an SMP box by building
several pkgsrc at the same time? For example if pkg_chk (I use that in
combination with a pkgchk.conf file for easy setup of a new machine)
could sub-shell away multiple things or if the top-level make just did
two dependancies at the same time?

Adding 'BUILD_MAKE_FLAGS+=-j 3' to /etc/mk.conf excercises my SMP
machine quite good, until the package build bombs. Probably because the
package specific makefiles do not support the -j flag?

Best regards
	Lars Nordlund