<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/151557>151557</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Standalone lld builds don't install symlinks
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            lld
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          rossburton
      </td>
    </tr>
</table>

<pre>
    If I build `lld` standalone, it installs the binaries several times instead of symlinking.

I suspect this is because `llvm_install_symlink` uses `LLVM_USE_SYMLINKS` which is defined in `llvm/CMakeLists.txt`, which isn't included in standalone `lld` builds.

</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxMkcuO2zoQRL-G2hBXoKj3ggvfSQwYsbMxEiArgxRbVmdoylCTTubvA2rkTNb9qDpVmgivHkCx-n9Wf8p0DNO8qGUmMnEJs8_MbN_UYeQHbiI6y1kjnLOsEZyC9la72QOTLxwDR09BO0c8TMANer0gECd4wKIdD3gDWndAWz6PnN5uDv0r-mvOxI6J3YFTpDsMgYcJiSNxA4OOBO-ij9tlU7hsp8lFJKA0Px6_ny7fzp8v5x-n4-Hrl3Ma_ppwmNIjCyN6sBz98xeT-5eTfoUjUqA8_A6sEYnjeeKZbBPS4KJ9P_zg_SeENRRKAJlVpe3LXmegirYu-05Uos0m1RelrsUoi9H0ZTOUoh3MKGXXdrKRnbEZKilkLdqyKJqqqZq8bauuK_q666umrPuKVQJuGl2ejOfzcs2QKIIq6qKu28xpA47WCqVMvqRMXS4qrf9n4pVYJdzK-fdBwOBAnT-QnLMbDLfzE35N-1kUZXFxagrhTqzcMblncn_FMEWTD3PKc4t1Vb0v808YApP71Soxud_cPpT8EwAA___tLs1B">