diff options
author | scheibelp <scheibel1@llnl.gov> | 2017-04-19 21:59:18 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2017-04-19 21:59:18 -0700 |
commit | a65c37f15dff4b4d60784fd4fcc55874ce9d6d11 (patch) | |
tree | 3bc578ed31acb586f555c3cea979f9f4550752ae /LICENSE | |
parent | e12f2c18557e67d927d351c36b0760e9b7826956 (diff) | |
download | spack-a65c37f15dff4b4d60784fd4fcc55874ce9d6d11.tar.gz spack-a65c37f15dff4b4d60784fd4fcc55874ce9d6d11.tar.bz2 spack-a65c37f15dff4b4d60784fd4fcc55874ce9d6d11.tar.xz spack-a65c37f15dff4b4d60784fd4fcc55874ce9d6d11.zip |
Override partial installs by default (#3530)
* Package install remove prior unfinished installs
Depending on how spack is terminated in the middle of building a
package it may leave a partially installed package in the install
prefix. Originally Spack treated the package as being installed if
the prefix was present, in which case the user would have to
manually remove the installation prefix before restarting an
install. This commit adds a more thorough check to ensure that a
package is actually installed. If the installation prefix is present
but Spack determines that the install did not complete, it removes
the installation prefix and starts a new install; if the user has
enabled --keep-prefix, then Spack reverts to its old behavior.
* Added test for partial install handling
* Added test for restoring DB
* Style fixes
* Restoring 2.6 compatibility
* Relocated repair logic to separate function
* If --keep-prefix is set, package installs will continue an install from an existing prefix if one is present
* check metadata consistency when continuing partial install
* Added --force option to make spack reinstall a package (and all dependencies) from scratch
* Updated bash completion; removed '-f' shorthand for '--force' for install command
* dont use multiple write modes for completion file
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions