spack/lib/spack
Massimiliano Culpo b4859e10e2 Packages can tune the list of files to be archived at the end of install (#7760)
Fixes #2781

This PR introduces a new attribute for packages called
`archive_files`, which designates files that should be saved from
a package build (e.g. the config.log generated during autotools
builds).

The attribute contains a list of glob expressions; Any file that
matches will be archived in the `<prefix>/.spack/archived-files`
directory. Errors that occur when archiving files are collected and
reported in a file named `<prefix>/.spack/archived-files/errors.txt`.

`AutotoolsPackage` and `CMakePackage` provide a sensible default
override for this attribute.
2018-05-08 17:40:53 -07:00
..
docs Document how to run unit tests with print statements (#7860) 2018-04-28 17:59:33 +02:00
env Update copyright on LLNL files for 2018. (#7592) 2018-03-24 12:13:52 -07:00
external Update copyright on LLNL files for 2018. (#7592) 2018-03-24 12:13:52 -07:00
llnl Avoid double 'lib' for packages whose name already starts with lib (#7651) 2018-03-31 17:33:41 +02:00
spack Packages can tune the list of files to be archived at the end of install (#7760) 2018-05-08 17:40:53 -07:00