Re: WITH_META_MODE: base clang excessive compiles

From: Nuno Teixeira <eduardo_at_freebsd.org>
Date: Tue, 28 Jan 2025 23:16:52 UTC
Hello!

So nice, I can see now:

Skipping meta for ...: ...
some_file.meta: 23: file 'other' is newer than the target...

This is great!

Thank you so much,

Simon J. Gerraty <sjg@juniper.net> escreveu (terça, 28/01/2025 à(s) 22:51):

> Nuno Teixeira <eduardo@FreeBSD.org> wrote:
> > Just to check that I'm using the correct setting for WITH_META_MODE
> > since almost everytime I update main tree, I got clang compiled.
> >
> > Is that normal?
>
> Quite possibly.  You can add -dM to your make command line and meta mode
> will explain why it thinks a target is out of date.
> If you see a target built without comment from meta mode, then the
> normal oodate rules said it was out-of-date.
>
> >
> > --
> > $ kldstat | grep filemon
> > 11    1 0xffffffff849f2000     3250 filemon.ko
> >
> > /etc/src-env.conf:
> > WITH_META_MODE=yes
> > ---
> >
> > (maybe usefull to show this as well)
> > /etc/src.conf:
> > WITH_MALLOC_PRODUCTION=yes
> > WITHOUT_LLVM_ASSERTIONS=yes
> >
> > /etc/make.conf:
> > KERNCONF=GENERIC-NODEBUG
> > DEVELOPER=yes
> > DEVELOPER_MODE=yes
> > PORTSDIR=/home/nunotex/Work/freebsd/ports/main
> > DISTDIR=/Arq/DISTFILES
> >
> > Thanks,
>


-- 
Nuno Teixeira
FreeBSD UNIX:  <eduardo@FreeBSD.org>   Web:  https://FreeBSD.org