<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/58108>58108</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Document LLVM_TARGETS_TO_BUILD
</td>
</tr>
<tr>
<th>Labels</th>
<td>
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
dilyanpalauzov
</td>
</tr>
</table>
<pre>
According to https://llvm.org/docs/CMake.html#frequently-used-llvm-related-variables `LLVM_TARGETS_TO_BUILD` can be used to limit the compilation time of LLVM itself and create binaries, which do not support all targets.
The only documented values for LLVM_TARGETS_TO_BUILD are all, X86, and «"X86;PowerPC"». Within ccmake the documentation suggests only “all” as valid value.
Please extend the documentation of LLVM_TARGETS_TO_BUILD, both within cland and at https://llvm.org/docs/CMake.html, to list all possible values, as this is done for LLVM_ENABLE_PROJECTS.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyVkkuPmzAUhX-N2VwFOUCYsGARSKZqlelEM-ljFxl8AbcGU9tkmv76GkJUjWY2lQA_uec7xy4Uv6SbslSai64Gq6Cxtjck3JDg3j1Snltf6dp1uSqNa_IH9hP9xraSBGGl8deAnZWXxWCQL8btC42SWTc4My1YIdEAiel-__XhdNw8fdgdn0_Hx1P25eN-6-ahZB0UCOPvo7wUrbBgG4RStb1wlYTqwIoWQVUwVgFhDcoKWMeh1OikoBCd00KHl8NLI8oGuIJOWTBD3yttgUkJlukarfEJ3RK6uX6PTkd18uL2l0PrjDiIM5ODY66UhnehgWkcC45i39fx2IwoJA_IJiNBMM6F2UG9oD7kbjwuZJkP8E3YRnRQlq1LcLJ4U72aNENdo7HmSkR2AVlTkuSj1Nx32mbkEzPlKy8Hicwg4G-LDudt-Tm-t4fgDBTKNvAy88nRzvTa_7oN-fX8zDXuXhkj3OnPeU4xGYclDLiHqw6niK9Mu8-bbL87HZ4eP-3y47PvYbqM4-iOJus48nga8iRMmGeFlZhuZ1vv2_EGLdPX2LUzNhS-u1Czh7lZ9Fr9wNK6oTBmgrxfrZd07TVpkLC44ny9vCsoJlUU0irhYVLRcoVBeEc9yQqUJiWrjKy2nkgDGgRLSoPlMoiCyF-VCY34CmkRhmEcchJRbJmQ_i1DT6cTQzHUxi2OuZl_i8yFV3eIt_pssI3SKRfywrqeSTb8UWdvok4n5L-4ijuG">