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?
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?