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

Upgrade grpc, protobuf and abseil-cpp + enable CXX_STANDARD by default #41

Merged
merged 6 commits into from
Nov 11, 2023

Conversation

5abeel
Copy link
Collaborator

@5abeel 5abeel commented Nov 9, 2023

This PR upgrades the following libraries and enables the CMAKE_CXX_STANDARD and sets DCMAKE_CXX_STANDARD_REQUIRED=true.

  • gRPC upgraded to 1.59.2
  • Protobuf upgraded to v25.0
  • Abseil-cpp upgraded to 20230802.0

The above has been tested end-to-end to confirm working sanity check using P4RT and gNMI messages from respective clients.

Note: With the updated libraries, even with --rpath flag, some libraries show up as as 'not found' under ldd infrap4d. Workaround is to set the LD_LIBRARY_PATH to include stratum-deps/install/lib and stratum-deps/install/lib64.
Will look into fixing this in future PR

5abeel added 3 commits March 30, 2023 17:28
Signed-off-by: Sabeel Ansari <sabeel.ansari@intel.com>
…tobuf and abseil

Signed-off-by: Sabeel Ansari <sabeel.ansari@intel.com>
Signed-off-by: Sabeel Ansari <sabeel.ansari@intel.com>
cmake/protobuf.cmake Outdated Show resolved Hide resolved
Copy link
Collaborator

@ffoulkes ffoulkes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Signed-off-by: Sabeel Ansari <sabeel.ansari@intel.com>
Signed-off-by: Sabeel Ansari <sabeel.ansari@intel.com>
Copy link
Collaborator

@vsureshkumarp vsureshkumarp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Signed-off-by: Sabeel Ansari <sabeel.ansari@intel.com>
Copy link
Collaborator

@ffoulkes ffoulkes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@5abeel 5abeel merged commit 2ad7206 into main Nov 11, 2023
2 checks passed
@5abeel 5abeel deleted the upgrade_grpc_and_protobuf branch November 11, 2023 14:43
@5abeel 5abeel mentioned this pull request Nov 11, 2023
ffoulkes added a commit that referenced this pull request Nov 11, 2023
- Update abseil, grpc, and protobuf to track changes made in PR #41.

Signed-off-by: Derek G Foster <derek.foster@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants