[CMake] ExternalProject git clone hangs on windows

Tevet, Avi A avi.a.tevet at intel.com
Tue Aug 25 19:04:12 EDT 2015


Just to close the loop: the problem is, I believe, some kind of network problem and not a cmake, git, or ssh misconfiguration problem.  I have found that the clone is very, very slow when using VPN & Samba, even for small repos.  It is intermittently slow when using Samba but not using VPN.  It turns out that what I thought was a hang was actually just an extremely slow git clone, which I found out by letting the MSVC build run for 30 minutes; when I returned, the clone had completed.

Avi

From: CMake [mailto:cmake-bounces at cmake.org] On Behalf Of Tevet, Avi A
Sent: Monday, August 17, 2015 10:10 AM
To: Sergei Nikulov
Cc: cmake at cmake.org
Subject: Re: [CMake] ExternalProject git clone hangs on windows

Thanks, I hadn’t thought about the SSH problem.  I’ll investigate.

From: Sergei Nikulov [mailto:sergey.nikulov at gmail.com]
Sent: Friday, August 14, 2015 11:06 PM
To: Tevet, Avi A
Cc: cmake at cmake.org<mailto:cmake at cmake.org>
Subject: Re: [CMake] ExternalProject git clone hangs on windows


15 авг. 2015 г. 3:04 AM пользователь "Tevet, Avi A" <avi.a.tevet at intel.com<mailto:avi.a.tevet at intel.com>> написал:
>
> Hi all,
>
>
> Can someone please tell me what I need to do so that I can use VS2015 to build a project with git dependencies managed through ExternalProject_add?
>

Try clone git project using url from ExternalPoject_add.
Possible git will request something interactively - like add ssh key of remote host or request password.
If so, this was a reason for hang.

As solution - add host keys permanently or change url to https/local clone scheme.
If password used on ssh key - remove it if possible.

HTH,

>
> Thanks,
>
>
>
> Avi
>
>
> --
>
> Powered by www.kitware.com<http://www.kitware.com>
>
> Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
>
> Kitware offers various services to support the CMake community. For more information on each offering, please visit:
>
> CMake Support: http://cmake.org/cmake/help/support.html
> CMake Consulting: http://cmake.org/cmake/help/consulting.html
> CMake Training Courses: http://cmake.org/cmake/help/training.html
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/cmake
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150825/969ba171/attachment.html>


More information about the CMake mailing list