[vcpkg] Revert change which causes sources to be purged by default in vcpkg build (#12272)

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
This commit is contained in:
ras0219 2020-07-06 11:53:25 -07:00 committed by GitHub
parent 74ecb4f0bd
commit b37b1bae58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -126,6 +126,8 @@ namespace vcpkg::Build
Checks::check_exit(VCPKG_LINE_INFO, action != nullptr); Checks::check_exit(VCPKG_LINE_INFO, action != nullptr);
ASSUME(action != nullptr); ASSUME(action != nullptr);
action->build_options = default_build_package_options; action->build_options = default_build_package_options;
action->build_options.clean_buildtrees = CleanBuildtrees::NO;
action->build_options.clean_packages = CleanPackages::NO;
const auto build_timer = Chrono::ElapsedTimer::create_started(); const auto build_timer = Chrono::ElapsedTimer::create_started();
const auto result = Build::build_package(paths, *action, binaryprovider, build_logs_recorder, status_db); const auto result = Build::build_package(paths, *action, binaryprovider, build_logs_recorder, status_db);