[Bug 292130] NO_CLEAN knob documentation vs WITH_CLEAN
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 292130] NO_CLEAN knob documentation vs WITH_CLEAN"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 02 Jan 2026 20:23:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292130
Ed Maste <emaste@freebsd.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |emaste@freebsd.org
--- Comment #1 from Ed Maste <emaste@freebsd.org> ---
You can still set -DNO_CLEAN, and it will still have the same effect as always
(will not clean before doing the build, independent of what the default is),
and some developers still use it so it should be documented. E.g. if WITH_CLEAN
is set in src.conf -DNO_CLEAN on the command line would have the desired
effect.
Summary of clean build settings:
- no-clean builds are the default
- as a general rule no-clean builds should be functional. We have a hack to fix
up cases where dependencies fail (tools/build/depend-cleanup.sh) as well as a
heavier-weight mechanism to trigger a full clean build when necessary (e.g.
across compiler updates). If a no-clean build fails it's a bug that should be
fixed using one of those two mechanisms
- WITH_CLEAN can be set in src.conf to override the no-clean default
- -DNOCLEAN and -DNO_CLEAN are accepted on the command line for backwards
compatibility and will perform a clean build, overriding a WITH_CLEAN setting
--
You are receiving this mail because:
You are the assignee for the bug.