This is an archive of the discontinued LLVM Phabricator instance.

[CMake] Reland "Make simple source used for CMake checks a C file"
ClosedPublic

Authored by phosek on May 17 2018, 2:29 PM.

Details

Summary

The source being compiled is plain C, but using .cc extension forces it
to be compiled as C++ which requires a working C++ compiler including
C++ library which may not be the case when we're building compiler-rt
together with libcxx as part of runtimes build.

Diff Detail

Event Timeline

phosek created this revision.May 17 2018, 2:29 PM
Herald added subscribers: Restricted Project, llvm-commits, mgorny. · View Herald TranscriptMay 17 2018, 2:29 PM
vitalybuka accepted this revision.May 17 2018, 4:41 PM
This revision is now accepted and ready to land.May 17 2018, 4:41 PM
This revision was automatically updated to reflect the committed changes.