I try to compile POCL, and after 5 minutes I write:
pocl_llvm_api.cc:32:41 fatal error: clang/CodeGen/CodeGenAction.h: No such file or directory
In the file pocl_llvm_api.cc, in line 32 it is written:
#include "clang / CodeGen / CodeGenAction.h:"
The clang library itself is located in /usr/lib/llvm-3.5/include, but I don’t want to manually specify in each file, there are a lot of them. I tried to copy the clang folder next to the Makefile, but other problems came. Is there any way to indicate the location of the library?
LIBS- Yaroslav option