由于电脑被我搞坏了,重新安装了ubuntu20.04
所以需要重新下载安装benchmark
第一次gitclone成功了
llxy@llxy-GS65-Stealth-9SD:~/tools$ git clone https://github.com/google/benchmark.git
正克隆到 'benchmark'...
remote: Enumerating objects: 6549, done.
remote: Counting objects: 100% (805/805), done.
remote: Compressing objects: 100% (441/441), done.
remote: Total 6549 (delta 460), reused 578 (delta 320), pack-reused 5744
接收对象中: 100% (6549/6549), 2.22 MiB | 33.00 KiB/s, 完成.
处理 delta 中: 100% (4229/4229), 完成.
第二次clone失败
llxy@llxy-GS65-Stealth-9SD:~/tools$ git clone https://github.com/google/googletest.git benchmark/googletest
正克隆到 'benchmark/googletest'...
fatal: 无法访问 'https://github.com/google/googletest.git/':GnuTLS recv error (-110): The TLS connection was non-properly terminated.
llxy@llxy-GS65-Stealth-9SD:~/tools$ git clone https://github.com/google/googletest.git benchmark/googletest
正克隆到 'benchmark/googletest'...
fatal: 无法访问 'https://github.com/google/googletest.git/':GnuTLS recv error (-54): Error in the pull function.
git clone时报错为
正克隆到 ‘benchmark/googletest’…
fatal: 无法访问 ‘https://github.com/google/googletest.git/’:GnuTLS recv error (-110): The TLS connection was non-properly terminated.
再次执行一遍依然报错
fatal: 无法访问 ‘https://github.com/google/googletest.git/’:GnuTLS recv error (-54): Error in the pull function.
再次执行就成功了,我觉得是git的网站连接不太稳定导致的