<div dir="ltr">Hi,<div><br></div><div>No matter what we do, I hardly think it likely we can optimize the LLVM clone speed for a 20KB/s connection. I agree that corporate internet connections being gigantic pipes means we run the risk of forgetting what home infrastructure looks like, but 20KBps is... around dial-up. Where are you, rural Tibet?</div><div><br></div><div>Cheers,</div><div><br></div><div>James</div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, 19 Aug 2016 at 15:55 C Bergström <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I remember reading all those examples about how a big repo isn't an<br>
issue and when sitting at some ${LOCATION} I have 1010101010Gbps and<br>
it takes like 30 seconds.. Well.. that may be true when I'm at home,<br>
but I'm not.. and this laptop doesn't have llvm sources installed..<br>
<br>
So real world feedback of the pita it can be..<br>
/* Side rant - I wish I didn't even need the llvm sources. I just want<br>
to build libcxxrt */<br>
<br>
/* Yes I'm about to do the smarter thing and fetch a shallow clone or<br>
try to get the tarball snapshot from github.. I did however want to<br>
show an example of how big repo on non-corporate infrastructure can be<br>
a challenge. I'd hate for some ambitious community dev to run into the<br>
same thing and turn away as a result */<br>
------------<br>
CMake Error at CMakeLists.txt:53 (message):<br>
  llvm-config not found and LLVM_MAIN_SRC_DIR not defined.  Reconfigure with<br>
  -DLLVM_CONFIG=path/to/llvm-config or -DLLVM_PATH=path/to/llvm-source-root.<br>
<br>
<br>
-- Configuring incomplete, errors occurred!<br>
See also "/usr/local/src/libcxxabi/build/CMakeFiles/CMakeOutput.log".<br>
asura@asura-X3:/usr/local/src/libcxxabi/build$ cd ../..<br>
asura@asura-X3:/usr/local/src$ git clone git@github.com:llvm-mirror/llvm.git<br>
Cloning into 'llvm'...<br>
remote: Counting objects: 1228082, done.<br>
remote: Compressing objects: 100% (245/245), done.<br>
Receiving objects:  13% (167280/1228082), 68.86 MiB | 20.00 KiB/s<br>
<br>
^Cfatal: The remote end hung up unexpectedly<br>
<br>
asura@asura-X3:/usr/local/src$ rm -rf llv^C<br>
asura@asura-X3:/usr/local/src$ git clone git@github.com:llvm-mirror/llvm.git<br>
Cloning into 'llvm'...<br>
remote: Counting objects: 1228082, done.<br>
remote: Compressing objects: 100% (245/245), done.<br>
^Cfatal: The remote end hung up unexpectedly1 KiB | 20.00 KiB/s<br>
<br>
asura@asura-X3:/usr/local/src$ git clone <a href="https://github.com/llvm-mirror/llvm.git" rel="noreferrer" target="_blank">https://github.com/llvm-mirror/llvm.git</a><br>
Cloning into 'llvm'...<br>
remote: Counting objects: 1228082, done.<br>
remote: Compressing objects: 100% (245/245), done.<br>
error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.<br>
fatal: The remote end hung up unexpectedly<br>
fatal: early EOF<br>
fatal: index-pack failed<br>
asura@asura-X3:/usr/local/src$ cd lib^C<br>
asura@asura-X3:/usr/local/src$ git clone <a href="https://github.com/llvm-mirror/llvm.git" rel="noreferrer" target="_blank">https://github.com/llvm-mirror/llvm.git</a><br>
Cloning into 'llvm'...<br>
remote: Counting objects: 1228183, done.<br>
remote: Compressing objects: 100% (346/346), done.<br>
^Cceiving objects:   0% (1069/1228183), 388.01 KiB | 1024 bytes/s<br>
asura@asura-X3:/usr/local/src$ git clone <a href="https://github.com/llvm-mirror/llvm.git" rel="noreferrer" target="_blank">https://github.com/llvm-mirror/llvm.git</a><br>
Cloning into 'llvm'...<br>
remote: Counting objects: 1228183, done.<br>
error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.<br>
fatal: The remote end hung up unexpectedly<br>
fatal: protocol error: bad pack header<br>
asura@asura-X3:/usr/local/src$ git clone <a href="https://github.com/llvm-mirror/llvm.git" rel="noreferrer" target="_blank">https://github.com/llvm-mirror/llvm.git</a><br>
Cloning into 'llvm'...<br>
remote: Counting objects: 1228271, done.<br>
remote: Compressing objects: 100% (11/11), done.<br>
error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.<br>
fatal: The remote end hung up unexpectedly<br>
fatal: early EOF<br>
fatal: index-pack failed<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div>