Closed aooxin closed 5 months ago
补充一下我使用的命令: https://www.paddlepaddle.org.cn/documentation/docs/zh/develop/install/compile/macos-compile-make.html 完全按照这个文档的macos docker编译流程 python==3.12
我把所有的库补充上来,有gitlab的目前已经无法访问了
请检查一下你网络是否畅通,我这边是可以直接访问你上面列出来的 third_party github的。
这个就是代理问题
export no_proxy=bcebos.com,apiin.im.baidu.com,gitee.com,aliyun.com,.baidu.com,.tuna.tsinghua.edu.cn,gitlab.com,gitlab.mpcdf.mpg.de 试试
export no_proxy=bcebos.com,apiin.im.baidu.com,gitee.com,aliyun.com,.baidu.com,.tuna.tsinghua.edu.cn,gitlab.com,gitlab.mpcdf.mpg.de 试试
明白了多谢!!!
问题描述 Issue Description
在mac os使用cmake时,会遇到部分包无法访问的问题,其中有部分看起来要从gitlab访问的私有库,如https://gitlab.mpcdf.mpg.de/mtr/pocketfft.git/ fatal: unable to access 'https://github.com/Cyan4973/xxHash.git/': gnutls_handshake() failed: The TLS connection was non-properly terminated. fatal: clone of 'https://github.com/Cyan4973/xxHash.git' into submodule path '/paddle/third_party/xxhash' failed Failed to clone 'third_party/xxhash'. Retry scheduled Cloning into '/paddle/third_party/zlib'... fatal: unable to access 'https://github.com/madler/zlib.git/': gnutls_handshake() failed: The TLS connection was non-properly terminated. fatal: clone of 'https://github.com/madler/zlib.git' into submodule path '/paddle/third_party/zlib' failed Failed to clone 'third_party/zlib'. Retry scheduled Cloning into '/paddle/third_party/pocketfft'... fatal: unable to access 'https://gitlab.mpcdf.mpg.de/mtr/pocketfft.git/': gnutls_handshake() failed: The TLS connection was non-properly terminated. fatal: clone of 'https://gitlab.mpcdf.mpg.de/mtr/pocketfft.git' into submodule path '/paddle/third_party/pocketfft' failed Failed to clone 'third_party/pocketfft' a second time, aborting CMake Error at cmake/third_party.cmake:58 (message): Failed to update submodule, please check your network ! Call Stack (most recent call first): CMakeLists.txt:607 (include)
-- Configuring incomplete, errors occurred! See also "/paddle/build/CMakeFiles/CMakeOutput.log". See also "/paddle/build/CMakeFiles/CMakeError.log".
版本&环境信息 Version & Environment Information
paddleversion:develop(cpu)