This commit is contained in:
Gregory Becker 2016-03-23 09:54:57 -07:00
parent 7c729d4c3c
commit 688eca23ff

View file

@ -110,7 +110,7 @@
import spack.architecture
import spack.parse
import spack.error
import spack.compilers as compilers
#import spack.compilers as compilers
from spack.version import *
from spack.util.naming import mod_to_class
@ -1174,9 +1174,9 @@ def validate_names(self):
spack.repo.get(spec.fullname)
# validate compiler in addition to the package name.
if spec.compiler:
if not compilers.supported(spec.compiler):
raise UnsupportedCompilerError(spec.compiler.name)
# if spec.compiler:
# if not compilers.supported(spec.compiler):
# raise UnsupportedCompilerError(spec.compiler.name)
# Ensure that variants all exist.
for vname, variant in spec.variants.items():