Trying to set the include directory path for llvm build
Hi,
I am trying to build llvm with snmalloc allocator and as per the cmake options and instructions, I have set LLVM_INTEGRATED_CRT_ALLOC flag to the snmalloc clone path but I am facing include errors as shown in the below image:
fatal error: snmalloc/snmmlloc.h: No such file or directory
I have tried using -I and CMAKE_INCLUDE_PATH to set the include directory path but it doesn’t work.
Cmake Command used for build-:
cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS=clang -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_ENABLE_ASSERTIONS=OFF -DLLVM_ENABLE_EH=OFF -DLLVM_ENABLE_RTTI=ON -DLLVM_PARALLEL_COMPILE_JOBS=8 -DLLVM_PARALLEL_LINK_JOBS=8 -DLLVM_INTEGRATED_CRT_ALLOC="D:\git\snmalloc" -S llvm -B llvm-build
snmalloc/snmalloc.hexist on your computer? If so, where is it, and how does that location relate to the directory where you invoked the compile command?