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

    <tr>
        <th>Summary</th>
        <td>
            [Bazel] Move config settings to platforms
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            bazel
      </td>
    </tr>

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

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

<pre>
    Our current use of `select`s in https://github.com/llvm/llvm-project/blob/main/utils/bazel/llvm-project-overlay/llvm/config.bzl is outdated and inflexible.

Move this to a `config/BUILD.bazel` so that all the individual options are configurable and integrate well with platforms.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyUks2OnDoQhZ_GbEqDjPlrFiym1UK60o2yygMUUICjartll3sy8_QRdCcTZZcVyPapOvWdwhjt6oh6VZ-VMYjBu6t3M7IyRtWXDJNsPvR_XGSjn9_7rynAlEIgJ5AigV9ANToS0yT7D1gHm8gtqvJVmUGZYbWypTGf_FWZgfn-6_NyC_77rjLDyH5UZriidcoMSSzH_RQ_iP96_OLvFBjfP0tN3i12zccPBhvBJ5lRaAZ0M1i3MP2wI1Ou9KvSr1_8nUA2G0E84G78oVZmOH_77_9L_mjZaIgeZEMBZAbZCKyb7d3OCRn8Tax3ETAQPOQp4Mj0bCm0BhSCN2KGNysb3Bhl8eEa82zuy7krO8yoL9rydNKm7dps67GleipN1Z6ImrIy7TRXp3YquqXVTVkUme2NNrU2utG6aso279puWYpubibS1VJOqtJ0Rcv5jiX3Yc1sjIn6wtRdW2WMI3F8pv0Ee-Qc-gPvmNaoKs02SvwsIVb4WJHzoagvcBB8TA2RRKxbD5i_Z8xS4P6fF-Dwumf-tHvvzc8AAAD__5BV35s">