Fix PrgEnv detection (#34845)
* Fix PrgEnv detection for Cray compiler link paths
This commit is contained in:
parent
c05827e794
commit
ea970c8ab8
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ def __init__(self, *args, **kwargs):
|
|||
|
||||
@property
|
||||
def link_paths(self):
|
||||
if self.PrgEnv in self.modules:
|
||||
if any(self.PrgEnv in m for m in self.modules):
|
||||
# Old module-based interface to cray compilers
|
||||
return {
|
||||
"cc": os.path.join("cce", "cc"),
|
||||
|
|
Loading…
Reference in a new issue