History log of /freebsd/.clean_build_epoch (Results 1 – 1 of 1)
Revision Date Author Comments
# 0090096e 15-Aug-2025 Kyle Evans <kevans@FreeBSD.org>

build: introduce the notion of a build epoch

Idea and file format shamelessly stolen from CheriBSD, but reimplemented
in terms of the standard FreeBSD build system. We'll use this in some
events th

build: introduce the notion of a build epoch

Idea and file format shamelessly stolen from CheriBSD, but reimplemented
in terms of the standard FreeBSD build system. We'll use this in some
events that call for a deeper cleansing, typically reserved for
situations where the dependencies are too complicated to unwind. This
notably does not preclude us from doing separate cleansing of world for
specific src.conf(5) knob changes that would require a rebuild.

In the FreeBSD version, we either stamp the OBJTOP we're cleaning
(bootstrap or the full OBJDIR) with the current epoch and bail out for
unstamped objdirs, or we compare and either `rm -rf` or `cleandir` as
necessary.

Reviewed by: brooks, des
Differential Revision: https://reviews.freebsd.org/D51848

show more ...