microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
22.75k stars 6.29k forks source link

[v8] fetch submodules use local files #39146

Open warsark opened 3 months ago

warsark commented 3 months ago

Is your feature request related to a problem? Please describe.

vcpkg build v8, alaways use git fetch submodules,when network slowly,the progress will fail too many times

Proposed solution

how can i change the portfile.cmake to fetch submodules use the local tar.gz files

Describe alternatives you've considered

No response

Additional context

No response

Cheney-W commented 3 months ago

You can try modifying all the fetch sections in portfile.cmake to use vcpkg_from_git(). This way, during the second installation, these sources will look for their already downloaded tar.gz files instead of fetching them again.

github-actions[bot] commented 2 months ago

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.