Re: [lldb-dev] Standalone build broken after r269332

2016-05-17 Thread Kamil Rytarowski via lldb-dev
In further changes please add me to review, I will test the standalone build. Yes, I'm running an installed version of llvm-config and I don't have sources neither build files. On 17.05.2016 10:05, Pavel Labath via lldb-dev wrote: > Ok, I see what the problem is now. If you run llvm-config from t

Re: [lldb-dev] Standalone build broken after r269332

2016-05-17 Thread Pavel Labath via lldb-dev
Ok, I see what the problem is now. If you run llvm-config from the build folder, it will print out the correct path for the llvm headers, but this will not be correct for the clang headers as it points directly to the subfolder of the source llvm checkout. In Kamil's use case this will be fine sinc

Re: [lldb-dev] Standalone build broken after r269332

2016-05-16 Thread Eugene Zelenko via lldb-dev
Hi, Pavel! On Mon, May 16, 2016 at 3:04 AM, Pavel Labath wrote: > Hi Eugene, > > my thoughts on this are inline. > > At which stage does the build now fail for you (after applying the > fixes above)? Build failed at very beginning: source/lldb.cpp:19:10: fatal error: 'clang/Basic/Version.h' fil

Re: [lldb-dev] Standalone build broken after r269332

2016-05-16 Thread Pavel Labath via lldb-dev
Hi Eugene, my thoughts on this are inline. On 14 May 2016 at 01:46, Eugene Zelenko via lldb-dev wrote: > Hi! > > I tried to build standalone LLDB after r269332 change in > LLDBStandalone.cmake and encountered next problems: > > It implies that LLVM and Clang were built separately, but they could

Re: [lldb-dev] Standalone build broken after r269332

2016-05-13 Thread Kamil Rytarowski via lldb-dev
On 14.05.2016 02:46, Eugene Zelenko via lldb-dev wrote: > But biggest problem remains is how to specify Clang source and build > directories, since llvm-config doesn't tells about them. The requirement of source-code of Clang+LLVM and build dirs of Clang and LLVM is no-go in a package-manager use-

[lldb-dev] Standalone build broken after r269332

2016-05-13 Thread Eugene Zelenko via lldb-dev
Hi! I tried to build standalone LLDB after r269332 change in LLDBStandalone.cmake and encountered next problems: It implies that LLVM and Clang were built separately, but they could be built together, so next changes should be made as in previous version: - include("${LLVM_OBJ_ROOT}/lib${LLVM_