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

Support handling of Abseil independently of Protobuf. #17414

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Ferroin
Copy link
Member

@Ferroin Ferroin commented Apr 16, 2024

Summary

This is needed for otel support.

If Protobuf gets vendored, we unconditionally vendor Abseil as well to avoid the possibility of conflicts from mixing versions. Otherwise, we try to find a usable copy on the system itself, and if we can’t we pull a vendored copy.

Detection is keyed off of the specific list of required components. For the moment this adds all requested components to all targets that it is asked to link Abseil to, target-specific component lists will be revisited if we add any other code that depends on Abseil.

Test Plan

CI passes on this PR.

Any further testing requires the otel support code

@github-actions github-actions bot added area/packaging Packaging and operating systems support area/build Build system (autotools and cmake). labels Apr 16, 2024
@Ferroin Ferroin marked this pull request as ready for review April 17, 2024 11:03
@Ferroin Ferroin requested review from vkalintiris and a team as code owners April 17, 2024 11:03
@Ferroin
Copy link
Member Author

Ferroin commented Apr 25, 2024

Rebased to resolve merge conflicts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/build Build system (autotools and cmake). area/packaging Packaging and operating systems support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant