grpc linux c++ .deb/.rpm package generation

27 views
Skip to first unread message

Chris Freehill

unread,
Jul 10, 2020, 6:16:04 PM7/10/20
to grpc.io
Hi,

Recently (to my knowledge), we have gained the ability to build the Linux c++ gRPC executables and libraries (including protoc, etc.) with CMake on Linux. This has been a big help.

Since we have this, it seems like the next step is to have .deb and .rpm (and others?) package generation. Is this in the roadmap?

The problem with the current requirement build is deployment on a large number of machines.

In the interim, does anyone see issues with building gRPC and making an archive with the libraries and executables generated by the build, and using that for deployment over many machines?

Thanks,
Chris

Patrice Chalin

unread,
Jul 15, 2020, 2:00:24 PM7/15/20
to Chris Freehill, Jan Tattermusch, grpc.io

--
You received this message because you are subscribed to the Google Groups "grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/dacc0f97-b99f-4972-80f1-483edb3679b1n%40googlegroups.com.

Jan Tattermusch

unread,
Jul 20, 2020, 5:06:40 AM7/20/20
to Patrice Chalin, Chris Freehill, grpc.io
Glad to hear that the CMake improvements we've made were helpful.

Debian / Red Hat packages would be nice to have but they are not on the road map mostly because:
- It's a significant amount of maintenance (we've been providing deb packages in the past and it was a lot of overhead and generally it was pretty troublesome and not worth the work).
- Especially for debian, it takes long time (=years) before the official grpc packages would make it into e.g. debian stable where they would be the most useful. As grpc evolves rapidly, at that point you'd be using very old version of grpc missing on lots of new features and fixed.
- As a result, providing an easy-to-use CMake build and integration with some C++ package managers (conan, vcpkg, etc) seems like the best way to make sure people can install gRPC C++ with relative ease and stay up to date. Languages other than C++ have their own packaging mechanisms so they don't need debian packages anyway.
--

Jan Tattermusch

Software Engineer


Google Germany GmbH

Erika-Mann-Straße 33

80636 München


Geschäftsführer: Paul Manicle, Halimah DeLaine Prado

Registergericht und -nummer: Hamburg, HRB 86891

Sitz der Gesellschaft: Hamburg


Diese E-Mail ist vertraulich. Falls sie diese fälschlicherweise erhalten haben sollten, leiten Sie diese bitte nicht an jemand anderes weiter, löschen Sie alle Kopien und Anhänge davon und lassen Sie mich bitte wissen, dass die E-Mail an die falsche Person gesendet wurde.

    

This e-mail is confidential. If you received this communication by mistake, please don't forward it to anyone else, please erase all copies and attachments, and please let me know that it has gone to the wrong person.

Reply all
Reply to author
Forward
0 new messages