Skip to content

Commit

Permalink
test(compiler_test): identify flang(-new)
Browse files Browse the repository at this point in the history
  • Loading branch information
rouson committed Mar 4, 2024
1 parent 3fa6eda commit d8b45ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/compiler_test_m.f90
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,8 @@ function fpm_compiler_arguments() result(args)
args = "--compiler ftn"
else if (index(compiler_identity, "XLF")==1) then
args = "--compiler xlf2008_r"
else if (index(compiler_identity, "flang")==1) then
args = "--compiler flang-new"
else
error stop "----> Unrecognized compiler_version() in function fpm_compiler_arguments. <----"
end if
Expand Down

0 comments on commit d8b45ff

Please sign in to comment.