From owner-freebsd-questions Wed Mar 13 13:57:37 2002 Delivered-To: freebsd-questions@freebsd.org Received: from obsecurity.dyndns.org (adsl-64-165-226-239.dsl.lsan03.pacbell.net [64.165.226.239]) by hub.freebsd.org (Postfix) with ESMTP id 11DAE37B417; Wed, 13 Mar 2002 13:57:33 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 60A9966C76; Wed, 13 Mar 2002 13:57:31 -0800 (PST) Date: Wed, 13 Mar 2002 13:57:31 -0800 From: Kris Kennaway To: Jens Rehsack Cc: stable@freebsd.org, questions@freebsd.org Subject: Re: make -jx fails Message-ID: <20020313135731.E5942@xor.obsecurity.org> References: <3C8F3828.3265D298@liwing.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="PGNNI9BzQDUtgA2J" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3C8F3828.3265D298@liwing.de>; from rehsack@liwing.de on Wed, Mar 13, 2002 at 12:29:44PM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --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-questions" in the body of the message