clean-after-build flag for manifest builds #30763
Closed
greenbrettmichael
started this conversation in
Ideas
Replies: 1 comment 6 replies
-
It also works in manifest mode.
|
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The clean-after-build build flag for vcpkg install is a flag that deletes various folders after a port is installed that is no longer needed. It doesn't appear that it is possible to do this while using vcpkg in manifest mode. This could reduce disk space usage on our teams and most critically, prevent CI builds from failing due to hard disk space while building the first cache after updating vcpkg. (Github Actions does not guarantee more than 20GB of hard disk space on runners, which is easily eaten by vcpkg buildtrees).
I was not able to find what could be a good mechanism in https://github.com/microsoft/vcpkg-tool to mimic the clean-after-build behavior in manifest mode.
Beta Was this translation helpful? Give feedback.
All reactions