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

    <tr>
        <th>Summary</th>
        <td>
            [doc] incorrect build instructions for libcxx
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

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

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

<pre>
    In the [build instructions for libcxx, bootstrapping build](https://libcxx.llvm.org//BuildingLibcxx.html#bootstrapping-build), an incorrect definition is provided: 

`-DLLVM_RUNTIME_TARGETS="<target-triple>"`

which triggers the following error:

```
CMake Error at cmake/modules/LLVMExternalProjectUtils.cmake:147 (add_custom_target):
 add_custom_target called with target name containing a "<".  This character
  is not allowed.
Call Stack (most recent call first):
 runtimes/CMakeLists.txt:337 (llvm_ExternalProject_Add)
 runtimes/CMakeLists.txt:440 (runtime_register_target)
```

I believe it should be something like:

`-DLLVM_RUNTIME_TARGETS="libcxx;libcxxabi;libunwind" `

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUVE1v4zYQ_TXUZWBDJvXlgw5ObBcBkqLYzfZqUORYYkORBjmK039fUHKCpC1aLGDQFDl88-bNh4zR9A6xZeUdK_eZnGjwoe0D9vWoL1nn9Z_tgwMaEFh5103GajAuUpgUGe8inH0Aazr19sb4PXTeU6QgLxfjepjNWblnvBmILpGJHeNHxo_Lg7W1r-Pah345vEvWxvWPy-VAo2VcfEFcLYh8m3xJB8YpHwIqAo1n40yiBCbCJfhXo1EzsQOW71m-u61Vvto_Pv7-dPr249fnh6fD6Xn37ZfD83cm9oxzJu5Jhh5pRcFcLDJxSKdV_hnjOhg1AAXT9xjirMzZW-uvKWIMwYcU5lent9_8ef8kXxAOyRAkgRrlCzJ-HL2eLEbGj4nf4Y0wOGl_C_4PVPSDjI3rxVTsNkUNjDdS65OaIvnxtLBOury7hn_cgpLWooaroQFuR06OCMo7ksYl-hIWFRjna4DnwURQgwxSEYYbbpLXeQKZQka9vgUlrYXvJNVLYjb6SBBQoVu8wtmE-JVemByZcY53FuTRRIpreiMmdkLM8aXqOP1NiNNOz-n_f5CiyBPIzeQUsDeRMHyS6t-Ss6wP0KE1-IpgCOLgJ6uhQ4h-RBqSTtbMifiJ0rq1iLhbNrIzy35yV-M04xw-OGS6FXortjLDdlM1jShEUW-zoUXk1WajtuWmkjxXWBeNKptOF0XdKDx3mWl5zkVe5yLPN3W5XQteqmajqw0_F922RlbkOEpjPzovMzFO2FaiKkRmZYc2zqOAc4dXmC9TRZT7LLTpzaqb-siK3M5Kf6CQITvPEO0VK_ef-vI_J0Y2Bdt-nQy9oWHq1sqPaUzY1_e_1WUpAMaPM6uU85n1XwEAAP__qzSFuA">