On Friday September 09 2016 10:42:34 Pavel Labath wrote: Hi Pavel
Thanks for pointing me to > Hi Rene, > lldb/cmake/modules/LLDBStandalone.cmake for how to set it up. As far > as I know, the main trick is pointing your build to the llvm-config > binary installed by the llvm package So, adding -DLLVM_CONFIG=/opt/local/libexec/llvm-3.9/bin/llvm-config -DLLVM_DIR=/opt/local/libexec/llvm-3.9/lib/cmake/llvm almost allows cmake to succeed when pointed to ../llvm-3.9.0.src/tools/lldb, except for 1 pesky error: -- Found LLVM_CONFIG as /opt/local/libexec/llvm-3.9/bin/llvm-config -- Building with -fPIC CMake Error at cmake/modules/LLDBStandalone.cmake:89 (include): include could not find load file: CheckAtomic Call Stack (most recent call first): CMakeLists.txt:3 (include) and with reason: the path to that file is llvm-3.9.0.src/cmake/modules/CheckAtomic.cmake > (you should just check out the > lldb repo, without llvm and clang sources). Yeah, one would hope for that, eh? :) Thanks, René _______________________________________________ lldb-dev mailing list lldb-dev@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev