[Feature Request] Enable parallel installation of libaray #19129
Replies: 8 comments 3 replies
-
@MichaelSuen-thePointer, this is already supported, see You can enable it by setting NUMBER_OF_PROCESSORS environment variable. |
Beta Was this translation helpful? Give feedback.
-
@PhoebeHui The So if there are mutliple boost module to be installed, the whole process is still like: download m1-> unpack m1-> parallel build m1-> install m1-> download m2 -> unpack m2 -> parallel build m2 -> install m2 What I wanted is like Not parallel build, but parallel download, unpack and install - vcpkg level, not build system level |
Beta Was this translation helpful? Give feedback.
-
Hmm, in theory this is possible; let me ask the team about it :) |
Beta Was this translation helpful? Give feedback.
-
Apparently this is a Really Hard Problem. @ras0219 has looked into this before, and we may look back into this in the future. |
Beta Was this translation helpful? Give feedback.
-
Hello @strega-nil Do you have any updates about this thread? |
Beta Was this translation helpful? Give feedback.
-
Any updates on this? It would be really helpful to have when the number of required packages becomes big :( |
Beta Was this translation helpful? Give feedback.
-
Any updates on this? |
Beta Was this translation helpful? Give feedback.
-
I strongly second this. I have a few boost libraries, most of them headers only, and it takes about 10 minutes to download all the dependencies... It's slower to install Boost libraries with VCPKG than to build the integrity of Boost. |
Beta Was this translation helpful? Give feedback.
-
Installation of boost is very slow, each of its sub-package is downloaded and built sequentially, which cause low cpu usage and low efficiency.
command line
vcpkg install boost
Proposed solution
If vcpkg can enable package level parallel installation, use
vcpkg -j8
likemake -j8
to speed up package installaziton, it would be of great helpBeta Was this translation helpful? Give feedback.
All reactions