Dear developers,
I apologize if this has been answered before. I have just set up CDash and I
noticed that the build name in the report is typically "Linux-c++" or similar.
Now for our project Fortran is the main language, and we want to test on many
different compilers. Hence I would prefer it stated "Linux-ifort",
"Linux-gfortran" and so on. I tried the following in CTestConfig.cmake:
find_program(UNAME NAMES uname)
macro(getuname name flag)
exec_program("${UNAME}" ARGS "${flag}" OUTPUT_VARIABLE "${name}")
endmacro(getuname)
getuname(osname -s)
# getuname(osrel -r)
getuname(cpu -m)
set(CTEST_BUILD_NAME "${osname}-${cpu}-prod")
message("CTEST name: ${CTEST_BUILD_NAME}")
When configuring the message shows the build name I would like to have (or, I
would understand how to modify it to my liking), but on the CDash web page it
still states "Linux-c++". Anyone knows a solution/what I am doing wrong? When I
click on the report it also states that the compiler name is "/usr/bin/c++" and
unknown version. Ideally I would also like this information to change to the
fortran compiler information.
Thanks for your help!
Best Regards,
Yngve
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake