18 |
18 |
19 Description: |
19 Description: |
20 |
20 |
21 ============================================================================ |
21 ============================================================================ |
22 --> |
22 --> |
|
23 <!--* @package compile --> |
23 <project name="compile.ec" xmlns:hlm="http://www.nokia.com/helium"> |
24 <project name="compile.ec" xmlns:hlm="http://www.nokia.com/helium"> |
24 <description> |
25 <description> |
25 EC compilation targets. |
26 EC compilation targets. |
26 </description> |
27 </description> |
27 |
28 |
|
29 <!-- Location of emake tool. |
|
30 @type string |
|
31 @scope private |
|
32 --> |
28 <property name="ec.emake" value="emake"/> |
33 <property name="ec.emake" value="emake"/> |
|
34 <!-- Location of the Makefile generated to run the EC build. |
|
35 @type string |
|
36 @scope private |
|
37 --> |
29 <property name="ec.makefile.file" location="${build.drive}/Makefile"/> |
38 <property name="ec.makefile.file" location="${build.drive}/Makefile"/> |
30 |
39 |
|
40 <!-- Location of sysdef2make.pl file, which is used to translate system definition files to make files. Internal property that normally does not require changes. |
|
41 @type string |
|
42 @scope private |
|
43 --> |
31 <property name="ec.sysdef2make" location="${helium.dir}/tools/compile/ec/sysdef2make.pl"/> |
44 <property name="ec.sysdef2make" location="${helium.dir}/tools/compile/ec/sysdef2make.pl"/> |
|
45 <!-- Extra command line parameters for the sysdef2make call. |
|
46 @type string |
|
47 --> |
32 <property name="ec.sysdef2make.cmdline" value="-forcemake ((abld.*\-(w|what|c|check))|(abld.*resource))" /> |
48 <property name="ec.sysdef2make.cmdline" value="-forcemake ((abld.*\-(w|what|c|check))|(abld.*resource))" /> |
33 |
49 |
|
50 <!-- Temporary location of the EC history file used by the current build. |
|
51 @type string |
|
52 @scope private |
|
53 --> |
34 <property name="ec.historyfile" value="${build.drive}/emake.data"/> |
54 <property name="ec.historyfile" value="${build.drive}/emake.data"/> |
|
55 <!-- memory limit for EC execution. See user guide for more details |
|
56 @type string |
|
57 @scope private |
|
58 --> |
35 <property name="ec.mem.limit" value="1000000000"/> |
59 <property name="ec.mem.limit" value="1000000000"/> |
36 |
60 |
37 <!-- This can be used to query cluster manager to find information about the build. Set |
61 <!-- This can be used to query cluster manager to find information about the build. Set |
38 to default as all the clusture supports default class id.--> |
62 to default as all the clusture supports default class id.--> |
|
63 <!-- Build class for Electric Cloud. No default value. |
|
64 @type string |
|
65 @scope private |
|
66 --> |
39 <property name="ec.build.class" value="default"/> |
67 <property name="ec.build.class" value="default"/> |
40 |
68 |
41 |
69 |
42 <!-- Converting cononical SDF into a Makefile. --> |
70 <!-- Converting cononical SDF into a Makefile. --> |
43 <target name="compile-genxml-ec" if="build.system.ec-helium"> |
71 <target name="compile-genxml-ec" if="build.system.ec-helium"> |
149 <echo message="Single Node Build : Mode Serial" /> |
177 <echo message="Single Node Build : Mode Serial" /> |
150 <var name="ec.maxagents" value="1"/> |
178 <var name="ec.maxagents" value="1"/> |
151 <var name="ec.history.option" value="create"/> |
179 <var name="ec.history.option" value="create"/> |
152 </then> |
180 </then> |
153 <else> |
181 <else> |
|
182 <!-- Maximum number of agent to be used |
|
183 @type string |
|
184 --> |
154 <property name="ec.maxagents" value="0"/> |
185 <property name="ec.maxagents" value="0"/> |
|
186 <!-- Should be create for single node build and merge for multi node build. |
|
187 @type string |
|
188 @scope private |
|
189 --> |
155 <property name="ec.history.option" value="merge"/> |
190 <property name="ec.history.option" value="merge"/> |
156 <if> |
191 <if> |
157 <isset property="week.number"/> |
192 <isset property="week.number"/> |
158 <then> |
193 <then> |
159 <antcall target="find-previous-history-file"/> |
194 <antcall target="find-previous-history-file"/> |
325 |
360 |
326 <!-- Testing everything happens correctly. --> |
361 <!-- Testing everything happens correctly. --> |
327 <hlm:assertFileExists file="${temp.build.dir}/${build.id}.${sysdef.configuration}_run_emake.bat"/> |
362 <hlm:assertFileExists file="${temp.build.dir}/${build.id}.${sysdef.configuration}_run_emake.bat"/> |
328 <hlm:assertFileExists file="${compile.log.dir}/${build.id}.${sysdef.configuration}_build_output.log"/> |
363 <hlm:assertFileExists file="${compile.log.dir}/${build.id}.${sysdef.configuration}_build_output.log"/> |
329 <hlm:assertFileExists file="${compile.log.dir}/${build.id}.${sysdef.configuration}_compile.log"/> |
364 <hlm:assertFileExists file="${compile.log.dir}/${build.id}.${sysdef.configuration}_compile.log"/> |
330 <hlm:calculateErrorsFromLog logfile="${compile.log.dir}/${build.id}.${sysdef.configuration}_compile.log" /> |
|
331 </target> |
365 </target> |
332 </project> |
366 </project> |