Re: meta mode

2024-02-14 Thread Simon J. Gerraty
> 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? The key focus of META_MODE is more reliable incremental builds, ensuring targets are updated when anything that

Re: meta mode

2024-02-14 Thread Nuno Teixeira
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 escreveu (domingo, 28/01/2024 à(s) 01:43): > > > I use meta-mode in /etc/src-env.conf so that if (fo

Re: meta mode

2024-01-27 Thread Simon J. Gerraty
> 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) Almo

Re: meta mode

2024-01-27 Thread void
On Sat, 27 Jan 2024, at 13:59, Warner Losh wrote: > 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 wi

Re: meta mode

2024-01-27 Thread void
Hi, On Sat, 27 Jan 2024, at 13:51, Lexi Winter wrote: > the (easiest) fix for that is to do a full rebuild every time > __FreeBSD_version changes. > > pkg(8) bug report: https://github.com/freebsd/pkg/issues/2162 > > i don't know if meta mode will catch this and rebuild correctly, but > since thi

Re: meta mode

2024-01-27 Thread Warner Losh
On Sat, Jan 27, 2024, 6:12 AM void 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 rebu

Re: meta mode

2024-01-27 Thread Lexi Winter
void: > 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? one case this is required in non-meta mode is if you use pkg(8) (e.g., with poudriere