环境:Windows 11;
php环境:php8.3.24(选择你自己支持的php版本)
使用工具:网站环境(flyenv,原phpwebstudy)
1、在gitee下载GRPC 镜像git clone https://gitee.com/mirrors/grpc.git
2、cd grpc/third_party:手动下载第三方插件,由于国内网络问题,最好是手动下载,否则很难成功!
3、使用git submodule status,看三方组件状态,如前缀无-,则注册成功,如果有-且你已经下载了,那么你需要使用命令:
git submodule update --init third_party/zlib 这个zlib就是三方组件的模块;手动下载就需要一个一个注册;
PS:第三步最好放到下面下载完成后再去操作!
cd grpc需要复制:third_party/XXX地址,cd grpc/third_party 只需要复制git地址
以下是使用 git clone 命令搭配 Gitee 镜像地址的完整列表,每个仓库对应独立的克隆命令(注意复制时要将 third_party/abseil-cpp同时复制):
git clone https://gitee.com/mirrors/abseil-cpp.git third_party/abseil-cpp
git clone https://gitee.com/mirrors/google-benchmark.git third_party/benchmark
git clone https://gitee.com/mirrors_google/bloaty.git third_party/bloaty
git clone https://gitee.com/mirrors/boringssl.git third_party/boringssl-with-bazel
git clone https://gitee.com/mirrors/c-ares.git third_party/cares/cares

1422

被折叠的 条评论
为什么被折叠?



