Skip to content

Commit d8b45ff

Browse files
committed
test(compiler_test): identify flang(-new)
1 parent 3fa6eda commit d8b45ff

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
@@ -239,6 +239,8 @@ function fpm_compiler_arguments() result(args)
239239
args = "--compiler ftn"
240240
else if (index(compiler_identity, "XLF")==1) then
241241
args = "--compiler xlf2008_r"
242+
else if (index(compiler_identity, "flang")==1) then
243+
args = "--compiler flang-new"
242244
else
243245
error stop "----> Unrecognized compiler_version() in function fpm_compiler_arguments. <----"
244246
end if

0 commit comments

Comments
 (0)