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

是否可以提供bazel的build方式?brpc是有bazel的build的。 #7

Closed
pdu opened this issue Mar 13, 2018 · 2 comments
Closed

Comments

@pdu
Copy link

pdu commented Mar 13, 2018

因为开发环境已经升级protobuf3了,但是编译brpc+braft需要protobuf2,折腾起来很麻烦。

如果用bazel的话,可以指定源码的版本,比较方便。

@jamesge
Copy link
Contributor

jamesge commented Mar 13, 2018

pb3可以兼容pb2,别用新类型,开头加上syntax="proto2";即可

@pdu
Copy link
Author

pdu commented Mar 13, 2018

@jamesge 谢谢!

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