summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJane Herriman <xorJane@users.noreply.github.com>2020-05-29 01:53:43 -0700
committerGitHub <noreply@github.com>2020-05-29 10:53:43 +0200
commit6af3272e1d1aec207f8347a44e2c424d47bcee16 (patch)
treef0369ee3c78e244e94b5235b5c00680a0f8ed665 /lib
parenta21fab6fe4534bdda7bfb86efa320fb2c4c8df57 (diff)
downloadspack-6af3272e1d1aec207f8347a44e2c424d47bcee16.tar.gz
spack-6af3272e1d1aec207f8347a44e2c424d47bcee16.tar.bz2
spack-6af3272e1d1aec207f8347a44e2c424d47bcee16.tar.xz
spack-6af3272e1d1aec207f8347a44e2c424d47bcee16.zip
Update error message when UnavailableCompilerVersionError is triggered (#16838)
Co-authored-by: Herriman <herriman1@panorama.llnl.gov>
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/concretize.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/spack/spack/concretize.py b/lib/spack/spack/concretize.py
index e460f45600..7424b8a90d 100644
--- a/lib/spack/spack/concretize.py
+++ b/lib/spack/spack/concretize.py
@@ -727,7 +727,9 @@ class UnavailableCompilerVersionError(spack.error.SpackError):
)
super(UnavailableCompilerVersionError, self).__init__(
- err_msg, "Run 'spack compiler find' to add compilers.")
+ err_msg, "Run 'spack compiler find' to add compilers or "
+ "'spack compilers' to see which compilers are already recognized"
+ " by spack.")
class NoValidVersionError(spack.error.SpackError):