Skip to content

Enable package-specific dependency directives#37380

Open
greenc-FNAL wants to merge 1 commit intospack:developfrom
greenc-FNAL:feature/pkg-depends-on
Open

Enable package-specific dependency directives#37380
greenc-FNAL wants to merge 1 commit intospack:developfrom
greenc-FNAL:feature/pkg-depends-on

Conversation

@greenc-FNAL
Copy link
Copy Markdown
Member

@greenc-FNAL greenc-FNAL commented May 2, 2023

The bulk of the work of the depends_on(...) directive is done by the function _depends_on(pkg, ...) This function is already used by directives.extends() in addition to directives.depends_on(). We change its name here to pkg_depends_on to allow for its use in recipe-specific directives to enable registration of formulaic dependencies (e.g. [email protected] -> [email protected]).

@spackbot-app spackbot-app bot added core PR affects Spack core functionality directives labels May 2, 2023
@greenc-FNAL
Copy link
Copy Markdown
Member Author

See #37381 for use case.

@greenc-FNAL greenc-FNAL force-pushed the feature/pkg-depends-on branch from 161016d to 0942f67 Compare June 30, 2023 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core PR affects Spack core functionality directives tests General test capability(ies)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant