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