made spack more conservative in compiler strategies attempted
This commit is contained in:
parent
487b2495a1
commit
4f9a309de8
@ -224,7 +224,7 @@ def check(key):
|
|||||||
def find(cls, *path):
|
def find(cls, *path):
|
||||||
compilers = []
|
compilers = []
|
||||||
platform = spack.architecture.sys_type()
|
platform = spack.architecture.sys_type()
|
||||||
strategies = [o.compiler_strategy for o in platform.operating_systems.values()]
|
strategies = [o.compiler_strategy for o in platform.operating_sys.values()]
|
||||||
if 'PATH' in strategies:
|
if 'PATH' in strategies:
|
||||||
compilers.extend(cls.find_in_path(*path))
|
compilers.extend(cls.find_in_path(*path))
|
||||||
if 'MODULES' in strategies:
|
if 'MODULES' in strategies:
|
||||||
|
Loading…
Reference in New Issue
Block a user