| #
dc5f8c34
|
| 20-Aug-2025 |
Kyle Evans <kevans@FreeBSD.org> |
build: Switch CLEAN back off by default, again
Now that we have the notion of a build epoch, we have sufficient tooling to handle changes that might need a larger hammer to unbreak the build.
Futur
build: Switch CLEAN back off by default, again
Now that we have the notion of a build epoch, we have sufficient tooling to handle changes that might need a larger hammer to unbreak the build.
Future changes may extend our cleanup to avoid scenarios like with the MITKRB5 knob where flipping it will still require a cleanup, but on the whole most users aren't regularly flipping breaking knobs enough for this to cause the same level of problems. Those users are advised to do a CLEAN build when they flip it until we start recording build options and doing another clean for important knob switches (see D52011).
When knobs of that sort are newly introduced or switch defaults, we can explicitly record an epoch for them in the interim until option-switching is detected and handled properly.
This reverts commit 6dab48b9de6c1bff61b0ce78029c1e3cba20895a.
Reviewed by: jrtc27, markj Differential Revision: https://reviews.freebsd.org/D51923
show more ...
|
| #
ba373fca
|
| 29-Jul-2024 |
Ed Maste <emaste@FreeBSD.org> |
Do not clean (in buildworld/buildkernel) by default
As discussed on the freebsd-arch mailing list[1]. For historical reasons FreeBSD's buildworld and buildkernel targets started by cleaning the obj
Do not clean (in buildworld/buildkernel) by default
As discussed on the freebsd-arch mailing list[1]. For historical reasons FreeBSD's buildworld and buildkernel targets started by cleaning the object tree, for traditional (non-metamode) builds.
Cleaning is not necessary when dependencies are properly tracked, and we have a somewhat kludgey script[2] to handle some known cases where deps were mishandled by traditional builds. Be consistent with the vast majority of open source build systems by default, and do not clean at the beginning of buildworld or buildkernel.
Users may set WITH_CLEAN in src.conf(5) to restore the previous behaviour, or run `make cleanworld` and/or `make cleankernel` before starting a build.
[1] https://lists.freebsd.org/archives/freebsd-arch/2024-July/000727.html [2] tools/build/depend-cleanup.sh
Reviewed by: jhb, imp Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D46172
show more ...
|
| #
dc5f8c34
|
| 20-Aug-2025 |
Kyle Evans <kevans@FreeBSD.org> |
build: Switch CLEAN back off by default, again
Now that we have the notion of a build epoch, we have sufficient tooling to handle changes that might need a larger hammer to unbreak the build.
Futur
build: Switch CLEAN back off by default, again
Now that we have the notion of a build epoch, we have sufficient tooling to handle changes that might need a larger hammer to unbreak the build.
Future changes may extend our cleanup to avoid scenarios like with the MITKRB5 knob where flipping it will still require a cleanup, but on the whole most users aren't regularly flipping breaking knobs enough for this to cause the same level of problems. Those users are advised to do a CLEAN build when they flip it until we start recording build options and doing another clean for important knob switches (see D52011).
When knobs of that sort are newly introduced or switch defaults, we can explicitly record an epoch for them in the interim until option-switching is detected and handled properly.
This reverts commit 6dab48b9de6c1bff61b0ce78029c1e3cba20895a.
Reviewed by: jrtc27, markj Differential Revision: https://reviews.freebsd.org/D51923
show more ...
|
| #
ba373fca
|
| 29-Jul-2024 |
Ed Maste <emaste@FreeBSD.org> |
Do not clean (in buildworld/buildkernel) by default
As discussed on the freebsd-arch mailing list[1]. For historical reasons FreeBSD's buildworld and buildkernel targets started by cleaning the obj
Do not clean (in buildworld/buildkernel) by default
As discussed on the freebsd-arch mailing list[1]. For historical reasons FreeBSD's buildworld and buildkernel targets started by cleaning the object tree, for traditional (non-metamode) builds.
Cleaning is not necessary when dependencies are properly tracked, and we have a somewhat kludgey script[2] to handle some known cases where deps were mishandled by traditional builds. Be consistent with the vast majority of open source build systems by default, and do not clean at the beginning of buildworld or buildkernel.
Users may set WITH_CLEAN in src.conf(5) to restore the previous behaviour, or run `make cleanworld` and/or `make cleankernel` before starting a build.
[1] https://lists.freebsd.org/archives/freebsd-arch/2024-July/000727.html [2] tools/build/depend-cleanup.sh
Reviewed by: jhb, imp Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D46172
show more ...
|
| #
dc5f8c34
|
| 20-Aug-2025 |
Kyle Evans <kevans@FreeBSD.org> |
build: Switch CLEAN back off by default, again
Now that we have the notion of a build epoch, we have sufficient tooling to handle changes that might need a larger hammer to unbreak the build.
Futur
build: Switch CLEAN back off by default, again
Now that we have the notion of a build epoch, we have sufficient tooling to handle changes that might need a larger hammer to unbreak the build.
Future changes may extend our cleanup to avoid scenarios like with the MITKRB5 knob where flipping it will still require a cleanup, but on the whole most users aren't regularly flipping breaking knobs enough for this to cause the same level of problems. Those users are advised to do a CLEAN build when they flip it until we start recording build options and doing another clean for important knob switches (see D52011).
When knobs of that sort are newly introduced or switch defaults, we can explicitly record an epoch for them in the interim until option-switching is detected and handled properly.
This reverts commit 6dab48b9de6c1bff61b0ce78029c1e3cba20895a.
Reviewed by: jrtc27, markj Differential Revision: https://reviews.freebsd.org/D51923
show more ...
|
| #
ba373fca
|
| 29-Jul-2024 |
Ed Maste <emaste@FreeBSD.org> |
Do not clean (in buildworld/buildkernel) by default
As discussed on the freebsd-arch mailing list[1]. For historical reasons FreeBSD's buildworld and buildkernel targets started by cleaning the obj
Do not clean (in buildworld/buildkernel) by default
As discussed on the freebsd-arch mailing list[1]. For historical reasons FreeBSD's buildworld and buildkernel targets started by cleaning the object tree, for traditional (non-metamode) builds.
Cleaning is not necessary when dependencies are properly tracked, and we have a somewhat kludgey script[2] to handle some known cases where deps were mishandled by traditional builds. Be consistent with the vast majority of open source build systems by default, and do not clean at the beginning of buildworld or buildkernel.
Users may set WITH_CLEAN in src.conf(5) to restore the previous behaviour, or run `make cleanworld` and/or `make cleankernel` before starting a build.
[1] https://lists.freebsd.org/archives/freebsd-arch/2024-July/000727.html [2] tools/build/depend-cleanup.sh
Reviewed by: jhb, imp Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D46172
show more ...
|