23 <arg value="sysdefdowngrade.pl"/> |
23 <arg value="sysdefdowngrade.pl"/> |
24 <arg value="--model=${build.drive}/${sf.spec.systemdefinition.location}"/> |
24 <arg value="--model=${build.drive}/${sf.spec.systemdefinition.location}"/> |
25 <arg value="--sources=${sf.spec.sourcesync.sourcespecdir}/${sf.spec.sourcesync.sourcespecfile}"/> |
25 <arg value="--sources=${sf.spec.sourcesync.sourcespecdir}/${sf.spec.sourcesync.sourcespecfile}"/> |
26 </exec> |
26 </exec> |
27 |
27 |
28 <runtarget target="sf-package-compile"/> |
28 |
|
29 <!-- helium 7+ should use new sf-package-compile target --> |
|
30 <if> |
|
31 <or> |
|
32 <equals arg1="${helium.version}" arg2="7.0"/> |
|
33 <equals arg1="${last.major.helium.version}" arg2="7.0"/> |
|
34 </or> |
|
35 <then> |
|
36 <runtarget target="sf-package-compile"/> |
|
37 </then> |
|
38 <else> |
|
39 <runtarget target="sf-package-compile-hlm-5"/> |
|
40 </else> |
|
41 </if> |
|
42 |
29 </target> |
43 </target> |
30 |
44 |
31 <target name="sf-package-compile" depends="sf-compile-options"> |
|
32 |
45 |
|
46 |
|
47 <target name="sf-package-compile"> |
|
48 |
|
49 <!-- build stuff --> |
|
50 <for list="${sf.spec.sbs.config}" delimiter="," param="item.sbs.splitconfig"> |
|
51 <sequential> |
|
52 |
|
53 <hlm:sbsinput id="sf.build"> |
|
54 <sbsOptions> |
|
55 <arg line="-c @{item.sbs.splitconfig}"/> |
|
56 <arg line="-k" /> |
|
57 <arg line="-j ${sf.spec.sbs.numberofjobs}"/> |
|
58 <arg line="-t ${sf.spec.sbs.retry.limit}"/> |
|
59 <arg line="${sf.spec.sbs.options}"/> |
|
60 <arg name="--filters" value=""${sf.spec.sbs.filter.list}""/> |
|
61 <arg name="--logfile" value="${compile.log.dir}/${build.id}_@{item.sbs.splitconfig}_compile.log" /> |
|
62 <arg name="--makefile" value="${compile.log.dir}/${build.id}_@{item.sbs.splitconfig}_Makefile" /> |
|
63 </sbsOptions> |
|
64 </hlm:sbsinput> |
|
65 |
|
66 <echo message="INFO [Iterative compile] Building target: @{item.sbs.splitconfig}"/> |
|
67 <antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
|
68 <param name="build.system" value="${sf.spec.build.system}" /> |
|
69 <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" /> |
|
70 <param name="sbs.inputs.list" value="sf.build"/> |
|
71 <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" /> |
|
72 </antcall> |
|
73 </sequential> |
|
74 </for> |
|
75 |
|
76 |
|
77 <!-- CHECK --> |
|
78 <exec executable="cmd" dir="${build.drive}/" output="${build.drive}/output\logs\build_check_compile.log"> |
|
79 <arg value="/c sbs.bat -s ${build.drive}/output\build\canonical_system_definition_SF.xml -k -c tools2_rel -c winscw -c armv5 -j 32 --check -m ${build.drive}/output\logs\build_check_Makefile"/> |
|
80 <!-- argument of -j option can be parameterized with: ${number.of.threads} --> |
|
81 </exec> |
|
82 |
|
83 </target> |
|
84 |
|
85 |
|
86 <target name="sf-package-compile-hlm-5"> |
|
87 |
33 <for list="${sf.spec.sbs.config}" delimiter="," param="item.sbs.splitconfig"> |
88 <for list="${sf.spec.sbs.config}" delimiter="," param="item.sbs.splitconfig"> |
34 <sequential> |
89 <sequential> |
35 <echo message="INFO [Iterative compile] Building target: @{item.sbs.splitconfig}"/> |
90 <echo message="INFO [Iterative compile] Building target: @{item.sbs.splitconfig}"/> |
36 |
91 |
37 <!-- Do CLEAN |
92 <!-- Do CLEAN |