27 |
27 |
28 <runtarget target="sf-package-compile"/> |
28 <runtarget target="sf-package-compile"/> |
29 </target> |
29 </target> |
30 |
30 |
31 <target name="sf-package-compile" depends="sf-compile-options"> |
31 <target name="sf-package-compile" depends="sf-compile-options"> |
|
32 |
|
33 <for list="${sf.spec.sbs.config}" delimiter="," param="item.sbs.splitconfig"> |
|
34 <sequential> |
|
35 <echo message="INFO [Iterative compile] Building target: @{item.sbs.splitconfig}"/> |
32 |
36 |
33 <!-- BUILD tools2_rel CLEAN --> |
37 <!-- Do CLEAN |
34 <!-- |
38 <hlm:argSet id="sbs.iterate.clean.var"> |
35 <hlm:argSet id="sbs.tools2_rel.clean.var"> |
39 <hlm:arg name="config" value="@{item.sbs.splitconfig}" /> |
36 <hlm:arg name="config" value="tools2_rel" /> |
40 <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" /> |
37 <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}"/> |
41 <hlm:arg name="command" value="CLEAN"/> |
38 <hlm:arg name="command" value="CLEAN"/> |
42 </hlm:argSet> |
39 </hlm:argSet> |
43 <antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
40 <antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
44 <param name="build.system" value="${sf.spec.build.system}" /> |
41 <param name="build.system" value="${sf.spec.build.system}" /> |
45 <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" /> |
42 <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" /> |
46 <reference refid="sbs.iterate.clean.var" torefid="sbs.var" /> |
43 <reference refid="sbs.tools2_rel.clean.var" torefid="sbs.var" /> |
47 <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" /> |
44 <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" /> |
48 <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" /> |
45 <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" /> |
49 </antcall> |
46 </antcall> |
50 --> |
47 --> |
51 |
48 |
52 <!-- Do BUILD --> |
49 <!-- BUILD tools2_rel --> |
53 <hlm:argSet id="sbs.main.iterate.sbs.var"> |
50 <hlm:argSet id="sbs.tools2_rel.var"> |
54 <hlm:arg name="config" value="@{item.sbs.splitconfig}" /> |
51 <hlm:arg name="config" value="tools2_rel.whatlog" /> |
55 <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" /> |
52 <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" /> |
56 <hlm:arg name="retry-limit" value="${sf.spec.sbs.retry.limit}" /> |
53 </hlm:argSet> |
57 </hlm:argSet> |
54 <antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
58 <antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
55 <param name="build.system" value="${sf.spec.build.system}" /> |
59 <param name="build.system" value="${sf.spec.build.system}" /> |
56 <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" /> |
60 <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" /> |
57 <reference refid="sbs.tools2_rel.var" torefid="sbs.var" /> |
61 <reference refid="sbs.main.iterate.sbs.var" torefid="sbs.var" /> |
58 <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" /> |
62 <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" /> |
59 <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" /> |
63 <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" /> |
60 </antcall> |
64 </antcall> |
61 |
65 </sequential> |
62 <!-- BUILD tools CLEAN --> |
66 </for> |
63 <!-- |
|
64 <hlm:argSet id="sbs.tools.clean.var"> |
|
65 <hlm:arg name="config" value="tools"/> |
|
66 <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" /> |
|
67 <hlm:arg name="command" value="CLEAN"/> |
|
68 </hlm:argSet> |
|
69 <antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
|
70 <param name="build.system" value="${sf.spec.build.system}" /> |
|
71 <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" /> |
|
72 <reference refid="sbs.tools.clean.var" torefid="sbs.var" /> |
|
73 <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" /> |
|
74 <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" /> |
|
75 </antcall> |
|
76 --> |
|
77 |
|
78 <!-- BUILD tools --> |
|
79 <!-- |
|
80 <hlm:argSet id="sbs.tools.var"> |
|
81 <hlm:arg name="config" value="tools.whatlog"/> |
|
82 <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" /> |
|
83 </hlm:argSet> |
|
84 <antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
|
85 <param name="build.system" value="${sf.spec.build.system}" /> |
|
86 <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" /> |
|
87 <reference refid="sbs.tools.var" torefid="sbs.var" /> |
|
88 <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" /> |
|
89 <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" /> |
|
90 </antcall> |
|
91 --> |
|
92 |
|
93 <!-- BUILD winscw CLEAN --> |
|
94 <!-- |
|
95 <hlm:argSet id="sbs.winscw.clean.var"> |
|
96 <hlm:arg name="config" value="winscw" /> |
|
97 <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" /> |
|
98 <hlm:arg name="command" value="CLEAN"/> |
|
99 </hlm:argSet> |
|
100 <antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
|
101 <param name="build.system" value="${sf.spec.build.system}" /> |
|
102 <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" /> |
|
103 <reference refid="sbs.winscw.clean.var" torefid="sbs.var" /> |
|
104 <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" /> |
|
105 <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" /> |
|
106 </antcall> |
|
107 --> |
|
108 |
|
109 <!-- BUILD winscw --> |
|
110 <hlm:argSet id="sbs.winscw.var"> |
|
111 <hlm:arg name="config" value="winscw.whatlog" /> |
|
112 <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" /> |
|
113 </hlm:argSet> |
|
114 <antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
|
115 <param name="build.system" value="${sf.spec.build.system}" /> |
|
116 <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" /> |
|
117 <reference refid="sbs.winscw.var" torefid="sbs.var" /> |
|
118 <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" /> |
|
119 <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" /> |
|
120 </antcall> |
|
121 |
|
122 <!-- BUILD armv5 CLEAN --> |
|
123 <!-- |
|
124 <hlm:argSet id="sbs.armv5.clean.var"> |
|
125 <hlm:arg name="config" value="armv5" /> |
|
126 <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" /> |
|
127 <hlm:arg name="command" value="CLEAN"/> |
|
128 </hlm:argSet> |
|
129 <antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
|
130 <param name="build.system" value="${sf.spec.build.system}" /> |
|
131 <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" /> |
|
132 <reference refid="sbs.armv5.clean.var" torefid="sbs.var" /> |
|
133 <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" /> |
|
134 <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" /> |
|
135 </antcall> |
|
136 --> |
|
137 |
|
138 <!-- BUILD armv5 --> |
|
139 <hlm:argSet id="sbs.armv5.var"> |
|
140 <hlm:arg name="config" value="armv5.whatlog" /> |
|
141 <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" /> |
|
142 </hlm:argSet> |
|
143 <antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
|
144 <param name="build.system" value="${sf.spec.build.system}" /> |
|
145 <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" /> |
|
146 <reference refid="sbs.armv5.var" torefid="sbs.var" /> |
|
147 <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" /> |
|
148 <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" /> |
|
149 </antcall> |
|
150 |
67 |
151 <!-- CHECK --> |
68 <!-- CHECK --> |
152 <exec executable="cmd" dir="${build.drive}/" output="${build.drive}/output\logs\build_check_compile.log"> |
69 <exec executable="cmd" dir="${build.drive}/" output="${build.drive}/output\logs\build_check_compile.log"> |
153 <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"/> |
70 <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"/> |
154 <!-- argument of -j option can be parameterized with: ${number.of.threads} --> |
71 <!-- argument of -j option can be parameterized with: ${number.of.threads} --> |