CDash:Build Management: Difference between revisions
From KitwarePublic
Jump to navigationJump to search
(New page: CDash 1.6 implements a '''beta version''' of remote build management directly from CDash. This page describes how to enable build management in CDash and will be updated as we improve the ...) |
|||
Line 9: | Line 9: | ||
$CDASH_MANAGE_CLIENTS = '1'; | $CDASH_MANAGE_CLIENTS = '1'; | ||
Then create a | Then create a machine description XML file (mymachine.cdash.xml) on each client machine: | ||
<?xml version="1.0" encoding="UTF-8"?> | |||
<cdash> | |||
<system> | |||
<platform>windows</platform> | |||
<version>7</version> | |||
<bits>32</bits> | |||
<basedirectory>C:/CDashClient</basedirectory> | |||
</system> | |||
<compiler> | |||
<name>MSVC</name> | |||
<version>2009</version> | |||
<generator>Visual Studio 9 2008</generator> | |||
</compiler> | |||
<cmake> | |||
<version>2.8</version> | |||
<path>C:/Program Files/CMake 2.8/bin</path> | |||
</cmake> | |||
<library> | |||
<name>OpenGL</name> | |||
<version>1.3</version> | |||
<include>C:/OpenGL</include> | |||
<path>C:/OpenGL-bin</path> | |||
</library> | |||
</cdash> |
Revision as of 19:56, 8 February 2010
CDash 1.6 implements a beta version of remote build management directly from CDash. This page describes how to enable build management in CDash and will be updated as we improve the concept.
Introduction
The main idea of the CDash/CTest build management is to have clients announce their availability to the CDash server. The server then schedule and allocate the proper clients based on the build requirements.
Installation
In your config.local.php put the following line:
$CDASH_MANAGE_CLIENTS = '1';
Then create a machine description XML file (mymachine.cdash.xml) on each client machine:
<?xml version="1.0" encoding="UTF-8"?> <cdash> <system> <platform>windows</platform> <version>7</version> <bits>32</bits> <basedirectory>C:/CDashClient</basedirectory> </system> <compiler> <name>MSVC</name> <version>2009</version> <generator>Visual Studio 9 2008</generator> </compiler> <cmake> <version>2.8</version> <path>C:/Program Files/CMake 2.8/bin</path> </cmake> <library> <name>OpenGL</name> <version>1.3</version> <include>C:/OpenGL</include> <path>C:/OpenGL-bin</path> </library> </cdash>