cleanup
This commit is contained in:
parent
7c729d4c3c
commit
688eca23ff
1 changed files with 4 additions and 4 deletions
|
@ -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():
|
||||
|
|
Loading…
Reference in a new issue