[cfe-dev] OpenMP header path?

Eugene Zelenko via cfe-dev cfe-dev at lists.llvm.org
Wed Feb 6 15:52:48 PST 2019


Hi, Marcus!

On Wed, Feb 6, 2019 at 3:47 PM Marcus Johnson
<bumblebritches57 at gmail.com> wrote:
>>
>> Ok, so what you need to do is run this in your terminal: find / -iname "omp.h"
>
> then check all of the results for LLVM's header copyright info, once you find the correct OpenMP header, add that to Clang's search path with either -i (but capitalized) or -system-header-prefix.
>
> I'm not entirely clear on this part.

But isn't -fopenmp should add omp.h location (<Clang installation
directory>/include) to list of <> search paths?

Eugene.



More information about the cfe-dev mailing list