Skip to content

Deptypes Incorrect for dependencies specified on command line #2306

@scheibelp

Description

@scheibelp

For example

spack spec graphlib ^cmake %gcc@4.4.7

spec.dependencies(('link',)) Then includes cmake

I believe this is because of code in do_parse which assigns default deptypes of (link, build) which are then never replaced.

I'll add a PR for this within the next few hours.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions