This is an archive of the discontinued LLVM Phabricator instance.

[Fortran] Add missing unsupported LLVM Flang options
ClosedPublic

Authored by awarzynski on Aug 18 2023, 1:10 PM.

Diff Detail

Repository
rT test-suite

Event Timeline

awarzynski created this revision.Aug 18 2023, 1:10 PM
Herald added a project: Restricted Project. · View Herald Transcript
awarzynski requested review of this revision.Aug 18 2023, 1:10 PM
tarunprabhu requested changes to this revision.Aug 18 2023, 2:11 PM
tarunprabhu added inline comments.
CMakeLists.txt
61

Can this be replaced with add_compile_options? If so, we might as well do it now.

61–62

If these are tabs, could you replace them with spaces.

Fortran/gfortran/CMakeLists.txt
526

Is this intentional? Many of the compile tests pass specific flags to the compiler, so this message will only really refer to the common set of flags.

This revision now requires changes to proceed.Aug 18 2023, 2:11 PM

Remove accidental message()

Thanks for taking a look!

CMakeLists.txt
61

Can this be replaced with add_compile_options?

Possbily, but there are places in CMake scripts that assume that this is how -w has been added. It all looks a bit fragile to me.

If so, we might as well do it now.

Please, can we stick to 1 change per patch? This would be tangential to what I am trying to achieve here.

61–62

These are not tabs. This is how Phabricator displays new level of indentation (i.e. new spaces)

Fortran/gfortran/CMakeLists.txt
526

No, sorry about that, was meant to remove it before sending for review.

tarunprabhu accepted this revision.Aug 18 2023, 2:26 PM

OK. Thanks for the changes and clarifications.

CMakeLists.txt
61

Ok.

This revision is now accepted and ready to land.Aug 18 2023, 2:26 PM
This revision was automatically updated to reflect the committed changes.