-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
onnxruntime: ensure conan dependencies are used when versions are overriden #22155
Conversation
#20619 kind of already does the same by rewriting |
@valgur I still see a harcoded version of the Protobuf in your new cmake file: |
This comment has been minimized.
This comment has been minimized.
Regenerating missing binaries now |
dc3e653
to
9b356c3
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
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.
Hi! Sorry that this took so long to get addressed. As far as I can see these changes are looking good. If the recipe ever needs to ensure a version range for these dependencies, it should check it in its validate method :)
This comment has been minimized.
This comment has been minimized.
Hi @fdgStilla, thanks for your contribution, could you confirm the library does not need those fixed dependency versions? |
We currently use the recipe with this change and we have been using this configuration for the last 6 months:
I think I remember that it was not possible to change the major version of gsl to 3, I did not try to change the major version for the other versions, but we could improve the validate method in another PR. Currently onnxruntime is very difficult to integrate to a project because of the fixed version in the cmake. |
Okey, thanks for your fast and your empirical proof, I'm approving this PR. |
This comment has been minimized.
This comment has been minimized.
Biulding missing binary now |
Conan v1 pipeline ❌Failure in build 4 (
Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability. |
Hi @fdgStilla, |
Fix #22153