Buildcache cmd: add install -o/--otherarch option for installing macOS buildcaches on linux (#15192)

* Buildcache command: add install option -o/--otherarch
This will allow matching specs from other archs, for example
installing macOS buildcaches on linux hosts.

* spack commands --update-completion
This commit is contained in:
Patrick Gartung
2020-02-25 11:01:59 -06:00
committed by GitHub
parent 8d8925c725
commit 676eb56ab2
2 changed files with 10 additions and 4 deletions

View File

@@ -391,7 +391,7 @@ _spack_buildcache_create() {
_spack_buildcache_install() {
if $list_options
then
SPACK_COMPREPLY="-h --help -f --force -m --multiple -a --allow-root -u --unsigned"
SPACK_COMPREPLY="-h --help -f --force -m --multiple -a --allow-root -u --unsigned -o --otherarch"
else
_all_packages
fi