You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[C++][FlightRPC] Use gRPC version macros if possible #36479
BTW, we can use gRPC version detected by find_package(gRPCAlt) as macros in our C++ source codes. So we can use gRPC version information as macro without requiring gRPC 1.51 or later.
Activity
pitrou commentedon Jul 5, 2023
cc @lidavidm
lidavidm commentedon Jul 5, 2023
Should we just drop support for older gRPC entirely? At this point 1.27 is from 3 years ago
pitrou commentedon Jul 5, 2023
I have no idea. How hard is it to maintain support? @kou
In any case, we have feature tests for many versions between 1.27 and 1.51 anyway.
lidavidm commentedon Jul 5, 2023
Sure, but using the version macros doesn't really help us there.
pitrou commentedon Jul 5, 2023
Except if we add another feature test for the presence of the version macros :-)
kou commentedon Jul 5, 2023
We can require gRPC 1.30 or later (drop support for 1.27) because:
Ubuntu versions: https://packages.ubuntu.com/search?keywords=libgrpc++-dev
Debian versions: https://packages.debian.org/search?keywords=libgrpc++-dev
BTW, we can use gRPC version detected by
find_package(gRPCAlt)as macros in our C++ source codes. So we can use gRPC version information as macro without requiring gRPC 1.51 or later.pitrou commentedon Jul 6, 2023
What about RHEL and similar?
kou commentedon Jul 6, 2023
pitrou commentedon Jul 6, 2023
Then I agree we can require gRPC 1.30 or later. It won't simplify much, though ;-)
[-][C++][Flight] Use gRPC version macros if possible[/-][+][C++][FlightRPC] Use gRPC version macros if possible[/+]apacheGH-36479: [C++][FlightRPC] Use gRPC version directly
GH-36479: [C++][FlightRPC] Use gRPC version detected by find_package() (