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

    <tr>
        <th>Summary</th>
        <td>
            LLVM_ENABLE_RUNTIMES build with libcxx+openmp is racey
        </td>
    </tr>

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

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

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

<pre>
    In LLVM 14, doing a bootstrapping build with `-DLLVM_ENABLE_RUNTIMES=libunwind,libcxxabi,libcxx,openmp` may result in build failures, because openmp expects standard C++ headers to be present in the sysroot (as it includes them in its code), which is sometimes not the case, as the C++ headers are still in process of being copied.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxtUclu2zAQ_RrqMoghUYutgw5x7AABnBy6XQMuI4sFJaokVdt_36GaNAVagIBmOPMWPkmnb93TBKfTt2coKsYfQDsznUGAdC6G6MU8p14uxmq4mDgAa_K7QwK8Hl_u96fj66evL1-eno-fWXmwRi7TxUyamKhW16uQ5k9NhZtxGmeigFHcwGNYbAQzvfH3wtiFLpMPiUosAeE3AvA6o4oBQhSTFl7DA-N7OjCg0OgDREcQmAmN00oZB4RwC57eAYzvRACT7pVdNIY0HdOWIU7lNDLeJtXLYNQAhnTciNGMtDkRPnEpETCtiBX8j77wJBeNtYl19k5hCOB6MpXyU242qDeZ7krdlq3IookWu__F-HfW77nt31IgY14ovGWLt90Q4xxYec_4I50z7S9yo9xIjbU_3z935OU7RUetCWFJ4T7W1a7eZkNX90JJ2fTNrsEaheCqwVZWfbkrq1ZhmVkh0YaO1fRUPuEFVgqqWX3ITMdzzvOq4HlR1DnfVNuqzustKl6UfaUKVuU40i_dJB8b58-Z71ZLcjkHGloTYvgYihDMeUJc5YhfLHFwvvvRNNkq2622fwGh1-VD">