Date: Thu, 24 Jan 2008 15:32:18 -0500 From: "Maxim Khitrov" <mkhitrov@gmail.com> To: "Aryeh M. Friedman" <aryeh.friedman@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: speeding up buildworld/kernel Message-ID: <26ddd1750801241232l51792bf3ydc02e17e4be49d6e@mail.gmail.com> In-Reply-To: <4798F1D0.3090009@gmail.com> References: <4798F1D0.3090009@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Jan 24, 2008 3:15 PM, Aryeh M. Friedman <aryeh.friedman@gmail.com> wrote: > I update my sources at least once a day and do buildworld/kernel just > as often... It seems some stuff that needs not be recompiled is on > every single run for example gcc and kerbos. I have NO_CLEAN in > /etc/make.conf is there anything else I can do to speed stuff up... > for ref here is my /etc/make.conf: > > CPUTYPE?=nocona > KERNCONF=MONSTER > NO_CLEAN= > NO_LPR= > # added by use.perl 2008-01-17 11:48:48 > PERL_VER=5.8.8 > PERL_VERSION=5.8.8 > > - -- > Aryeh M. Friedman > FloSoft Systems, Java Tool Developers > Developer, not business, friendly > http://www.flosoft-systems.com I might be wrong, but NO_CLEAN seems like a bad idea except in special circumstances. Install ccache, but make sure you set CCACHE_HASH_COMPILER environment variable to 1. That will make sure that the cache stays valid if the compiler executable is overwritten by an identical copy (as it would be on installworld). When the compiler changes the cache will be repopulated on the next rebuild. - Max
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?26ddd1750801241232l51792bf3ydc02e17e4be49d6e>