Add --source option to spack install (#4102)
- -- source will copy source into prefix along with the package. - added a test for --source, as well
This commit is contained in:

committed by
Todd Gamblin

parent
359b21c888
commit
fa1d0a8a4d
@@ -456,7 +456,7 @@ function _spack_install {
|
||||
then
|
||||
compgen -W "-h --help --only -j --jobs --keep-prefix --keep-stage
|
||||
-n --no-checksum -v --verbose --fake --clean --dirty
|
||||
--run-tests --log-format --log-file" -- "$cur"
|
||||
--run-tests --log-format --log-file --source" -- "$cur"
|
||||
else
|
||||
compgen -W "$(_all_packages)" -- "$cur"
|
||||
fi
|
||||
|
Reference in New Issue
Block a user