From owner-freebsd-hackers@FreeBSD.ORG Sun Aug 15 20:37:38 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 87E1516A526 for ; Sun, 15 Aug 2004 20:37:36 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51AF743E52 for ; Sun, 15 Aug 2004 20:09:28 +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 i7FK9Lab014676 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 15 Aug 2004 23:09:22 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.12.11/8.12.11) id i7FK9PRQ061776; Sun, 15 Aug 2004 23:09:25 +0300 (EEST) (envelope-from ru) Date: Sun, 15 Aug 2004 23:09:25 +0300 From: Ruslan Ermilov To: Geert Hendrickx Message-ID: <20040815200925.GC61654@ip.net.ua> References: <20040810223606.GA75648@lori.mine.nu> <20040811124714.GA51160@eddie.nitro.dk> <20040814080337.GA17811@lori.mine.nu> <20040815165330.GA4726@odin.ac.hmc.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8X7/QrJGcKSMr1RN" Content-Disposition: inline In-Reply-To: <20040815165330.GA4726@odin.ac.hmc.edu> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new cc: freebsd-hackers@FreeBSD.org Subject: Re: make "quickworld"? (like in DragonFly) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Aug 2004 20:37:38 -0000 --8X7/QrJGcKSMr1RN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 15, 2004 at 09:53:30AM -0700, Brooks Davis wrote: > On Sat, Aug 14, 2004 at 10:03:37AM +0200, Geert Hendrickx wrote: > > On Wed, Aug 11, 2004 at 02:47:14PM +0200, Simon L. Nielsen wrote: > > > On 2004.08.11 00:36:06 +0200, Geert Hendrickx wrote: > > > > Hi,=20 > > > >=20 > > > > is there any way (or could it be implemented) to rebuild only the > > > > changes in world and kernel sources after a cvsup? DragonFly BSD > > > > features "make quickworld" and "make quickkernel" which does exactly > > > > that. =20 > > >=20 > > > You can do that already: > > >=20 > > > make buildworld buildkernel -DNOCLEAN > >=20 > > Does adding "NOCLEAN=3Dtrue" to /etc/make.conf have the same effect? = =20 >=20 > Yes, but it's likely to attract flames because NOCLEAN does fail. If > you forget it's in your make.conf there's a good chance you could report > a bug that isn't a bug a waste a bunch of developer time. >=20 Yes, please don't use NOCLEAN routinely. It's certainly okay to use it if you started a clean build, it failed for some reason, you corrected a cause, and want to resume. If may also work if you've updated the sources, but no guarantees -- often it has been shown that "make clean" is necessary to remove some old cruft that now conflicts with the new sources. For example, if compiler sources have been updated, it can generate different code, but foo.o will only depend on foo.c, and will not be rebuilt if you use -DNOCLEAN. In short, don't use it if you don't fully understand all the consequences. ;) Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --8X7/QrJGcKSMr1RN Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBH8L1qRfpzJluFF4RApYhAJ4tEPwJBBKjnQBnrJ7n/uLZnqjBGQCfTe// pETYjd8Q5ciAr7AvxECx8Tg= =EMle -----END PGP SIGNATURE----- --8X7/QrJGcKSMr1RN--