[vtk-developers] vtk remote modules - more than one filter per?

Brad King brad.king at kitware.com
Mon May 21 13:54:28 EDT 2018


On 05/21/2018 11:23 AM, Aron Helser wrote:
> I would like to combine two or more filters in a single repository.

Certainly two filters can exist in one module.  However, we the module
infrastructure (intentionally by design) does not allow module behavior
to be configured with options.  Therefore switching the filters separately
would require them to be in separate modules.

IIUC you want to have two remote modules in a single repository.  I don't
think we currently support that.

> I think I'm running afoul of the 2-level module globbing of VTK

Yes, the `Remote/` container directory takes up one level.  FYI we
currently support only modules at *exactly* two levels deep.  This was
by design for simplicity.

If we want to try to support your use case directly some design work will
be needed.  However, the current module system will be replaced by a whole
new module system soon so updates to the current one are discouraged.

For now I suggest using one repository with a separate branch for each
module.  Configure it as two different remote modules in VTK's source.
The `GIT_TAG` in each module will refer to a commit on a different
branch of the one repository.

-Brad


More information about the vtk-developers mailing list