Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jan 2024 06:59:50 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        void <void@f-m.fm>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: meta mode
Message-ID:  <CANCZdfpQen42hRXcNG085rYtuv0UjtnJ=szNF-oSh8iDNnmMHw@mail.gmail.com>
In-Reply-To: <8c42cc06-d3de-432e-82ab-7fe040197223@app.fastmail.com>

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

[-- Attachment #1 --]
On Sat, Jan 27, 2024, 6:12 AM void <void@f-m.fm> wrote:

> Hi,
>
> 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.
>
> Also, (I *think* it works this way) if src gets updated by git and
> world/kernel rebuilt it won't recompile already compiled files provided
> I don't delete /usr/obj/*
>
> But, from time to time, one might be required to make
> cleanworld && make cleandir (to be sure) && make clean (to be *really*
> sure)
>
> What circumstances & notices in /usr/src/UPDATING would require it?
>

Approximately never. The only time I've had issues were when the machine
crashed due to sudden power failure during the build which lead to the last
few .o files to be zero length with UFS.

Non clean normal builds have lots of issues with moved files. But meta mode
steers clear of them.

Warner

>

[-- Attachment #2 --]
<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jan 27, 2024, 6:12 AM void &lt;<a href="mailto:void@f-m.fm">void@f-m.fm</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I use meta-mode in /etc/src-env.conf so that if (for example) a small<br>
change in the kernel config is made, the machine doesn&#39;t take hours recompiling.<br>
<br>
Also, (I *think* it works this way) if src gets updated by git and <br>
world/kernel rebuilt it won&#39;t recompile already compiled files provided<br>
I don&#39;t delete /usr/obj/*<br>
<br>
But, from time to time, one might be required to make<br>
cleanworld &amp;&amp; make cleandir (to be sure) &amp;&amp; make clean (to be *really* sure)<br>
<br>
What circumstances &amp; notices in /usr/src/UPDATING would require it?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Approximately never. The only time I&#39;ve had issues were when the machine crashed due to sudden power failure during the build which lead to the last few .o files to be zero length with UFS.</div><div dir="auto"><br></div><div dir="auto">Non clean normal builds have lots of issues with moved files. But meta mode steers clear of them.</div><div dir="auto"><br></div><div dir="auto">Warner </div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfpQen42hRXcNG085rYtuv0UjtnJ=szNF-oSh8iDNnmMHw>