Issue 120813
Summary [Clang][OpenMP] Can't emit LLVM from a C file with OpenMP
Labels clang
Assignees
Reporter wesuRage
    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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to