[P4-dev] Right version of protobuf to use?
antonin at barefootnetworks.com
Wed Nov 29 12:23:17 EST 2017
I personally use the following versions:
- protobuf 3.2.0
- grpc 1.3.2
These versions work for both p4lang/p4c and p4lang/PI. They also correspond
to the refpoints we use in the p4lang/third-party repo:
https://github.com/p4lang/third-party, which means they are the versions we
use for CI regressions.
More recent versions are likely to work fine as well (as long as the grpc
and protobuf versions are compatible), but I haven't done any testing.
On Wed, Nov 29, 2017 at 12:03 AM, Alan Lo <alanlo at mellanox.com> wrote:
> Also, to add, I am building grpc 1.7.0, which seems to require protobuf
> Is going with an earlier version of grpc work as well? (I believe grpc
> 1.01 needs protobuf 3.0.2)
> From: Alan Lo <alanlo at mellanox.com>
> Date: Wednesday, November 29, 2017 at 9:21 AM
> To: "p4-dev at lists.p4.org" <p4-dev at lists.p4.org>
> Subject: Right version of protobuf to use?
> I am building a p4runtime for a new target, so was looking at the
> grpc_demo app in the PI repository. It looks like the latest PI requires
> protobuf 3.4 (otherwise there is a known compile error in grpc). However,
> p4c-16 itself, in the README.md, says to stick with 3.0.x.
> Does anyone know if p4c has any known problems with protobuf 3.4.x, as it
> is a pain to have two different versions of protoc in our dev environment.
> P4-dev mailing list
> P4-dev at lists.p4.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the P4-dev