This is an archive of the discontinued LLVM Phabricator instance.

[Fortran] Don't add -Werror=date-time for flang
ClosedPublic

Authored by rovka on Jun 3 2022, 2:07 AM.

Details

Summary

At the moment, flang doesn't support -Werror=date-time, so we
can't run the llvm-test-suite with it. This patch skips adding the flag
if the Fortran compiler is set to flang. It shouldn't affect any other
compiler (and especially not C/C++ ones).

Diff Detail

Repository
rT test-suite

Event Timeline

rovka created this revision.Jun 3 2022, 2:07 AM
Herald added a project: Restricted Project. · View Herald Transcript
rovka requested review of this revision.Jun 3 2022, 2:07 AM
awarzynski accepted this revision.Jun 9 2022, 2:19 AM

Sorry, forgot to submit my reply earlier!

LGTM, thanks!

This revision is now accepted and ready to land.Jun 9 2022, 2:19 AM
This revision was automatically updated to reflect the committed changes.