opentelemetry-cpp icon indicating copy to clipboard operation
opentelemetry-cpp copied to clipboard

Test building opentelemetry-cpp as shared libraries against shared protobuf and grpc libraries

Open dbarker opened this issue 5 months ago • 2 comments

Test for #3405 - This draft PR is just to demonstrate the current state of building opentelemetry-cpp shared libraries against newer versions of protobuf and grpc.

Changes

  • adds cmake install tests for
    • Building shared otel-cpp libs against static protobuf v5.27 and grpc v1.67 libs - This is known to fail tests and the otlp cmake targets do not function as expected (either segfault or just fail to export data)
    • Building shared otel-cpp libs against shared protobuf v5.27 and grpc v1.67 libs - The otlp grpc tests fail to build, but the otlp grpc cmake targets can be used in an application and work as expected.

For significant contributions please make sure you have completed the following items:

  • [ ] CHANGELOG.md updated for non-trivial changes
  • [ ] Unit tests have been added
  • [ ] Changes in public API reviewed

dbarker avatar May 20 '25 19:05 dbarker