Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for vcpkg #729

Open
Molter73 opened this issue Nov 8, 2024 · 0 comments
Open

Add support for vcpkg #729

Molter73 opened this issue Nov 8, 2024 · 0 comments

Comments

@Molter73
Copy link

Molter73 commented Nov 8, 2024

Handling dependencies in C/C++ projects can be a nightmare, vcpkg is a half decent package manager that can make this a lot easier, it would be great if we could use it with cachi2 for hermetic builds.

vcpkg can work with both source and binary packages, though I think sources are the one we want. Its CLI tool supports --only-download for fetching the source blobs that could be cached and --no-download for building with the pre-fetched dependencies. There's also asset caching that might be useful.

Lastly, the way vcpkg builds dependencies is handled by recipes hosted on https://github.com/microsoft/vcpkg, not sure if we need to mirror that into builds or in which way we could make it available to the build.

I'm not super familiar with the inner workings of cachi2, so if I can add any more context, please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant