[cfe-dev] Clang/LLVM OpenMP program not spawning threads

Jaime Arteaga jandres742 at gmail.com
Tue Jul 28 06:45:30 PDT 2015


Thank you all for your replies. And yes, as Andrey indicated, after
adding  -fopenmp=libomp
(and assuming LD_LIBRARY_PATH is correctly set up), the example now works
as expected.

Thanks!


*___________________________________Jaime Arteaga*
http://www.linkedin.com/in/jandres742
 <http://www.linkedin.com/in/jandres742>

On Tue, Jul 28, 2015 at 6:18 AM, David Chisnall <David.Chisnall at cl.cam.ac.uk
> wrote:

> On 28 Jul 2015, at 12:13, Anton Korobeynikov <anton at korobeynikov.info>
> wrote:
> >
> > Probably for 3.7 we'd need to issue a warning / error for -fopenmp w/o
> libomp.
>
> And make everyone using OpenMP modify their build systems for a single
> release of clang, when we could just make -fopenmp do the right thing?
>
> David
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150728/ae95df81/attachment.html>


More information about the cfe-dev mailing list