Update error message when UnavailableCompilerVersionError is triggered (#16838)
Co-authored-by: Herriman <herriman1@panorama.llnl.gov>
This commit is contained in:
parent
a21fab6fe4
commit
6af3272e1d
@ -727,7 +727,9 @@ def __init__(self, compiler_spec, arch=None):
|
||||
)
|
||||
|
||||
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):
|
||||
|
Loading…
Reference in New Issue
Block a user