Build OpenMP with LLVM

Is it possible to build openmp with llvm such that it gets installed along clang?

For example after checking out llvm, one can checkout clang (and lldb, polly…) into llvm/tools and build those together with LLVM.

Is it possible to do the same with the OpenMP runtime?

And if so: How?

Bests,
Gonzalo

Hi Gonzalo,

There is a tutorial at following address which goes step by step. Take a look at it. It completely worked for me.

http://clang-omp.github.io/

Let me know if it doesn’t work.

Regards,
Millad