Skip to content

Commit a3cc10c

Browse files
authored
Merge pull request #54 from sourceryinstitute/fix-compiler-test
Add IBM XL Fortran compile command to fpm_compiler_arguments function
2 parents 8477d64 + 327de65 commit a3cc10c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/compiler_test_m.f90

+2
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)