Skip to content
Snippets Groups Projects
Commit 64d20a39 authored by Dan FitzGerald's avatar Dan FitzGerald Committed by Todd Gamblin
Browse files

Use no mangling for all spack compiler definitions that use the XL (#8392)

Fortran compiler.
Clang can build with IBM XL Fortran compiler as well, so the name
mangling shoud be avoided for that case as well.
parent a67b2e29
No related branches found
No related tags found
No related merge requests found
......@@ -91,7 +91,8 @@ def install(self, spec, prefix):
'INCLUDEDIR = $(SuperLUroot)/include',
'LOADOPTS =',
'CDEFS = %s' % ("-DNoChange"
if '%xl' in spec or '%xl_r' in spec
if spack_f77.endswith('xlf') or
spack_f77.endswith('xlf_r')
else "-DAdd_")
])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment