Skip to content

MVV: Need to make sure default is part of values #4837

@adamjstewart

Description

@adamjstewart

If you edit a package like zlib to add a fake mulit-valued variant:

variant('foo', default='bar', values=('a', 'b', 'c'))

there is no logic in place to make sure that default is a member of values. Spack installs zlib foo=bar just fine. @alalazo Is this expected or is it a bug?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions