From 1e26e25bc8b2d37b9484d84b2987afe3d31fbd6e Mon Sep 17 00:00:00 2001 From: Michael Kuhn Date: Tue, 2 Nov 2021 10:19:23 +0100 Subject: spack arch: add --generic argument (#27061) The `--generic` argument allows printing the best generic target for the current machine. This can be quite handy when wanting to find the generic architecture to use when building a shared software stack for multiple machines. --- share/spack/spack-completion.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share') diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash index a5610f5872..90bb79a66a 100755 --- a/share/spack/spack-completion.bash +++ b/share/spack/spack-completion.bash @@ -382,7 +382,7 @@ _spack_analyze_run() { } _spack_arch() { - SPACK_COMPREPLY="-h --help --known-targets -p --platform -o --operating-system -t --target -f --frontend -b --backend" + SPACK_COMPREPLY="-h --help -g --generic-target --known-targets -p --platform -o --operating-system -t --target -f --frontend -b --backend" } _spack_audit() { -- cgit v1.2.3-60-g2f50