Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

swoole-cli main 分支构建步骤 #324

Open
jingjingxyk opened this issue Aug 7, 2023 · 2 comments
Open

swoole-cli main 分支构建步骤 #324

jingjingxyk opened this issue Aug 7, 2023 · 2 comments

Comments

@jingjingxyk
Copy link
Contributor

用main 分支构建步骤

# 准备PHP 运行时 (看提示,把 PHP 运行时导入环境变量PATH )
sh setup-php-runtime.sh

# 准备运行脚本(目的是为了生成构建容器的脚本,进入容器的脚本)【容器外】
composer update  
php prepare.php --without-docker --skip-download=1

# 查看用的构建命令
bash make.sh -h

# 构建容器运行环境
bash make.sh docker-build

# 启动容器运行环境,并进入容器
bash make.sh docker-bash


# 准备运行脚本( 下载各依赖库源码,生成构建脚本)【容器内】
composer update  
php prepare.php   +inotify +apcu +ds +xlswriter +ssh2  --with-swoole-pgsql=1


# 静态编译依赖库
bash make.sh  all-library 

# 静态编译 PHP 预处理
bash make.sh config 

# 静态编译PHP (汇编、编译、链接)
bash make.sh build 

# 静态编译PHP (打包)
bash make.sh archive 
@jingjingxyk
Copy link
Contributor Author

@jingjingxyk jingjingxyk changed the title 用main 分支构建步骤 swoole-cli main 分支构建步骤 Aug 8, 2023
@findnr
Copy link

findnr commented Sep 22, 2023

大佬构建一次成功的吗?我的为什么报错啊,能不能指点一下,谢谢。
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants