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

Update googletest code in third_party #1238

Merged
merged 5 commits into from
Apr 11, 2024

Conversation

nibblerenush
Copy link
Contributor

@nibblerenush nibblerenush commented Apr 5, 2024

Update googletest code to v1.12.1 version from here.

Copy link
Member

@antoninbas antoninbas left a comment

Choose a reason for hiding this comment

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

https://github.com/google/googletest/releases/tag/v1.14.0 mentions that GoogleTest requires at least C++14. This project only requires C++11 and builds with -std=c+11. While it seems that CI tests are passing fine, IMO we should still follow one of these 2 approaches:

  1. Update to v1.12.1 instead, as it is the last version to support C++11, but should still be much more recent than what we have today
  2. Update this project (bmv2) to require C++14. Obviously, this is more involved than approach 1. It would require updating documentation, build scripts, and before making that change, we shoudl probably cut one last bmv2 release with "C++11 support".

@nibblerenush
Copy link
Contributor Author

nibblerenush commented Apr 10, 2024

  1. Update to v1.12.1 instead, as it is the last version to support C++11, but should still be much more recent than what we have today

I chose this method because I am newbie in open source.

Copy link
Member

@antoninbas antoninbas left a comment

Choose a reason for hiding this comment

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

LGTM

@antoninbas antoninbas merged commit 5f5818b into p4lang:main Apr 11, 2024
7 checks passed
@nibblerenush nibblerenush deleted the gtest-update branch April 11, 2024 06:09
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.

2 participants