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 · 1 comment
Open

Add support for vcpkg #729

Molter73 opened this issue Nov 8, 2024 · 1 comment

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.

@lkolacek
Copy link
Contributor

Thank you so much for filing an issue and requesting the new package manager support for the cachi2 project.

At the moment we have planned other priorities. Implementing support for Yarn V1, V4, Rust, SBOM (SPDX format), and other technical improvements.

Currently, we cannot commit to this work any time soon. If you decide to make a contribution to our project, please take a look at our guidelines. https://github.com/containerbuildsystem/cachi2/blob/main/CONTRIBUTING.md You're more than welcome to do so, but please be patient with us. We need to allocate time to provide reviews for you.

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

2 participants