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

Use the name of the Fortran compiler to determine what name mangling (#8393)

setting to use, instead of the spack compiler.

%clang can use multiple Fortran compilers with different options, so
we need to know what compiler is used in order to provide the correct
options.
parent 98d8bdeb
No related branches found
No related tags found
No related merge requests found
......@@ -120,7 +120,7 @@ def install(self, spec, prefix):
elif '%pgi' in spec:
make_args += ['CFLAGS+=--exceptions']
if '%xl' in spec or '%xl_r' in spec:
if spack_f77.endswith('xlf') or spack_f77.endswith('xlf_r'):
make_args += ['CFLAGS+=-DBLAS_NO_UNDERSCORE']
# Intel TBB in SuiteSparseQR
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment