summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGregory Becker <becker33@llnl.gov>2016-08-01 17:11:10 -0700
committerGregory Becker <becker33@llnl.gov>2016-08-01 17:11:10 -0700
commit2705f2c0e3c92aa4c0a099bac3b973d1bf229663 (patch)
tree865a437039bf9706f780fd05a6439e1b39f2fe19 /lib
parentc678a9e3daafb8168307a43c8c27e26a00f0574c (diff)
downloadspack-2705f2c0e3c92aa4c0a099bac3b973d1bf229663.tar.gz
spack-2705f2c0e3c92aa4c0a099bac3b973d1bf229663.tar.bz2
spack-2705f2c0e3c92aa4c0a099bac3b973d1bf229663.tar.xz
spack-2705f2c0e3c92aa4c0a099bac3b973d1bf229663.zip
changed error raised in concretize compiler to provide better error message
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/concretize.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/concretize.py b/lib/spack/spack/concretize.py
index 5180f3cf04..71f734ebfb 100644
--- a/lib/spack/spack/concretize.py
+++ b/lib/spack/spack/concretize.py
@@ -343,7 +343,7 @@ class DefaultConcretizer(object):
while not _proper_compiler_style(matches[index], spec.architecture):
index += 1
if index == len(matches) - 1:
- raise NoValidVersionError(spec)
+ raise UnavailableCompilerVersionError(spec)
spec.compiler = matches[index].copy()
assert(spec.compiler.concrete)
return True # things changed.