Skip to content

Add global 'source' variant to install source code #4083

@junghans

Description

@junghans

Sometimes it would be useful to have the source code together with the build, so I would like to add a variant (+source) in somewhere in the package base class (spack/spack/package.py) to trigger a copy of the source code (after patching, before configure/cmake/build) to <prefix>/src.

Any suggestions?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions