-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
protobuf: add protoc option #1179
Conversation
Some configurations of 'protobuf/3.9.1.0' failed in build 1 (
|
@uilianries On Windows, the hook should normalize windows paths to cmake paths ( |
Some configurations of 'protobuf/3.9.1.0' failed in build 2 (
|
@jgsogo This recipe provides some libraries (libprotobuf/libprotoc/..) and an executable (protoc). Won't this cause problems when cross building (and adding it in both |
Some configurations of 'protobuf/3.9.1.0' failed in build 3 (
|
The
This is the same problem as @ericLemanissier was seeing while packaging libsndfile. |
Maybe the hook should check if |
Have a look to the implementation of the feature in the sources: https://github.com/jgsogo/conan/blob/4b977e322c308341003007b5641aadc3df36383b/conans/client/installer.py#L503
This is not the same as it was being done before. This is not breaking because using two profiles is an opt-in, but we know this can break some recipes or workflows, we really wan't to know how people is using the propagation in the projects and try to improve it for Conan 2.0. We might change it if needed based on your feedback. |
@jgsogo |
I'll push a new fix for hooks, thanks for reporting. |
We are not adding extra to But, the
Right now (v1.24) it can't. This is something we need to investigate and implement for the next releases. |
Some configurations of 'protobuf/3.9.1' failed in build 4 (
|
@uilianries Please re-review. |
Some configurations of 'protobuf/3.9.1' failed in build 5 (
|
Some configurations of 'protobuf/3.9.1' failed in build 6 (
|
For this |
Ok, I'll patch the cmake script. But the The original code used the cmake imported target |
For the Now I would need to add |
All green in build 15 (
|
All green in build 16 (
|
I don't understand if there are any issues left, but if they aren't breaking and can't be fixed quickly I would suggest to create an issue to fix it later and finally merge this This becomes quite a blocker IMO |
@Croydon Agreed, Protobuf is one of most required packages |
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.
Agree, we can move this one forward and wait for issues.
I love your optimism 😄 |
🤣 well, I didn't mean there will be issues.... but, well, we all know there will be. I'll spend some days now experiencing with the cross-building feature, env propagation, settings,... so I'll have time to try this recipe and open the issues myself 😄 |
Thanks everyone! 🥳 |
Specify library name and version: protobuf/3.9.1.0
fixes #65 #1956
conan-center hook activated.