Date: Thu, 23 Jan 2014 09:52:55 -0700 (MST) From: Warren Block <wblock@wonkity.com> To: Kevin Oberman <rkoberman@gmail.com> Cc: Thomas Hoffmann <trh411@gmail.com>, Jakub Lach <jakub_lach@mailplus.pl>, freebsd-current <freebsd-current@freebsd.org> Subject: Re: Lessons learned from source upgrade from FreeBSD i386 9.2 Stable to FreeBSD i386 10.0 Release. Message-ID: <alpine.BSF.2.00.1401230947460.76961@wonkity.com> In-Reply-To: <CAN6yY1t6NYyZvnE0Q40is17Y6DKs9B2CCCq4rSmOhjD3sWyczQ@mail.gmail.com> References: <52E09F68.8020804@UToledo.edu> <1390486224478-5879039.post@n5.nabble.com> <alpine.BSF.2.00.1401230748450.76961@wonkity.com> <CAB7-od=jH_eiWoMWEFZ_CzDCrBdHonx3se1YkPX75Zwo-y_R%2Bw@mail.gmail.com> <CAN6yY1t6NYyZvnE0Q40is17Y6DKs9B2CCCq4rSmOhjD3sWyczQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 23 Jan 2014, Kevin Oberman wrote: > On Thu, Jan 23, 2014 at 7:47 AM, Thomas Hoffmann <trh411@gmail.com> wrote: > On Thu, Jan 23, 2014 at 9:56 AM, Warren Block <wblock@wonkity.com> wrote: > > > > > > Using -DNOCLEAN with an existing /usr/obj can go even faster than ccache: > > less than two minutes for a buildworld on my frequently updated i5/SSD > > system, sometimes less than one minute. > > > Can you elaborate on this, please? I always clear my /usr/obj before > starting a buildworld, which takes 2 hours to run on my system. Are you > saying if I do "make -DNOCLEAN buildworld" I do not have to clear /usr/obj > first Yes. Removing /usr/obj is a faster way of doing 'make clean', mostly. > AND my buildworld will run faster Yes, because make will see that many/most files have already been built. > (AND with no downside)? Well... mostly. :) I noticed that after 10.0-RELEASE, uname on my system still said "PRERELEASE". That code had not been rebuilt because make did not see it as needing a rebuild. You can still delete /usr/obj and run a full buildworld from scratch every so often. I should give credit to bdrewery@ for reminding me about -DNOCLEAN when I was whining about ccache not working on 10.0. It turned out to be a better solution.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1401230947460.76961>