I am performing a minimal build of VTK master with these initial cache settings:
BUILD_SHARED_LIBS:BOOL=true
VTK_LEGACY_REMOVE:BOOL=true
VTK_DATA_EXCLUDE_FROM_ALL:BOOL=true
VTK_FORBID_DOWNLOADS:BOOL=true
VTK_DEBUG_MODULE:STRING=all
VTK_DEBUG_MODULE_enable:BOOL=ON
VTK_DEBUG_MODULE_ALL:BOOL=ON
VTK_GROUP_ENABLE_Imaging:STRING=DONT_WANT
VTK_GROUP_ENABLE_MPI:STRING=DONT_WANT
VTK_GROUP_ENABLE_Qt:STRING=DONT_WANT
VTK_GROUP_ENABLE_Rendering:STRING=DONT_WANT
VTK_GROUP_ENABLE_StandAlone:STRING=DONT_WANT
VTK_GROUP_ENABLE_Tk:STRING=DONT_WANT
VTK_GROUP_ENABLE_Views:STRING=DONT_WANT
VTK_GROUP_ENABLE_Web:STRING=DONT_WANT
VTK_MODULE_ENABLE_VTK_CommonCore:STRING=YES
VTK_MODULE_ENABLE_VTK_IOLegacy:STRING=YES
VTK_MODULE_ENABLE_VTK_RenderingOpenGL2:STRING=YES
VTK_MODULE_ENABLE_VTK_InteractionStyle:STRING=YES
ParallelDIY and ParallelCore get enabled due to InteractionStyle (via FiltersExtraction)
Here’s the module debug output.
VTK module debug provide: VTK::FiltersExtraction is provided due to dependency from VTK::InteractionStyle
VTK module debug provide: VTK::ParallelDIY is provided due to dependency from VTK::FiltersExtraction
VTK module debug provide: VTK::ParallelCore is provided due to dependency from VTK::ParallelDIY
VTK module debug provide: VTK::diy2 is provided due to dependency from VTK::ParallelDIY
VTK module debug provide: VTK::FiltersGeometry is provided due to dependency from VTK::ParallelDIY
VTK module debug provide: VTK::IOXML is provided due to dependency from VTK::ParallelDIY
Not sure why I would need Parallel aspects of VTK for interactions, seems a bit heavy-handed.
Could this be made an optional dependency instead of a hard dependency?
It used to be possible to not build parallel modules when you don’t need them.