[PATCH] D11932: [OPENMP] Link libomp.lib on Windows

hfinkel@anl.gov via cfe-commits cfe-commits at lists.llvm.org
Sat Aug 15 19:57:27 PDT 2015


hfinkel added a subscriber: hfinkel.
hfinkel added a comment.

In http://reviews.llvm.org/D11932#222515, @ismail wrote:

> Tests pass but, now when I tried to compile a file with -fopenmp I get:
>
> LINK: fatal error LNK1104: cannot open file 'libomp.lib'
>
> libomp.lib does exist in "C:\Program Files\LLVM\lib" but I guess we need to pass the library path down to linker.


What library path should be passed (where did you build the OpenMP runtime library)?


http://reviews.llvm.org/D11932





More information about the cfe-commits mailing list