This is an archive of the discontinued LLVM Phabricator instance.

[CMake] Fix lld detection after D69685
ClosedPublic

Authored by MaskRay on Dec 27 2019, 4:05 PM.

Details

Summary

D69685 actually broke lld detection for my build (probably due to CMake
processing order).

Before:

build projects/compiler-rt/lib/sanitizer_common/tests/Sanitizer-x86_64-Test-Nolibc: ... bin/clang || ...

After:

build projects/compiler-rt/lib/sanitizer_common/tests/Sanitizer-x86_64-Test-Nolibc: ... bin/clang bin/lld || ...

Diff Detail

Event Timeline

MaskRay created this revision.Dec 27 2019, 4:05 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptDec 27 2019, 4:05 PM
Herald added subscribers: llvm-commits, Restricted Project, mgorny. · View Herald Transcript
rnk accepted this revision.Dec 27 2019, 4:24 PM

lgtm

This revision is now accepted and ready to land.Dec 27 2019, 4:24 PM
This revision was automatically updated to reflect the committed changes.