[cfe-dev] OpenMP header path?
Eugene Zelenko via cfe-dev
cfe-dev at lists.llvm.org
Tue Feb 5 13:48:43 PST 2019
Hi!
I'm trying to build file with enabled OpenMP support by trunk Clang
with GCC STL. Compilation is failing because of:
fatal error: 'omp.h' file not found
#include <omp.h>
Clang options:
-stdlib=libstdc++ --gcc-toolchain=<GCC 6.3.0 path> -fopenmp
Search path reported by -v:
#include <...> search starts here:
<GCC 6.3.0 path>/lib/gcc/x86_64-redhat-linux/6.3.0/../../../../include/c++/6.3.0
<GCC 6.3.0 path>/lib/gcc/x86_64-redhat-linux/6.3.0/../../../../include/c++/6.3.0/x86_64-redhat-linux/32
<GCC 6.3.0 path>/lib/gcc/x86_64-redhat-linux/6.3.0/../../../../include/c++/6.3.0/backward
Location of omp.h:
<GCC 6.3.0 path>/lib/gcc/x86_64-redhat-linux/6.3.0/include/omp.h
Eugene.
More information about the cfe-dev
mailing list