Timeout Error Reported During vcpkg-src Download
Symptom
During the compilation, it takes a long time for Git to download the vcpkg package. As a result, an error is reported.
Key Process and Cause Analysis
This problem is usually caused by network connection problems or large files in the remote repository. Add --depth=1 to your commands to clone only the latest commit of the repository instead of all, reducing the download time and data volume.
Conclusion and Solution
Perform compilation first to obtain the required folder path. Then, download the source package to the required folder.
1 2 | cd ~/milvus/cmake_build/azure/_deps/ git clone --depth=1 https://github.com/microsoft/vcpkg.git |
Parent topic: Troubleshooting