mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
Merge topic 'ninja-regenerate-no-recompact' into release-3.20
6fd9c68ed0 Ninja: Do not recompact deps log in regeneration during a build
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !5916
This commit is contained in:
@@ -636,8 +636,9 @@ void cmGlobalNinjaGenerator::CleanMetaData()
|
||||
// `build.ninja` to load for this in Ninja-Multi. This may be relaxed in the
|
||||
// future pending further investigation into how Ninja works upstream
|
||||
// (ninja#1721).
|
||||
if (this->NinjaSupportsUnconditionalRecompactTool && expectBuildManifest &&
|
||||
!missingBuildManifest) {
|
||||
if (this->NinjaSupportsUnconditionalRecompactTool &&
|
||||
!this->GetCMakeInstance()->GetRegenerateDuringBuild() &&
|
||||
expectBuildManifest && !missingBuildManifest) {
|
||||
run_ninja_tool({ "recompact" });
|
||||
}
|
||||
if (this->NinjaSupportsRestatTool && this->OutputPathPrefix.empty()) {
|
||||
|
||||
Reference in New Issue
Block a user