summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/spack/qa/configuration/packages.yaml30
-rwxr-xr-xshare/spack/spack-completion.bash40
2 files changed, 56 insertions, 14 deletions
diff --git a/share/spack/qa/configuration/packages.yaml b/share/spack/qa/configuration/packages.yaml
index 076095a7ca..bd853c2386 100644
--- a/share/spack/qa/configuration/packages.yaml
+++ b/share/spack/qa/configuration/packages.yaml
@@ -1,26 +1,32 @@
packages:
cmake:
buildable: False
- paths:
- cmake@3.12.4: /usr
+ externals:
+ - spec: cmake@3.12.4
+ prefix: /usr
r:
buildable: False
- paths:
- r@3.4.4: /usr
+ externals:
+ - spec: r@3.4.4
+ prefix: /usr
perl:
buildable: False
- paths:
- perl@5.26.1: /usr
+ externals:
+ - spec: perl@5.26.1
+ prefix: /usr
findutils:
buildable: False
- paths:
- findutils@4.6.0: /usr
+ externals:
+ - spec: findutils@4.6.0
+ prefix: /usr
openssl:
buildable: False
- paths:
- openssl@1.1.1: /usr
+ externals:
+ - spec: openssl@1.1.1
+ prefix: /usr
libpciaccess:
buildable: False
- paths:
- libpciaccess@0.13.5: /usr
+ externals:
+ - spec: libpciaccess@0.13.5
+ prefix: /usr
diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash
index fc1b4e2a27..329b9f28ff 100755
--- a/share/spack/spack-completion.bash
+++ b/share/spack/spack-completion.bash
@@ -570,7 +570,7 @@ _spack_config() {
then
SPACK_COMPREPLY="-h --help --scope"
else
- SPACK_COMPREPLY="get blame edit list add remove rm"
+ SPACK_COMPREPLY="get blame edit list add remove rm update revert"
fi
}
@@ -632,6 +632,24 @@ _spack_config_rm() {
fi
}
+_spack_config_update() {
+ if $list_options
+ then
+ SPACK_COMPREPLY="-h --help -y --yes-to-all"
+ else
+ _config_sections
+ fi
+}
+
+_spack_config_revert() {
+ if $list_options
+ then
+ SPACK_COMPREPLY="-h --help -y --yes-to-all"
+ else
+ _config_sections
+ fi
+}
+
_spack_containerize() {
SPACK_COMPREPLY="-h --help"
}
@@ -725,7 +743,7 @@ _spack_env() {
then
SPACK_COMPREPLY="-h --help"
else
- SPACK_COMPREPLY="activate deactivate create remove rm list ls status st loads view"
+ SPACK_COMPREPLY="activate deactivate create remove rm list ls status st loads view update revert"
fi
}
@@ -803,6 +821,24 @@ _spack_env_view() {
fi
}
+_spack_env_update() {
+ if $list_options
+ then
+ SPACK_COMPREPLY="-h --help -y --yes-to-all"
+ else
+ _environments
+ fi
+}
+
+_spack_env_revert() {
+ if $list_options
+ then
+ SPACK_COMPREPLY="-h --help -y --yes-to-all"
+ else
+ _environments
+ fi
+}
+
_spack_extensions() {
if $list_options
then