Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Aug 2004 23:09:25 +0300
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Geert Hendrickx <geert.hendrickx@ua.ac.be>
Cc:        freebsd-hackers@FreeBSD.org
Subject:   Re: make "quickworld"? (like in DragonFly)
Message-ID:  <20040815200925.GC61654@ip.net.ua>
In-Reply-To: <20040815165330.GA4726@odin.ac.hmc.edu>
References:  <20040810223606.GA75648@lori.mine.nu> <20040811124714.GA51160@eddie.nitro.dk> <20040814080337.GA17811@lori.mine.nu> <20040815165330.GA4726@odin.ac.hmc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040815200925.GC61654>