svn commit: r334320 - in head/sys: cddl/compat/opensolaris/kern cddl/compat/opensolaris/sys i386/include

Ed Maste emaste at freebsd.org
Tue May 29 14:00:42 UTC 2018


On 29 May 2018 at 09:10, Hans Petter Selasky <hps at selasky.org> wrote:
>
> I only tested buildkernel i386 LINT + GENERIC with this change. I will have
> a look ASAP.

On IRC the suggestion was made to run buildworld for any header
change, and I think this seems like a reasonable standard.

Our full buildworld times are admittedly quite long, so if you have a
suitably up-to-date toolchain on the build host you can skip building
toolchain components with something like:

make -DWITHOUT_TOOLCHAIN -DWITHOUT_CLANG_BOOTSTRAP
-DWITHOUT_LLD_BOOTSTRAP buildworld

That should give much of the build coverage benefit without taking so
long. On my little NUC desktop (with -j8) this took about 30 minutes.

In addition many folks have put a lot of effort into making non-clean
builds work - both meta-mode and conventional. I've generally been
building with -DNO_CLEAN for a few years now. The same build with
-DNO_CLEAN added and after `touch atomic.h` (again on the NUC) took
about 3 minutes.


More information about the svn-src-head mailing list