Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Feb 2024 11:46:56 +0000
From:      Nuno Teixeira <eduardo@freebsd.org>
To:        "Simon J. Gerraty" <sjg@juniper.net>
Cc:        void <void@f-m.fm>, freebsd-current@freebsd.org
Subject:   Re: meta mode
Message-ID:  <CAFDf7U%2Bjmc9oEYTDSN83AFuTA1a-W6Z_RSqPHG=0nQDFP8W44w@mail.gmail.com>
In-Reply-To: <71141.1706406125@kaos.jnpr.net>
References:  <8c42cc06-d3de-432e-82ab-7fe040197223@app.fastmail.com> <71141.1706406125@kaos.jnpr.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Can we say that META is for speeding consecutives builds tracking
current/stable and META + DIRDEPS for developing/testing specific
parts of base code  with speed + debug in mind?

Simon J. Gerraty <sjg@juniper.net> escreveu (domingo, 28/01/2024 =C3=A0(s) =
01:43):
>
> > I use meta-mode in /etc/src-env.conf so that if (for example) a small
> > change in the kernel config is made, the machine doesn't take hours
> > recompiling.
>
> > But, from time to time, one might be required to make
> > cleanworld && make cleandir (to be sure) && make clean (to be *really* =
sure)
>
> Almost never (as Warner said).
> I have trees that go for years without ever being cleaned.
> Unless I'm collecting timing data for clean tree builds.
>
> If you use DIRDEPS_BUILD as well as META_MODE, there can be cases where
> you need the stage tree cleaned (staging is like auto-install to
> DESTDIR).  The most common case is when a library has switched from
> staging its headers from $STAGE_ROOT/$MACHINE/usr/include to
> $STAGE_ROOT/common/usr/include (so they only get staged once), if you
> don't clean out $STAGE_ROOT/$MACHINE/usr/include, builds will continue to
> find headers there that should be found in
> $STAGE_ROOT/common/usr/include and thus revert Makefile.depend changes.
> We added a mechanism to allow triggering auto-clean of stage tree when su=
ch
> changes are made.
>
> --sjg
>


--=20
Nuno Teixeira
FreeBSD Committer (ports)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7U%2Bjmc9oEYTDSN83AFuTA1a-W6Z_RSqPHG=0nQDFP8W44w>