Skip to content

Commit 327de65

Browse files
committed
fix(fpm_compiler_arguments): add IBM XL Fortran compile command
1 parent 8477d64 commit 327de65

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/compiler_test_m.f90

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,8 @@ function fpm_compiler_arguments() result(args)
237237
args = "--archiver ar --compiler xlf2008_r --flag -DXLF"
238238
else if (index(compiler_identity, "Cray")==1) then
239239
args = "--compiler ftn"
240+
else if (index(compiler_identity, "XLF")==1) then
241+
args = "--compiler xlf2008_r"
240242
else
241243
error stop "----> Unrecognized compiler_version() in function fpm_compiler_arguments. <----"
242244
end if

0 commit comments

Comments
 (0)