Skip to content

solver: general spec overrides specific spec in dependencies #21

Description

@AcerP-py

The below dependencies resolve in the following manner:

dependencies:
  - spec: ubuntu@18.04:22.04
    when: distro=ubuntu cuda@11.8.0
  - spec: gcc@6:11
    when: cuda@11
  - spec: gcc
$ velocity spec cuda
    created recipe in 4.52s

  > cuda@11.8.0-86ac71a
     ^ubuntu@22.04-32b95db
     ^gcc@15.2.0-8bb3e35
        ^ubuntu@22.04-32b95db

This is a solver bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions