Skip to content

Decide on mechanism for enable/deps and requires/implies #9

@nathaniel-brough

Description

@nathaniel-brough

We may want to have a feature depend on another. At the moment, there is no strict dependency tracking that is integrated into the cc_toolchains API. e.g. say we have two features, A, B.

Currently, there are two separate mechanisms to describe the relationships between these two features. The of A "requires" B then A cannot be enabled without B. But if A "implies" B then B is automatically enabled when A is.

The question is; do we need both of theses mechanisms or are these mechansims already possible using basic Bazel configurations e.g. selects and config_settings.

Do we want "dependant" features to automatically enable there dependants or do we want them to be enabled/disabled independantly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions