-
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
vtk: new recipe #24808
base: master
Are you sure you want to change the base?
vtk: new recipe #24808
Conversation
Compiles fine on linux-clang, same version...
Nice to see some action, but just so you know, I'm using my VTK recipe in production and its working well. I like the sound of the poison target, and it is interesting that you are parsing the cmake target file. Looking forward to seeing it progress further! |
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.
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.
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.
Conan v1 pipeline ✔️Warning Conan Center will stop receiving updates for Conan 1.x packages soon - please see announcement. All green in build 17 (
|
Hi,
Any ideas on what can go wrong here? |
hi, @valgur , thanks for the hard work firstly, but this PR seems been held for long time, do u know why? |
Summary
Changes to recipe: vtk/9.3.1
Motivation
The Visualization Toolkit (VTK) is open source software for manipulating and displaying scientific data. It comes with state-of-the-art tools for 3D rendering, a suite of widgets for 3D interaction, and extensive 2D plotting capability.
https://vtk.org/
https://gitlab.kitware.com/vtk/vtk
Details
Continues from #10776 by @paulharris with significant rewrites to tame the scope and complexity to more manageable levels. The project packages around 200 components and has about 70 dependencies (of which 56 are currently provided via Conan, 130 with transitive deps).
want_all_modules
can be set toFalse
to build only the core modules and a specific subset of modules (and their internal dependencies) selected by the user instead.VTK::VTK
CMake target is exported for that reason (which matches the project's behavior). Instead, a poison target is included to prohibit the use of the aggregatevtk::vtk
target when all modules are being built by default.VTK-targets.cmake
file for CMake targets and their properties. This provides the list of actually exported targets, whether they are real or interface ones, a list of internal and external public CMake target dependencies, system libs, frameworks and preprocessor defines.module.json
build output to get the list of private dependencies for each component and some extraimplementable
/implements
metadata for autoinit header generation.package_info()
and add the private external dependencies that are not covered by themodules.json
file (which itself is derived from themodule.vtk
files in the project).options/<version>.json
files with./update_options.py <vtk-source-location>
. A--dump-metadata
flag can be used to dump the metadata gathered from themodule.vtk
files as JSON instead, which provides a good overview of all modules and should be useful for diffing the metadata for changes for new releases. Keep in mind that many external dependencies are not listed as VTK modules, though, and are accessed directly through afind_package()
wrapper.TODO:
Here's a list of related PRs for optional dependencies that are currently missing from CCI:
To conclude, I would like to thank @paulharris for the very hard work on the recipe. It was tremendously helpful, even if much of it got rewritten beyond recognition. ❤️
Build logs
All logs are for GCC 11 on x86_64 Linux.
Build times are: