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

    <tr>
        <th>Summary</th>
        <td>
            [Clang][OpenMP] Can't emit LLVM from a C file with OpenMP
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang
      </td>
    </tr>

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

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

<pre>
    My test:

```bash
$ clang -fopenmp -S -emit-llvm a.c -o a.ll

a.c:1:10: fatal error: 'omp.h' file not found
    1 | #include <omp.h>
      | ^~~~~~~
```

Looking for this header with the `find` command, it lays on the gcc includes path, which is not compatible with clang. And I've tried to install every possible variation of the `libomp` and it still doesn't work.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxMUsGOmzAQ_RpzGYGMjcPmwCGb3UiVNmrVSr0PeAB3jY1skyiXfnsFpGrRIGuk98bvjR_GaAZH1DD1ytRbhksafWjuFJfvOFDWev1org9IFBOTJ8a3OvC9Wozj2osKOotugLz3M7lphvwH5DSZlFt7mwCLDnIPWFi7T8CiY_JUrj9n8gQ9JrRAIfiwtkzUfpqLkYkaemMJnE_Q-8Vpxk8AACWw-gxMSOM6u2gCJs87Q74_IbBD1Pvv7ftf9q7hw_tP4wbofYA0mggjoaYAd5NGSCMBO_DeOM0OHDo_Teg0E2cwCSw-Ini3gYaug6eICDOmccXcR9ONYOKmu_PTjMm0lvbR26YKODkNX5iobwQpGNKQPBgXE1oLdKPwgNnHuNFuGAwm4x34_q8ya1o_zas2dHoVFZOxFrSn6JioE9x9-Cwy3Uh9lEfMqClrWdWVklJlY1MdDwp73rVtx0tZa9S8p7Y-9i-K6KhEZhrBRVUKUfKyEqUqji9lpSTVWnFZ94eWVZwmNLZYX7jwYchMjAs1peAvpcwstmTjFishNstMiDVhoVkJebsMkVXcmpjivxHJJLtl8bwx1BtTr19nctdvTL3BGXdra7Dg4-PnFfrgJ0A47ynZ1rvDsyXYZkxpjmtqxYWJy2DSuLRF5ycmLuuNzyOfg_9FXWLisjmITFyeJm6N-BMAAP__NNX57w">