-
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
Recipe for VTK #10776
Recipe for VTK #10776
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Please check and respond here, and/or, slack me to discuss, |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Note: I keep a list of known TODOs at the top of the conanfile.py |
This comment has been minimized.
This comment has been minimized.
I have hook warnings/errors related to extra .cmake files left from the cmake build+install. |
This comment has been minimized.
This comment has been minimized.
I still have some things to do, would like to autogenerate the component list and dependencies etc. |
This comment has been minimized.
This comment has been minimized.
Seems to fail due to old CMake 3.18 on the CI. VTK has patches to support older CMake up to 3.22, |
that's not a problem - you always may add more recent CMake to |
This comment has been minimized.
This comment has been minimized.
I am now thinking that I should use Kitware/VTK's bundled third party dependencies, even if the same (or more recent) version is available on conan as a package. VTK has a lot of cmake magic to bring in their bundled dependencies, and is careful they do not clash with the same library if brought in independently. Some of their dependencies are heavily patched, but it is not immediately obvious which ones they are, nor can I tell if a newer version of the same library might cause a problem with a VTK release. So instead, just go with VTK's defaults and use their bundled externals. Thoughts? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
…an-supplied libs.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I'm pretty happy with this recipe now, looking for feedback. |
This comment has been minimized.
This comment has been minimized.
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. |
|
||
def _override_options_values(self, new_values): | ||
overridden = { opt : ["DEFAULT", "YES", "NO", "WANT", "DONT_WANT"] for opt in new_values } | ||
self.options.update(overridden, new_values) |
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 only takes one argument that is a dict
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.
If you mean self.options.update()
,
the signature is conans/model/options.py:345
:
def update(self, options=None, options_values=None):
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This pull request has been automatically closed because it has not had recent activity. Thank you for your contributions. |
Specify library name and version: vtk/9.1.0
I'm putting this up for comments and further discussion.
It is getting there, but still needs some work.
Please help.