spack/lib/spack
scheibelp 1e69d9d1a9 Override partial installs by default - part three (#4331)
* During install, remove prior unfinished installs

If a user performs an installation which fails, in some cases the
install prefix is still present, and the stage path may also be
present. With this commit, unless the user specifies
'--keep-prefix', installs are guaranteed to begin with a clean
slate. The database is used to decide whether an install finished,
since a database record is not added until the end of the install
process.

* test updates

* repair_partial uses keep_prefix and keep_stage

* use of mock stage object to ensure that stage is destroyed when it should be destroyed (and otherwise not)

* add --restage option to 'install' command; when this option is not set, the default is to reuse a stage if it is found.
2017-06-13 09:15:51 -07:00
..
docs Move gpg section of docs to Getting Started (#4446) 2017-06-09 12:27:29 -05:00
env disable rpaths on Darwin when arg=-r mode=ccld (#3930) 2017-04-30 19:16:28 -07:00
external Use key sorting instead of cmp() 2017-03-31 13:40:41 -07:00
llnl filesystem.py: fixed bug introduced in #3367 (scrambled order in output) (#4156) 2017-05-11 10:29:08 -07:00
spack Override partial installs by default - part three (#4331) 2017-06-13 09:15:51 -07:00