ffb: Fixed a recipe error when using the Intel compiler. (#20133)
This commit is contained in:
parent
4e3fd2687a
commit
7b587bdda3
@ -150,12 +150,14 @@ def edit(self, spec, prefix):
|
|||||||
cxx_fortran_flags = []
|
cxx_fortran_flags = []
|
||||||
if spec.satisfies('%gcc'):
|
if spec.satisfies('%gcc'):
|
||||||
cxx_fortran_flags.append('-lgfortran')
|
cxx_fortran_flags.append('-lgfortran')
|
||||||
elif spec.satisfies('%intel'):
|
m = FileFilter(editfile)
|
||||||
cxx_fortran_flags.expand(['-lifcore', '-limf'])
|
m.filter('-lifcore -limf', ' '.join(cxx_fortran_flags))
|
||||||
elif spec.satisfies('%fj'):
|
elif spec.satisfies('%fj'):
|
||||||
cxx_fortran_flags.append('--linkfortran')
|
cxx_fortran_flags.append('--linkfortran')
|
||||||
m = FileFilter(editfile)
|
m = FileFilter(editfile)
|
||||||
m.filter('-lifcore -limf', ' '.join(cxx_fortran_flags))
|
m.filter('-lifcore -limf', ' '.join(cxx_fortran_flags))
|
||||||
|
elif spec.satisfies('%intel'):
|
||||||
|
pass
|
||||||
|
|
||||||
def build(self, spec, prefix):
|
def build(self, spec, prefix):
|
||||||
for m in [join_path('make', 'Makeall'),
|
for m in [join_path('make', 'Makeall'),
|
||||||
|
Loading…
Reference in New Issue
Block a user