----- Original Message ----> From: Óscar Fuentes <ofv at wanadoo.es> > To: Samuel Crow <samuraileumas at yahoo.com> > Cc: Óscar Fuentes <ofv at wanadoo.es>; LLVM Developers Mailing List ><llvmdev at cs.uiuc.edu> > Sent: Fri, January 14, 2011 4:39:57 PM > Subject: Re: Circular Deps from CMake build using makefile > > Samuel Crow <samuraileumas at yahoo.com> writes: > > > This time the autotools version of LLVM trunk build with Clang trunk >compiled in > > > Debug+Asserts mode without complaint with --enable-bindings=none. I suspect > > > this makes something fishy looking with the CMake build. Do you need >logfiles > > > from configure? > > I'm clueless about what's happening there. The cyclic dependency among > LLVMSupport and LLVMSystem makes no sense (the other cyclic dependency > is a different history) Others are using cmake on OS/X and didn't report > any problem. I'll like to help, but can't think of anything that could > be wrong on the cmake build (apart from compiler options: make VERBOSE=1 > will show the full command lines and you can compare the invocations or > the compiler and linker for the cmake and the `configure' build.) Sorry. >I have attached the logfiles here. Thanks again for helping me, --Sam -------------- next part -------------- A non-text attachment was scrubbed... Name: cmake.log Type: application/octet-stream Size: 932663 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110114/86f3a4c7/attachment.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: automake.log Type: application/octet-stream Size: 2247437 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110114/86f3a4c7/attachment-0001.obj>
Óscar Fuentes
2011-Jan-15 00:20 UTC
[LLVMdev] Circular Deps from CMake build using makefile
Samuel Crow <samuraileumas at yahoo.com> writes:> I have attached the logfiles here.I think you didn't set CMAKE_BUILD_TYPE while configuring the cmake build. On your build directory, please do: make clean cmake -DCMAKE_BUILD_TYPE=Debug path/to/your/llvm/source/root make If that doesn't work, show the exact command lines you used for invoking cmake and the `configure' script.
Sorry I wasted your time Óscar and the rest of the mailing list, I discovered the problem: I was building in one directory but generating the CMake build scripts in an identically named folder in the parent directory. I was using stale build scripts. That's why they looked the same each time despite my having regenerated the build-scripts with the CMake GUI. Once I got the scripts generated in the right directory, they built 100% correctly. My apologies, --Sam Crow ----- Original Message ----> From: Óscar Fuentes <ofv at wanadoo.es> > To: Samuel Crow <samuraileumas at yahoo.com> > Cc: Óscar Fuentes <ofv at wanadoo.es>; LLVM Developers Mailing List ><llvmdev at cs.uiuc.edu> > Sent: Fri, January 14, 2011 6:20:23 PM > Subject: Re: Circular Deps from CMake build using makefile > > Samuel Crow <samuraileumas at yahoo.com> writes: > > > I have attached the logfiles here. > > I think you didn't set CMAKE_BUILD_TYPE while configuring the cmake > build. On your build directory, please do: > > make clean > cmake -DCMAKE_BUILD_TYPE=Debug path/to/your/llvm/source/root > make > > If that doesn't work, show the exact command lines you used for invoking > cmake and the `configure' script. >
Maybe Matching Threads
- [LLVMdev] Circular Deps from CMake build using makefile
- [LLVMdev] Circular Deps from CMake build using makefile
- [LLVMdev] Circular Deps from CMake build using makefile
- [LLVMdev] Circular Deps from CMake build using makefile
- [LLVMdev] Circular Deps from CMake build using makefile