XiaoMi / soar

SQL Optimizer And Rewriter
Apache License 2.0
8.67k stars 1.32k forks source link

mac 能否支持brew 安装? #79

Open VitZhou opened 5 years ago

withlin commented 5 years ago

目前尚不支持,欢迎您提交brew安装的pr。

martianzhang commented 5 years ago

如下这个PR被社区合并就可以用brew安装了

https://github.com/Homebrew/homebrew-cask/pull/54571

brew cask install soar

PS. 很遗憾这个PR并没有被采纳,我又重新提交了一个PR到homebrew-core项目,希望不会被踢皮球。

https://github.com/Homebrew/homebrew-core/pull/33866

brew install soar

martianzhang commented 5 years ago

按照官方回复使用brew安装需要走源码编译安装的方式,这样一来安装soar需要很多额外的环境比如go, git等,编译耗时也会比较长。

按照这个建议brew安装与wget下载编译好的二进制文件比较可能brew效果不会很理想。

VitZhou commented 5 years ago

还是建议官方支持brew. 因为手工安装的话很容易忘记安装在哪个目录下,不好管理应用

Leon Zhang notifications@github.com 于2018年11月7日周三 下午4:26写道:

按照官方回复使用brew安装需要走源码编译安装的方式,这样一来安装soar需要很多额外的环境比如go, git等,编译耗时也会比较长。

按照这个建议brew安装与wget下载编译好的二进制文件比较可能brew效果不会很理想。

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/XiaoMi/soar/issues/79#issuecomment-436543057, or mute the thread https://github.com/notifications/unsubscribe-auth/ARHA6Hsjs2u2f0GV6I2WZZ3sq44cLj68ks5uspk2gaJpZM4YNGWT .

martianzhang commented 5 years ago

https://mp.weixin.qq.com/s/FLpnvJV9eDVrsc5DaEu6rQ

小米运维公众号我们投稿了一篇如何用 brew 管理开源项目的文章。目前 soar 源码编译对 tidb parser 的依赖还未迁移完成。后续把 parser依赖搞定后会再提 PR 给 homebrew.