changed error raised in concretize compiler to provide better error message
This commit is contained in:
parent
c678a9e3da
commit
2705f2c0e3
@ -343,7 +343,7 @@ def _proper_compiler_style(cspec, arch):
|
||||
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.
|
||||
|
Loading…
Reference in New Issue
Block a user