<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/97899>97899</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
request generate every target's include directory and lib directory to support better cross compiling
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
xiedeacc
</td>
</tr>
</table>
<pre>
llvm is great, it can natively support cross compiling, but if llvm generate every target's include and lib directories, will be the best. so we can handle include and library seach path more easily
on linux x86_64 system to build llvm, when specify
-DLLVM_TARGETS_TO_BUILD="X86;AArch64"
should generate
```
/usr/local/llvm/18/include/x86_64-unknown-linux-gnu
/usr/local/llvm/18/lib/x86_64-unknown-linux-gnu
/usr/local/llvm/18/include/aarch64-unknown-linux-gnu
/usr/local/llvm/18/lib/aarch64-unknown-linux-gnu
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJykk8-K2zwUxZ9G3lwSbMXxn4UXmS-fS2FKoZ2W7oIs3dhqFcnVlZLx2xc7GQLTRQcGjI2x7-F3ju4RRLq3iA3bPrDtPhExDM43zxoVCimTzqmpMeZ8Ak3QexSB8f9AB5DCghVBn9FMQHEcnQ8gvSMC6U6jNtr2869dDKCPsEj0aNGLgIBn9BME4XsMjJcE2koTFYKwCozuQGmPMjivkWaRizYGOoQwIHRIYQ3k4IILxCCsMvhawQs_AaGQA4wiDHByHgEFaTOxdM_S3fXuLBht4zM8V8WhyIEmCniC4KCL2qgFewaAy4AWaESpjxNcZ1f7x8fvnw5Puy8f_n_6enj6fHj49vFxzzZ7xvmPqmCbh93Oy6HIGee3GRpcNOoexI2lSG_X9ZW3kTzjrXFSmPm5ULRZxXh788l4e0VeRfvLuotdLT5WvY1vEDG6e5_AnUKIxeI7MP6l8BJOopqNqje1SLDJSp7ycpvVPBmaMk9zWXVCVccjVoU81lhincqjyDZdlvNENzzleVqmRZZnm4yvlcxVkZepyvKtyrYpy1M8CW3WM93a-T7RRBGbuqzqOjGiQ0NLQzi3eIHlI-N8Loxf2rHqYk8sT42mQHeVoIPBxuPviBTesP4vaz_9VYRp3smXmnUYAvrXbUuiN80QwkhsM-fOeNvrMMRuLd3pnvyCO3r3E2WYT3L2Qoy3V6_nhv8JAAD__8X5VB0">