[PATCH] D69196: Fix lld detection in standalone compiler-rt.

Peter Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 28 04:42:35 PDT 2019


peter.smith added a comment.

I've just taken over buildbot monitoring duty and it looks like our http://lab.llvm.org:8011/builders/clang-cmake-thumbv7-full-sh/builds/3006 is still failing even with the latest fix.

I can reproduce on an x86_64 machine. It looks like specific problem is when the compiler has -fuse-ld=lld, but lld is not in the LLVM_ENABLE_PROJECTS list. If I add it then the cmake step will complete.

  CC=/path/to/clang CXX=/path/to/clang++ \
    cmake -GNinja ../../llvm \
        -DLLVM_ENABLE_PROJECTS="clang;compiler-rt" \
        -DCMAKE_BUILD_TYPE=Release

Can you take a look?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69196/new/

https://reviews.llvm.org/D69196





More information about the llvm-commits mailing list