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
add protobuf package version 3.21.4 #12079
Conversation
This comment has been minimized.
This comment has been minimized.
I detected other pull requests that are modifying protobuf/all recipe: This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Hooks produced the following warnings for commit 60b6f63protobuf/3.19.2
protobuf/3.17.1
protobuf/3.19.4
protobuf/3.13.0
protobuf/3.9.1
protobuf/3.20.0
protobuf/3.21.1
protobuf/3.18.1
protobuf/3.12.4
protobuf/3.16.0
protobuf/3.15.8
protobuf/3.15.5
protobuf/3.11.4
protobuf/3.21.4
|
This contains a fix for the `constinit` on Visual Studio with C++20. Although the version isn't in the conan-central-index yet, we can user our own uploaded version Ultimaker/conan-center-index@3006672 Pushing these changes upstream seems to be not needed since there is already another PR open. conan-io/conan-center-index#12079
This comment has been minimized.
This comment has been minimized.
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
[protobuf] Adopt new Conan tools
thank you @uilianries, I'm far away from conan2 |
This comment has been minimized.
This comment has been minimized.
Hooks produced the following warnings for commit cb67c47protobuf/3.21.1
protobuf/3.15.5
protobuf/3.20.0
protobuf/3.19.2
|
This comment has been minimized.
This comment has been minimized.
All green in build 7 (
|
Hooks produced the following warnings for commit f58856eprotobuf/3.21.4
protobuf/3.18.1
protobuf/3.17.1
|
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.
LGTM
for generator in ["cmake_find_package", "cmake_find_package_multi"]: | ||
self.cpp_info.components["libprotobuf"].build_modules[generator] = build_modules | ||
if self.options.lite: | ||
self.cpp_info.components["libprotobuf-lite"].build_modules = build_modules | ||
for generator in ["cmake_find_package", "cmake_find_package_multi"]: | ||
self.cpp_info.components["libprotobuf-lite"].build_modules[generator] = build_modules |
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.
Is it the reason of this regression #12474?
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.
In any case, build_modules should only be assigned to the root component (check 1.51 changelog - this PR)
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.
cmake_build_modules
property is properly assigned to the root here.
build_modules
is the legacy build modules, and it can't be assigned to root when there are components.
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.
I can confirm this is the reason why CONAN_BUILD_MODULES_PATHS_PROTOBUF
is empty for cmake_paths
(and others cmake_*
generators too).
I don't really know if those cmake files were supposed to be there in the first place, but the problem is that protobuf_generate_cpp
(which gets defined there) is pretty essential, so why would they not be?
@pgeler any reasoning for this change?
Specify library name and version: protobuf/3.21.4
3.21.4 includes fix(3.21.3) for MSVC constint expression which is a showstopper from using grpc + msvc and c++17
https://github.com/protocolbuffers/protobuf/releases/tag/v21.3