Re: WITH_META_MODE: base clang excessive compiles

From: Simon J. Gerraty <sjg_at_juniper.net>
Date: Tue, 28 Jan 2025 22:49:04 UTC
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,