From owner-freebsd-current@FreeBSD.ORG Wed Aug 11 06:48:09 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 843D616A4CE for ; Wed, 11 Aug 2004 06:48:09 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id B09DF43D45 for ; Wed, 11 Aug 2004 06:48:08 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id i7B6lx8G045784 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 11 Aug 2004 09:47:59 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.12.11/8.12.11) id i7B6m0pS080654; Wed, 11 Aug 2004 09:48:00 +0300 (EEST) (envelope-from ru) Date: Wed, 11 Aug 2004 09:48:00 +0300 From: Ruslan Ermilov To: Julian Elischer Message-ID: <20040811064800.GF80234@ip.net.ua> References: <4119512A.6070001@elischer.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0rSojgWGcpz+ezC3" Content-Disposition: inline In-Reply-To: <4119512A.6070001@elischer.org> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new cc: current@freebsd.org Subject: Re: make -DRESTART buildworld X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Aug 2004 06:48:09 -0000 --0rSojgWGcpz+ezC3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 10, 2004 at 03:50:18PM -0700, Julian Elischer wrote: >=20 > Could someone who knows the buildworld target give a comment as to=20 > whether it would > be possible to do a -DRESTART option? >=20 > I have done -DNOCLEAN but it still does quite a bit.. > it would be nice to have an option that did > -DNOCLEAN and -DNO_TOOLS -DNO_MKDEP and -DNO_CHROOTLIBS > (if they existed, and went straight to doing the build where it left off= =20 > (and where you > probably fixed the problem.. >=20 > it's really annoying to have to restart the buildworld after if falls=20 > over 95% through and have it start > at the beginning again.. >=20 ``make -f Makefile.inc1 -V WMAKE_TGTS'' will give you an ordered list of buildworld subtargets, so you can control where exactly you want to restart (no checking is done!). You can call of these targets, even underscored ones, from the main src/Makefile (with plain "make "). I often use ``make everything'', the last stage of buildworld, to restart a failed but almost complete buildworld. This is probably exactly what you're looking for at the moment. You can even limit the scope of the rebuild as follows (to check if you've really fixed your problem, and assuming all previous buildworld substages completed successfully): make everything SUBDIR_OVERRIDE=3D"bin/test usr.bin/vacation" Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --0rSojgWGcpz+ezC3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBGcEgqRfpzJluFF4RAspoAJ9RVIfLQhLFCDue4v5FK8oV0XKVXACcDEnE okSjJlRqjDmaKrGLGvWPhkg= =Am8T -----END PGP SIGNATURE----- --0rSojgWGcpz+ezC3--