[all-commits] [llvm/llvm-project] e7853a: [CMake] Fix lld detection after D69685

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat Dec 28 13:05:48 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e7853a5ce21c466ae6261ec73933672610427a07
      https://github.com/llvm/llvm-project/commit/e7853a5ce21c466ae6261ec73933672610427a07
  Author: Fangrui Song <maskray at google.com>
  Date:   2019-12-28 (Sat, 28 Dec 2019)

  Changed paths:
    M compiler-rt/cmake/Modules/AddCompilerRT.cmake

  Log Message:
  -----------
  [CMake] Fix lld detection after D69685

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 || ...
```

Differential Revision: https://reviews.llvm.org/D71950




More information about the All-commits mailing list