From 1867268a37795e4f89f147b224389f6e3db6ce4c Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 18 Jul 2012 23:22:51 +0300 Subject: [PATCH] Save caches again after building to allow storing data obtained during build --- source/builder.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source/builder.cpp b/source/builder.cpp index 1c90aa8..df7edab 100644 --- a/source/builder.cpp +++ b/source/builder.cpp @@ -518,6 +518,13 @@ int Builder::do_build() else if(show_progress) logger.log("summary", "Build complete"); + if(!dry_run) + { + const PackageManager::PackageMap &packages = package_manager.get_packages(); + for(PackageManager::PackageMap::const_iterator i=packages.begin(); i!=packages.end(); ++i) + i->second->save_caches(); + } + return fail; } -- 2.45.2