This is an archive of the discontinued LLVM Phabricator instance.

[compiler-rt] Drop -Werror in compiler flag checks
AbandonedPublic

Authored by barannikov88 on Apr 1 2023, 3:27 PM.

Details

Reviewers
None
Summary

-Werror is redundant because CMake parses the output of try_compile,
and if it finds the name of the tested flag in the output it concludes
that the flag is unsupported.
The patch also fixes a typo in a variable name that was the reason for
adding -Werror in the first place.

Diff Detail

Event Timeline

barannikov88 created this revision.Apr 1 2023, 3:27 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 1 2023, 3:27 PM
Herald added subscribers: Enna1, dberris. · View Herald Transcript
barannikov88 requested review of this revision.Apr 1 2023, 3:27 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 1 2023, 3:27 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
barannikov88 abandoned this revision.Apr 1 2023, 3:30 PM

arc messed up