[CMake] cdash build name
Matthias Kretz
kretz at kde.org
Tue May 17 09:01:10 EDT 2011
On Tuesday 17 May 2011 14:28:30 Yngve Inntjore Levinsen wrote:
> On Tuesday 17 May 2011 14.01.00 Rolf Eike Beer wrote:
> > Yngve Inntjore Levinsen wrote:
> > > set(CTEST_BUILD_NAME "${osname}-${cpu}-prod")
> > > message("CTEST name: ${CTEST_BUILD_NAME}")
> >
> > You must set the build name before including the CTest modules.
>
> Aha, did not know that. Tried and now it works very well (using BUILDNAME
> and not CTEST_BUILD_NAME), thanks a bunch!
>
> > The compiler version is always unknown as this information is not
> > transferred (properly) in the XML to CDash. See
> > http://www.cmake.org/Bug/view.php?id=7867
>
> Oh well then we just have to wait for the bug to be fixed I guess...
I use the ctest build name to put all information about the host system and
compiler in there. E.g. it looks like this: "master Description: openSUSE 11.3
(x86_64) x86_64 g++ (GCC) 4.6.1 20110429 (prerelease)"
So basically "<git branch> <lsb_release -b> <uname -m> <g++ --version|head -
n1> <CXXFLAGS>".
Cheers,
Matthias
--
________________________________________________________
Matthias Kretz (Germany) <><
http://kretzfamily.de/
More information about the CMake
mailing list