On Jan 15, 2009, at 8:43 AM, Óscar Fuentes wrote:> Makslane Araújo Rodrigues > <makslane at hotmail.com> writes: > >> Please, don't remove, I'm using!!! > > What's preventing you from using CMake? > > Is there some problem we can solve?At some point, we'll need to deal with the testing issue in the CMake build system. Clang, for example, uses some GNU make magic to run its tests, which we'll need to replace with something more platform- neutral in CMake. That shouldn't prevent anyone who is using the current VS project files from switching to CMake, though. - Doug
Óscar Fuentes
2009-Jan-15 17:46 UTC
[LLVMdev] Testing and CMake (was: win32/llvm.sln, win32/clang.sln)
Douglas Gregor <dgregor at apple.com> writes:>>> Please, don't remove, I'm using!!! >> >> What's preventing you from using CMake? >> >> Is there some problem we can solve? > > At some point, we'll need to deal with the testing issue in the CMake > build system. Clang, for example, uses some GNU make magic to run its > tests, which we'll need to replace with something more platform- > neutral in CMake.Testing was (is) the big roadblock for the LLVM CMake system. It is not practical to duplicate the make-based system we have now, but I think a good compromise can be achieved by invoking a script instead of `make'. The build could use this script for doing full testing, so "make all check" would keep working, although for partial testing the script would be mandatory. If this is not already working, is due to lack of time here. OTOH, I haven't followed in detail all that discussion around a new testing framework (plus the introduction of C++ unit tests). I need to relearn was going on and see how that affects my plans.> That shouldn't prevent anyone who is using the current VS project > files from switching to CMake, though.Right. Current VS project files does not support testing at all. -- Oscar
steve naroff
2009-Jan-15 18:16 UTC
[LLVMdev] [cfe-dev] Testing and CMake (was: win32/llvm.sln, win32/clang.sln)
Hi Oscar, For development, CMake is working great for me. I rarely get build errors related to the project file being out-of-date. Is it true that CMake only generates absolute paths? Any idea on the difficulty of generating relative paths? I consider this a pretty big obstacle... Thanks for all your hard work on this, snaroff On Jan 15, 2009, at 9:46 AM, Óscar Fuentes wrote:> Douglas Gregor <dgregor at apple.com> writes: > >>>> Please, don't remove, I'm using!!! >>> >>> What's preventing you from using CMake? >>> >>> Is there some problem we can solve? >> >> At some point, we'll need to deal with the testing issue in the CMake >> build system. Clang, for example, uses some GNU make magic to run its >> tests, which we'll need to replace with something more platform- >> neutral in CMake. > > Testing was (is) the big roadblock for the LLVM CMake system. It is > not > practical to duplicate the make-based system we have now, but I > think a > good compromise can be achieved by invoking a script instead of > `make'. The build could use this script for doing full testing, so > > "make all check" > > would keep working, although for partial testing the script would be > mandatory. If this is not already working, is due to lack of time > here. > > OTOH, I haven't followed in detail all that discussion around a new > testing framework (plus the introduction of C++ unit tests). I need to > relearn was going on and see how that affects my plans. > >> That shouldn't prevent anyone who is using the current VS project >> files from switching to CMake, though. > > Right. Current VS project files does not support testing at all. > > -- > Oscar > > _______________________________________________ > cfe-dev mailing list > cfe-dev at cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev