This is an archive of the discontinued LLVM Phabricator instance.

[CMake][compiler-rt] Only set lld as available when it was built
ClosedPublic

Authored by phosek on Jun 10 2020, 8:05 PM.

Details

Summary

The -fuse-ld=lld check might succeed because there's a system lld,
but that lld may be out-of-date which would cause any tests that
attempt to use for LTO fail. This was observed on some of the bots.

Diff Detail

Event Timeline

phosek created this revision.Jun 10 2020, 8:05 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 10 2020, 8:05 PM
Herald added subscribers: Restricted Project, dexonsmith, mgorny, dberris. · View Herald Transcript
smeenai accepted this revision.Jun 11 2020, 12:57 PM

Makes sense to me.

This revision is now accepted and ready to land.Jun 11 2020, 12:57 PM
This revision was automatically updated to reflect the committed changes.