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

执行 make clean 时会删除 thirdparty 中的目标文件 #27

Closed
matyhtf opened this issue Feb 15, 2023 · 1 comment
Closed

执行 make clean 时会删除 thirdparty 中的目标文件 #27

matyhtf opened this issue Feb 15, 2023 · 1 comment

Comments

@matyhtf
Copy link
Member

matyhtf commented Feb 15, 2023

如题,待解决

考虑借鉴 phpbrew ,创建一个 $HOME/.swoole-cli/ 目录,存储下载、构建以及目标文件

  • $HOME/.swoole-cli/source:源代码包,替换当前的 pool/libpool/ext
  • $HOME/.swoole-cli/build:构建时文件,替换当前的 thirdparty 目录
  • $HOME/.swoole-cli/library:在 macOS 系统下替换 /usr 目录
@matyhtf
Copy link
Member Author

matyhtf commented Feb 16, 2023

仅将编译后的 library .a 文件放置到 ./swoole-cli 目录下。

源码包 、thirdparty 还是继续放置在 work 目录中,避免防止到 ~/.swoole_cli 增加 docker 镜像的尺寸。

@matyhtf matyhtf closed this as completed Feb 16, 2023
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

1 participant