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

    <tr>
        <th>Summary</th>
        <td>
            Remove `OPENMP_ENABLE_LIBOMPTARGET` CMake option
        </td>
    </tr>

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

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

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

<pre>
    It seems that after #75125 this option has no effect and is only passed to `ENABLE_LIBOMPTARGET` define in a header: https://github.com/llvm/llvm-project/blob/aa71344acdb1a861c1d74345a3fc80aef48bb4b3/openmp/runtime/src/kmp_config.h.cmake#L100C9-L100C28

It doesn't seem to make sense to make this define depend on a possibly manually specified variable instead of whether `offload` is actually a built runtime. At least it seems like a potential source of inconsistency
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyUks1u7CgQhZ8Gb0ppYfy_8KKTaY8i5U9R9lEBRZsJBsvgjvrtR3aSe1d3cVclVFDUOefDGO3ZE_WsumXVPxmuaQxLPzicyNiFMhn0tb9PEImmCGnEBGgSLcBE0VS5qCCNNkKYkw0eRozgA5AxpBKg17D1vLvCjDGShhSA1fz0dLx9OL0_3N8-P768HV__Pb2xmoMmYz2B9YAwEmpaWHGEMaU5suLIxMDEcLZpXOVBhYmJwbnLT7mZl_AfqcTEIF2QTAyITV6UJSotc2zrXOW6KYuywsKoliOZspWylAUTQ5jJTzMTw7L6ZCdiYoiLYmL4mOZ3Fbyx58N4UBN-EBPFQ875XXezF9EyfmT8eJ9AB4qeiebLq03pdh8i-Ui_TrtZ3zo1zeQ1hE3uHGK00l1hQr-ic1eIMylrLGm44GJRus2YmAg1BAOfI6VxS6HmwRgXUG8G2gio0td7BLlal-Bb0gGOCRxhTGB_0nT2g_a_E_lk0UEM66Jom2-9Cj7amMira6b7QndFhxn1eVN2eV60XZuNfdU0htedNHnbmJryWtdG54IqLGtjuMxsL7ioeM0r3lZt3h503XayaRTWVJPoBCs5TWjdYcvwEJZzZmNcqc9L0YkucyjJxR1OITx9wt5lQmysLv0evFzPkZXc2Zji7zHJJkf9K03hQptLzy-np8eX9z-Qd_e4hfMFcbYurv9r6PbFIhPD9-aXXvwfAAD__z1hGQo">