author | Maciej Seroka <maciejs@symbian.org> |
Wed, 28 Apr 2010 15:01:11 +0100 | |
changeset 989 | 4ae26accd7da |
parent 973 | 9e13c23197b2 |
child 1011 | 5eec172ee719 |
permissions | -rw-r--r-- |
913
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
2 |
<project name="SF-COMPILE" xmlns:hlm="http://www.nokia.com/helium"> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
3 |
|
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
4 |
<math result="sf.spec.sbs.numberofjobs" operand1="${env.NUMBER_OF_PROCESSORS}" operation="*" operand2="2" datatype="int"/> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
5 |
|
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
6 |
<!-- compile specified sysdef file. called from sf-compile target in sf-platform/build.xml --> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
7 |
<target name="sf-os-compile"> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
8 |
|
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
9 |
<antcall target="sf-do-compile" inheritAll="false" inheritRefs="true"> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
10 |
<param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" /> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
11 |
<reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" /> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
12 |
</antcall> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
13 |
</target> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
14 |
|
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
15 |
<!-- compile specified sysdef file. called from sf-compile target in sf-platform/build.xml --> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
16 |
<target name="sf-s60-compile"> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
17 |
<antcall target="sf-do-compile" inheritAll="false" inheritRefs="true"> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
18 |
<param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" /> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
19 |
<reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" /> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
20 |
</antcall> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
21 |
</target> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
22 |
|
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
23 |
<!-- compile sbs.tools.config and sbs.config. tools built only if its not being unpacked first. |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
24 |
note: must be called from sf-os/s60-compile targets, as sys model input needed --> |
939
4dd6f1dde1fe
1) Add support for parallel makefile generation by spliting compile into two-step operation. export first, followed by compile.
Shabe Razvi <shaber@symbian.org>
parents:
917
diff
changeset
|
25 |
<target name="sf-do-compile" depends="sf-do-full-export"> |
914
e4c5389160b3
Fix scan_antlogs.pl execution plus fix ConE calls to use PDT_HOME env variable
Shabe Razvi <shaber@symbian.org>
parents:
913
diff
changeset
|
26 |
<echo message="INFO Using Helium 7+ for sf-do-compile"/> |
917
ebd555518364
Move copying of System Model to after compile-main
Shabe Razvi <shaber@symbian.org>
parents:
916
diff
changeset
|
27 |
|
913
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
28 |
<propertyregex property="sf.unpack.tools" override="true" input="${sf.spec.baseline.getenv_options}" regexp="-i tools" select="true" defaultValue="false" casesensitive="false"/> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
29 |
|
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
30 |
<if> <!-- If tools baseline unpack has not been specified, or its not a "fast" build then try to build them --> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
31 |
<or> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
32 |
<isfalse value="${sf.unpack.tools}"/> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
33 |
<isfalse value="${sf.spec.baseline.enable}"/> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
34 |
<isfalse value="${sf.os.compile.fast}"/> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
35 |
</or> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
36 |
<then> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
37 |
<echo message="INFO Building tools, unpack is not specified"/> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
38 |
|
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
39 |
<!-- sf.spec.sbs.tools.config param used. do-target-build will decide to build sequentially/together --> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
40 |
<antcall target="sf-do-target-compile" inheritAll="false" inheritRefs="true"> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
41 |
<param name="i.sf.spec.sbs.config" value="${sf.spec.sbs.tools.config}" /> |
973
9e13c23197b2
Prevent qmake from being run before it is built
Shabe Razvi <shaber@symbian.org>
parents:
940
diff
changeset
|
42 |
<param name="qmake.enabled" value="false"/> <!-- ensure qmake is not run, before its available --> |
913
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
43 |
</antcall> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
44 |
</then> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
45 |
<else> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
46 |
<echo message="INFO Skipping tools build, tools were unpacked from ${sf.spec.baseline.location}"/> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
47 |
</else> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
48 |
</if> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
49 |
|
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
50 |
<!-- sf.spec.sbs.config param used. do-target-build will decide to build sequentially/together --> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
51 |
<antcall target="sf-do-target-compile" inheritAll="false" inheritRefs="true"> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
52 |
<param name="i.sf.spec.sbs.config" value="${sf.spec.sbs.config}" /> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
53 |
</antcall> |
917
ebd555518364
Move copying of System Model to after compile-main
Shabe Razvi <shaber@symbian.org>
parents:
916
diff
changeset
|
54 |
|
ebd555518364
Move copying of System Model to after compile-main
Shabe Razvi <shaber@symbian.org>
parents:
916
diff
changeset
|
55 |
<!-- Export model to BOM, as generate-layers target is no longer called from compile-main target --> |
ebd555518364
Move copying of System Model to after compile-main
Shabe Razvi <shaber@symbian.org>
parents:
916
diff
changeset
|
56 |
<copy file="${build.drive}/output/build/canonical_system_definition_${sysdef.configurations.list}.xml" todir="${build.log.dir}/BOM/"/> |
913
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
57 |
</target> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
58 |
|
939
4dd6f1dde1fe
1) Add support for parallel makefile generation by spliting compile into two-step operation. export first, followed by compile.
Shabe Razvi <shaber@symbian.org>
parents:
917
diff
changeset
|
59 |
<!-- perform export only first to assist when parallel makefile parsing --> |
4dd6f1dde1fe
1) Add support for parallel makefile generation by spliting compile into two-step operation. export first, followed by compile.
Shabe Razvi <shaber@symbian.org>
parents:
917
diff
changeset
|
60 |
<target name="sf-do-full-export"> |
4dd6f1dde1fe
1) Add support for parallel makefile generation by spliting compile into two-step operation. export first, followed by compile.
Shabe Razvi <shaber@symbian.org>
parents:
917
diff
changeset
|
61 |
<hlm:sbsinput id="sf.export"> |
4dd6f1dde1fe
1) Add support for parallel makefile generation by spliting compile into two-step operation. export first, followed by compile.
Shabe Razvi <shaber@symbian.org>
parents:
917
diff
changeset
|
62 |
<sbsOptions> |
4dd6f1dde1fe
1) Add support for parallel makefile generation by spliting compile into two-step operation. export first, followed by compile.
Shabe Razvi <shaber@symbian.org>
parents:
917
diff
changeset
|
63 |
<arg line="-k" /> |
940
5d6e2c958c66
Include -j option for sf-do-full-export target
Shabe Razvi <shaber@symbian.org>
parents:
939
diff
changeset
|
64 |
<arg line="-j ${sf.spec.sbs.numberofjobs}"/> |
939
4dd6f1dde1fe
1) Add support for parallel makefile generation by spliting compile into two-step operation. export first, followed by compile.
Shabe Razvi <shaber@symbian.org>
parents:
917
diff
changeset
|
65 |
<arg line="-t ${sf.spec.sbs.retry.limit}"/> |
4dd6f1dde1fe
1) Add support for parallel makefile generation by spliting compile into two-step operation. export first, followed by compile.
Shabe Razvi <shaber@symbian.org>
parents:
917
diff
changeset
|
66 |
<arg name="--logfile" value="${compile.log.dir}/${build.id}_${sf.spec.os.sysdef.clean.configurations.list}_compile_full_export.log" /> |
4dd6f1dde1fe
1) Add support for parallel makefile generation by spliting compile into two-step operation. export first, followed by compile.
Shabe Razvi <shaber@symbian.org>
parents:
917
diff
changeset
|
67 |
<arg name="--makefile" value="${compile.log.dir}/${build.id}_${sf.spec.os.sysdef.clean.configurations.list}_compile_full_export_Makefile" /> |
4dd6f1dde1fe
1) Add support for parallel makefile generation by spliting compile into two-step operation. export first, followed by compile.
Shabe Razvi <shaber@symbian.org>
parents:
917
diff
changeset
|
68 |
<arg line="--export-only"/> |
4dd6f1dde1fe
1) Add support for parallel makefile generation by spliting compile into two-step operation. export first, followed by compile.
Shabe Razvi <shaber@symbian.org>
parents:
917
diff
changeset
|
69 |
</sbsOptions> |
4dd6f1dde1fe
1) Add support for parallel makefile generation by spliting compile into two-step operation. export first, followed by compile.
Shabe Razvi <shaber@symbian.org>
parents:
917
diff
changeset
|
70 |
</hlm:sbsinput> |
4dd6f1dde1fe
1) Add support for parallel makefile generation by spliting compile into two-step operation. export first, followed by compile.
Shabe Razvi <shaber@symbian.org>
parents:
917
diff
changeset
|
71 |
|
4dd6f1dde1fe
1) Add support for parallel makefile generation by spliting compile into two-step operation. export first, followed by compile.
Shabe Razvi <shaber@symbian.org>
parents:
917
diff
changeset
|
72 |
<!-- call helium's compile-main target using the sbsInput args defined above --> |
4dd6f1dde1fe
1) Add support for parallel makefile generation by spliting compile into two-step operation. export first, followed by compile.
Shabe Razvi <shaber@symbian.org>
parents:
917
diff
changeset
|
73 |
<echo message="INFO Full export for all targets"/> |
4dd6f1dde1fe
1) Add support for parallel makefile generation by spliting compile into two-step operation. export first, followed by compile.
Shabe Razvi <shaber@symbian.org>
parents:
917
diff
changeset
|
74 |
<antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
4dd6f1dde1fe
1) Add support for parallel makefile generation by spliting compile into two-step operation. export first, followed by compile.
Shabe Razvi <shaber@symbian.org>
parents:
917
diff
changeset
|
75 |
<param name="build.system" value="${sf.spec.build.system}" /> |
4dd6f1dde1fe
1) Add support for parallel makefile generation by spliting compile into two-step operation. export first, followed by compile.
Shabe Razvi <shaber@symbian.org>
parents:
917
diff
changeset
|
76 |
<param name="sbs.inputs.list" value="sf.export"/> |
973
9e13c23197b2
Prevent qmake from being run before it is built
Shabe Razvi <shaber@symbian.org>
parents:
940
diff
changeset
|
77 |
<param name="qmake.enabled" value="false"/> <!-- ensure qmake is not run, before its available --> |
939
4dd6f1dde1fe
1) Add support for parallel makefile generation by spliting compile into two-step operation. export first, followed by compile.
Shabe Razvi <shaber@symbian.org>
parents:
917
diff
changeset
|
78 |
</antcall> |
4dd6f1dde1fe
1) Add support for parallel makefile generation by spliting compile into two-step operation. export first, followed by compile.
Shabe Razvi <shaber@symbian.org>
parents:
917
diff
changeset
|
79 |
</target> |
913
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
80 |
|
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
81 |
<!-- compile sbs.config list of targets either sequentially or together --> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
82 |
<target name="sf-do-target-compile"> |
939
4dd6f1dde1fe
1) Add support for parallel makefile generation by spliting compile into two-step operation. export first, followed by compile.
Shabe Razvi <shaber@symbian.org>
parents:
917
diff
changeset
|
83 |
|
913
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
84 |
<if> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
85 |
<istrue value="${sf.os.compile.iterate}"/> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
86 |
<then> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
87 |
<for list="${i.sf.spec.sbs.config}" delimiter="," param="item.sbs.splitconfig"> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
88 |
<sequential> |
939
4dd6f1dde1fe
1) Add support for parallel makefile generation by spliting compile into two-step operation. export first, followed by compile.
Shabe Razvi <shaber@symbian.org>
parents:
917
diff
changeset
|
89 |
|
913
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
90 |
<!-- define sbs args, log name etc --> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
91 |
<hlm:sbsinput id="sf.build"> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
92 |
<sbsOptions> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
93 |
<arg line="-c @{item.sbs.splitconfig}"/> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
94 |
<arg line="-k" /> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
95 |
<arg line="-j ${sf.spec.sbs.numberofjobs}"/> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
96 |
<arg line="-t ${sf.spec.sbs.retry.limit}"/> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
97 |
<arg line="${sf.spec.sbs.options}"/> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
98 |
<arg name="--filters" value=""${sf.spec.sbs.filter.list}""/> |
914
e4c5389160b3
Fix scan_antlogs.pl execution plus fix ConE calls to use PDT_HOME env variable
Shabe Razvi <shaber@symbian.org>
parents:
913
diff
changeset
|
99 |
<arg name="--logfile" value="${compile.log.dir}/${build.id}_@{item.sbs.splitconfig}_${sf.spec.os.sysdef.clean.configurations.list}_compile.log" /> |
e4c5389160b3
Fix scan_antlogs.pl execution plus fix ConE calls to use PDT_HOME env variable
Shabe Razvi <shaber@symbian.org>
parents:
913
diff
changeset
|
100 |
<arg name="--makefile" value="${compile.log.dir}/${build.id}_@{item.sbs.splitconfig}_${sf.spec.os.sysdef.clean.configurations.list}_Makefile" /> |
939
4dd6f1dde1fe
1) Add support for parallel makefile generation by spliting compile into two-step operation. export first, followed by compile.
Shabe Razvi <shaber@symbian.org>
parents:
917
diff
changeset
|
101 |
<arg line="--noexport"/> |
913
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
102 |
</sbsOptions> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
103 |
</hlm:sbsinput> |
939
4dd6f1dde1fe
1) Add support for parallel makefile generation by spliting compile into two-step operation. export first, followed by compile.
Shabe Razvi <shaber@symbian.org>
parents:
917
diff
changeset
|
104 |
|
913
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
105 |
<!-- call helium's compile-main target using the sbsInput args defined above --> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
106 |
<echo message="INFO Iterative compile building target: @{item.sbs.splitconfig}"/> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
107 |
<antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
108 |
<param name="build.system" value="${sf.spec.build.system}" /> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
109 |
<param name="sbs.inputs.list" value="sf.build"/> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
110 |
</antcall> |
939
4dd6f1dde1fe
1) Add support for parallel makefile generation by spliting compile into two-step operation. export first, followed by compile.
Shabe Razvi <shaber@symbian.org>
parents:
917
diff
changeset
|
111 |
|
913
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
112 |
</sequential> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
113 |
</for> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
114 |
</then> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
115 |
<else> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
116 |
<!-- turn comma separated list into sbs friendly -c list, and _ separated list for friendly log names --> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
117 |
<propertyregex property="i.sf.spec.sbs.config.expanded" override="true" input="${i.sf.spec.sbs.config}" regexp="(,)" replace=" -c " defaultValue="${i.sf.spec.sbs.config}" global="true" casesensitive="false"/> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
118 |
<propertyregex property="i.sf.spec.sbs.config.expanded.logname" override="true" input="${i.sf.spec.sbs.config}" regexp="(,)" replace="_" defaultValue="${i.sf.spec.sbs.config}" global="true" casesensitive="false"/> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
119 |
<echo message="INFO Target : ${i.sf.spec.sbs.config.expanded}"/> |
914
e4c5389160b3
Fix scan_antlogs.pl execution plus fix ConE calls to use PDT_HOME env variable
Shabe Razvi <shaber@symbian.org>
parents:
913
diff
changeset
|
120 |
<echo message="INFO Logname: ${i.sf.spec.sbs.config.expanded.logname} + Config: ${sf.spec.os.sysdef.clean.configurations.list}"/> |
913
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
121 |
|
914
e4c5389160b3
Fix scan_antlogs.pl execution plus fix ConE calls to use PDT_HOME env variable
Shabe Razvi <shaber@symbian.org>
parents:
913
diff
changeset
|
122 |
<!-- TODO: Make this use above compile-main call? --> |
939
4dd6f1dde1fe
1) Add support for parallel makefile generation by spliting compile into two-step operation. export first, followed by compile.
Shabe Razvi <shaber@symbian.org>
parents:
917
diff
changeset
|
123 |
|
913
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
124 |
<!-- define sbs args, log name etc --> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
125 |
<hlm:sbsinput id="sf.build"> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
126 |
<sbsOptions> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
127 |
<arg line="-c ${i.sf.spec.sbs.config.expanded}"/> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
128 |
<arg line="-k" /> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
129 |
<arg line="-j ${sf.spec.sbs.numberofjobs}"/> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
130 |
<arg line="-t ${sf.spec.sbs.retry.limit}"/> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
131 |
<arg line="${sf.spec.sbs.options}"/> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
132 |
<arg name="--filters" value=""${sf.spec.sbs.filter.list}""/> |
914
e4c5389160b3
Fix scan_antlogs.pl execution plus fix ConE calls to use PDT_HOME env variable
Shabe Razvi <shaber@symbian.org>
parents:
913
diff
changeset
|
133 |
<arg name="--logfile" value="${compile.log.dir}/${build.id}_${i.sf.spec.sbs.config.expanded.logname}_${sf.spec.os.sysdef.clean.configurations.list}_compile.log" /> |
e4c5389160b3
Fix scan_antlogs.pl execution plus fix ConE calls to use PDT_HOME env variable
Shabe Razvi <shaber@symbian.org>
parents:
913
diff
changeset
|
134 |
<arg name="--makefile" value="${compile.log.dir}/${build.id}_${i.sf.spec.sbs.config.expanded.logname}_${sf.spec.os.sysdef.clean.configurations.list}_Makefile" /> |
939
4dd6f1dde1fe
1) Add support for parallel makefile generation by spliting compile into two-step operation. export first, followed by compile.
Shabe Razvi <shaber@symbian.org>
parents:
917
diff
changeset
|
135 |
<arg line="--noexport"/> |
913
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
136 |
</sbsOptions> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
137 |
</hlm:sbsinput> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
138 |
|
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
139 |
<!-- call helium's compile-main target using the sbsInput args defined above --> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
140 |
<echo message="INFO Building target(s): ${i.sf.spec.sbs.config.expanded}"/> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
141 |
<antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
142 |
<param name="build.system" value="${sf.spec.build.system}" /> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
143 |
<param name="sbs.inputs.list" value="sf.build"/> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
144 |
</antcall> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
145 |
|
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
146 |
</else> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
147 |
</if> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
148 |
</target> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
149 |
|
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
150 |
</project> |
eeffe74cd1b2
Add initial support for Helium7 for the platform.
Shabe Razvi <shaber@symbian.org>
parents:
diff
changeset
|
151 |