Replies: 5 comments
-
@L0ric0, I'm not sure if I understand the case correctly, currently we have .\installed\vcpkg\status file to record the installed package, and 'vcpkg list' would display the installed package as well. |
Beta Was this translation helpful? Give feedback.
-
It is not to get the installed packages, but to tell vcpkg that a certain package is installed and doesn't need to be build. So lets say i have |
Beta Was this translation helpful? Give feedback.
-
I see, could you check if the binary caching meet the requirements? |
Beta Was this translation helpful? Give feedback.
-
Hi @L0ric0 Have you tried the above suggestion form @PhoebeHui? Does it work for you? |
Beta Was this translation helpful? Give feedback.
-
I strongly doubt the need to add this feature. |
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem? Please describe.
When building programms for a complex infrastrukture like a cluster it would be nice do be able to define certain packages as already installed on the machine so that one dosen't has to build tings like openmpi and figure out the right configuration for the environment.
Proposed solution
As this configuration sould pobably not go into the project directory one could add a config file for vcpkg to
~/.config/vcpkg
to define this packages. For the defined packages it is asumed that they are installed to system paths (or the path are in the aplicable environment variables) and can be fond by find_package.Describe alternatives you've considered
Additional context
Building certain common packages on clusters (like
boost
,hdf5
,openmpi
) takes a long time and normaly a recent enough version is already configured and installed on the system.Beta Was this translation helpful? Give feedback.
All reactions