Configuration of protobuf 3.22.2

58 views
Skip to first unread message

Nazibur Rahman

unread,
Sep 5, 2024, 3:32:35 AM9/5/24
to Protocol Buffers
Hi All,

We are using protobuf 2.5.0 in our project and we want to upgrade tp protobuf v3.22.2 but we didn't find any configure or autogen.sh file present in V3.22.2. Without this any one of the file how to configure?

It will be helpful if you can share configuration doc if available.

Regards,
Nazibur Rahman

Tony Liao

unread,
Sep 9, 2024, 4:24:20 PM9/9/24
to Protocol Buffers
Hi Nazibur,

Protobuf 2.5.0 is really old -- running ./autogen.sh is part of using AutoMake, but we've migrated to CMake and Bazel. AutoTools was turned down in the middle of 2022 -- see PR #10132.

Our preferred way to build would be to use Bazel. If that's not possible, CMake should provide wider compatibility with other (non-Google) open source projects.

You can find Bazel configurations at .bazelrc and BUILD.bazel files.


-Tony
Reply all
Reply to author
Forward
0 new messages