Date: Wed, 13 Mar 2002 13:57:31 -0800 From: Kris Kennaway <kris@obsecurity.org> To: Jens Rehsack <rehsack@liwing.de> Cc: stable@freebsd.org, questions@freebsd.org Subject: Re: make -jx fails Message-ID: <20020313135731.E5942@xor.obsecurity.org> In-Reply-To: <3C8F3828.3265D298@liwing.de>; from rehsack@liwing.de on Wed, Mar 13, 2002 at 12:29:44PM %2B0100 References: <3C8F3828.3265D298@liwing.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--PGNNI9BzQDUtgA2J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 13, 2002 at 12:29:44PM +0100, Jens Rehsack wrote: > Hi, >=20 > I tried multiple times to build world, kernel or ports using > "make -j2" or "make -j4". In most cases the results were useless, > because make seems to run sequential steps parallel. >=20 > A "make -j2 install clean" in a port directory sometimes makes > install and clean simultanous. This is the best way to reproduce > it - buildworld takes to long on this system. Yes, which is why you shouldn't do it that way. make -j2 [target] && make install clean won't try and run the install or clean targets in parallel. [target] should be 'buildworld' or 'buildkernel' for compiling world/kernel. For ports, parallel compilation isn't likely to work for a lot of ports so you shouldn't complain if it fails; but if you want to try it then you can use what Pete suggested. Kris --PGNNI9BzQDUtgA2J Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8j8tKWry0BWjoQKURAqbrAKD8GVN6EIGDdq+nNMZaPmtqM5IrbACgtu2W 6GVsT+ydTjGb84VAdAlQMQ8= =v5ez -----END PGP SIGNATURE----- --PGNNI9BzQDUtgA2J-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020313135731.E5942>