Update dependencies: absl, protobuf, cel_cpp, re2 #138
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello. I wanted to make some updates, since there is now an opportunity to clean up some of the messes we had earlier with new releases of cel-cpp and re2 having been cut.
This updates:
The default standalone CMake C++ version is downgraded to C++17, with C++20 only being used for targets that actually need it. This is due to a bug in protobuf v30+ on MSVC:
protocolbuffers/protobuf#21310 It doesn't have any impact in any other situation, and doesn't change anything when protovalidate-cc is used as a subproject. It does enable using protovalidate-cc as a subproject in an otherwise C++-17 project.
The cel-cpp patch is reduced, since a lot of my previous patches were upstreamed since the last release. I still don't have a proper solution to the constinit problem, so that's still there.
The re2 patch is removed. Google finally actually did resolve the problem with not having an option to control the re2 install targets with CMake. Coincidentally, it uses the same variable name I already used, so no adjustments are needed.
All of these dependencies pretty much need to be updated together. They're updated to the latest available versions with the exception of protobuf, since v33 seems to fail to compile for reasons I have not figured out yet. It can't be held behind since v29 can't compile with a newer version of absl, but cel_cpp requires a newer version of absl. re2 has to be updated for the same reason.