Skip to content
Snippets Groups Projects
Commit 32cecf55 authored by Mario Melara's avatar Mario Melara Committed by becker33
Browse files

Fix target for compiler on CNL operating systems (#2580)

Changes any to a string to avoid <built-in function any> being
incorrectly added to target in compilers.yaml.
parent 8816cdea
No related branches found
No related tags found
No related merge requests found
...@@ -117,7 +117,7 @@ def __init__(self, cspec, operating_system, target, ...@@ -117,7 +117,7 @@ def __init__(self, cspec, operating_system, target,
extra_rpaths=None, **kwargs): extra_rpaths=None, **kwargs):
self.spec = cspec self.spec = cspec
self.operating_system = str(operating_system) self.operating_system = str(operating_system)
self.target = str(target) self.target = target
self.modules = modules self.modules = modules
self.alias = alias self.alias = alias
......
...@@ -58,7 +58,7 @@ def find_compiler(self, cmp_cls, *paths): ...@@ -58,7 +58,7 @@ def find_compiler(self, cmp_cls, *paths):
v = version v = version
comp = cmp_cls( comp = cmp_cls(
spack.spec.CompilerSpec(name + '@' + v), spack.spec.CompilerSpec(name + '@' + v),
self, any, self, "any",
['cc', 'CC', 'ftn'], [cmp_cls.PrgEnv, name + '/' + v]) ['cc', 'CC', 'ftn'], [cmp_cls.PrgEnv, name + '/' + v])
compilers.append(comp) compilers.append(comp)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment