You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This updates:
- absl from 20240722.0 to 20260107.0
- protobuf from 29.2 to 32.1
- cel_cpp from 0.11.0 to 0.14.0
- re2 from 2024-04-01 to 2025-11-05
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.
Copy file name to clipboardExpand all lines: cmake/Deps.cmake
+3-8Lines changed: 3 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -218,16 +218,11 @@ else()
218
218
message(FATAL_ERROR"protovalidate-cc: Installation can not be enabled when using vendored re2. Install re2 system-wide, or disable installation using -DPROTOVALIDATE_CC_ENABLE_INSTALL=OFF.")
0 commit comments