-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
[abseil] update to latest release (20230125.0) #29692
[abseil] update to latest release (20230125.0) #29692
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use the version scheme "version" instead of "version-string" in port "abseil".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
PRs must add only one version and must not modify any published versions
When making any changes to a library, the version or port-version in vcpkg.json
or CONTROL
must be modified.
error: checked-in files for abseil have changed but the version was not updated
version: 20230125.0
old SHA: 3fe3cd27e41dddc3cd3b04f6bae73cacc041fd2d
new SHA: 238de578616f1e214d673b2b3e66c22c31675b6a
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
Use the version scheme "version" instead of "version-string" in port "abseil".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
PRs must add only one version and must not modify any published versions
When making any changes to a library, the version or port-version in vcpkg.json
or CONTROL
must be modified.
error: checked-in files for abseil have changed but the version was not updated
version: 20230125.0
old SHA: 238de578616f1e214d673b2b3e66c22c31675b6a
new SHA: aa4f29f110c771e7096ba356501e4a0d6d3d9baa
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use the version scheme "version" instead of "version-string" in port "abseil".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use the version scheme "version" instead of "version-string" in port "abseil".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use the version scheme "version" instead of "version-string" in port "abseil".
I think the changes to |
This will require more changes in An alternative might be to force Abseil to compile with C++14 1 and then change any downstream deps to use C++14 or C++17 depending on what was used for Abseil. That can prove tricky when the default C++ version depends on the compiler version (e.g. different versions of GCC default to C++14 or C++17). Footnotes
|
Maybe someone from etcd could take a look: etcd-cpp-apiv3/etcd-cpp-apiv3#194 |
Adding |
… to make things worse
c9d68ee
to
9746d16
Compare
Okay, I think this is working correctly now. Please take another look and sorry for the high number of commits. |
The new version does not require the patch to switch the C++ standard. It automatically updates the installed
absl/base/options.h
based on the C++ standard in use when the package is built. All that is needed to enable C++17 (if it is not the compiler's default) is adding-DCMAKE_CXX_STANDARD=17
to the command-line.This is required to upgrade Protobuf #29697
./vcpkg x-add-version --all
and committing the result.