179
|
1 |
<?xml version="1.0"?>
|
|
2 |
<!--
|
|
3 |
============================================================================
|
|
4 |
Name :
|
|
5 |
Part of : Helium
|
|
6 |
|
|
7 |
Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
8 |
All rights reserved.
|
|
9 |
This component and the accompanying materials are made available
|
|
10 |
under the terms of the License "Eclipse Public License v1.0"
|
|
11 |
which accompanies this distribution, and is available
|
|
12 |
at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
13 |
|
|
14 |
Initial Contributors:
|
|
15 |
Nokia Corporation - initial contribution.
|
|
16 |
|
|
17 |
Contributors:
|
|
18 |
|
|
19 |
Description:
|
|
20 |
|
|
21 |
============================================================================
|
|
22 |
-->
|
|
23 |
<project name="common_sbs_input" xmlns:au="org.apache.ant.antunit" xmlns:hlm="http://www.nokia.com/helium">
|
|
24 |
<description>
|
|
25 |
Common sbs input config.
|
|
26 |
</description>
|
|
27 |
<!-- Common make options for particular engine values of it could be overridden by referencing it-->
|
645
|
28 |
<condition property="sbs.no.thread.jobs" value="20" else="${number.of.threads}">
|
|
29 |
<equals arg1="${build.system}" arg2="sbs-ec" />
|
|
30 |
</condition>
|
|
31 |
|
179
|
32 |
<hlm:sbsmakeoptions id="commonEMakeOptions" engine="emake">
|
|
33 |
<arg name="--emake-emulation" value="gmake" />
|
|
34 |
<arg name="--emake-annodetail" value="basic,history,waiting" />
|
|
35 |
<arg name="--emake-class" value="${ec.build.class}" />
|
|
36 |
<arg name="--emake-historyfile" value="${build.log.dir}/ec_history/raptor_clean.emake.data" />
|
|
37 |
<arg name="--case-sensitive" value="0" />
|
|
38 |
<arg name="--emake-root" value="${env.EMAKE_ROOT};${helium.dir};${env.SBS_HOME}" />
|
|
39 |
</hlm:sbsmakeoptions>
|
|
40 |
|
|
41 |
<hlm:sbsmakeoptions id="commonGmakeOptions" engine="gmake" />
|
|
42 |
<hlm:sbsmakeoptions id="commonPVMGmakeOptions" engine="pvmgmake" />
|
|
43 |
|
|
44 |
<!-- Tools specific make options inheriting the commone make option-->
|
|
45 |
<hlm:sbsmakeoptions id="toolsmake-sbs-ec">
|
|
46 |
<sbsmakeoptions refid="commonEMakeOptions" />
|
|
47 |
<arg name="--emake-maxagents" value="1" />
|
|
48 |
</hlm:sbsmakeoptions>
|
|
49 |
|
|
50 |
<!-- Main build make option directly refering to common emake option -->
|
|
51 |
<hlm:sbsmakeoptions id="mainbuildmake-sbs-ec">
|
|
52 |
<sbsmakeoptions refid="commonEMakeOptions" />
|
|
53 |
</hlm:sbsmakeoptions>
|
|
54 |
|
|
55 |
<!-- tools common sbs options -->
|
|
56 |
<hlm:sbsoptions id="commonSBS">
|
|
57 |
<arg line="-k" />
|
645
|
58 |
<arg line="-j ${sbs.no.thread.jobs}" />
|
179
|
59 |
</hlm:sbsoptions>
|
|
60 |
|
|
61 |
<!-- tools common sbs options -->
|
|
62 |
<hlm:sbsoptions id="toolsCommonSBS">
|
|
63 |
<argset refid="commonSBS" />
|
|
64 |
<arg line="-c tools_rel -c tools2_rel" />
|
|
65 |
<arg line="-j 1" />
|
|
66 |
</hlm:sbsoptions>
|
|
67 |
|
|
68 |
<hlm:sbsoptions id="winscwSBSOptions">
|
|
69 |
<argset refid="commonSBS" />
|
|
70 |
<arg line="-c winscw" />
|
|
71 |
</hlm:sbsoptions>
|
|
72 |
|
|
73 |
<!-- Mainbuild common sbs options -->
|
|
74 |
<hlm:sbsoptions id="armv5CommonSBS">
|
|
75 |
<argset refid="commonSBS" />
|
|
76 |
<arg line="-c armv5" />
|
|
77 |
</hlm:sbsoptions>
|
|
78 |
|
|
79 |
<hlm:sbsoptions id="testCommonSBS">
|
|
80 |
<argset refid="commonSBS" />
|
|
81 |
<arg line="-c armv5.test" />
|
|
82 |
</hlm:sbsoptions>
|
|
83 |
|
|
84 |
|
|
85 |
<hlm:sbsoptions id="testCleanSBS">
|
|
86 |
<argset refid="testcommonSBS" />
|
|
87 |
<argset refid="cleanCommon" />
|
|
88 |
</hlm:sbsoptions>
|
|
89 |
|
|
90 |
<hlm:sbsoptions id="cleanCommon">
|
|
91 |
<arg line="REALLYCLEAN" />
|
|
92 |
</hlm:sbsoptions>
|
|
93 |
|
|
94 |
<!-- Mainbuild common sbs options -->
|
|
95 |
<hlm:sbsoptions id="armv5Clean">
|
|
96 |
<argset refid="armv5CommonSBS"/>
|
|
97 |
<argset refid="cleanCommon" />
|
|
98 |
</hlm:sbsoptions>
|
|
99 |
|
|
100 |
|
|
101 |
<!-- Mainbuild common sbs options -->
|
|
102 |
<hlm:sbsoptions id="toolsClean">
|
|
103 |
<argset refid="toolsCommonSBS"/>
|
|
104 |
<argset refid="cleanCommon" />
|
|
105 |
</hlm:sbsoptions>
|
|
106 |
|
|
107 |
<!-- Mainbuild common sbs options -->
|
|
108 |
<hlm:sbsoptions id="winscwClean">
|
|
109 |
<argset refid="winscwSBSOptions"/>
|
|
110 |
<argset refid="cleanCommon" />
|
|
111 |
</hlm:sbsoptions>
|
|
112 |
|
|
113 |
<!-- sbs input consists of sbs options and sbs make options, the sbs options remains same for all
|
|
114 |
the build system, the make options varies
|
|
115 |
-->
|
|
116 |
<hlm:sbsinput id="tools-sbs">
|
|
117 |
<sbsoptions refid="toolsCommonSBS" />
|
|
118 |
</hlm:sbsinput>
|
|
119 |
|
|
120 |
<hlm:sbsinput id="tools-sbs-clean">
|
|
121 |
<sbsoptions refid="toolsClean" />
|
|
122 |
</hlm:sbsinput>
|
|
123 |
|
|
124 |
<hlm:sbsinput id="tools-sbs-ec">
|
|
125 |
<sbsoptions refid="toolsCommonSBS" />
|
|
126 |
<sbsmakeoptions refid="toolsmake-sbs-ec" ppThreads="20"/>
|
|
127 |
</hlm:sbsinput>
|
|
128 |
|
|
129 |
<hlm:sbsinput id="tools-sbs-ec-clean">
|
|
130 |
<sbsoptions refid="toolsClean" />
|
|
131 |
<sbsmakeoptions refid="toolsmake-sbs-ec" ppThreads="20"/>
|
|
132 |
</hlm:sbsinput>
|
|
133 |
|
|
134 |
<!-- sbs input for main build.
|
|
135 |
-->
|
|
136 |
<hlm:sbsinput id="armv5-sbs">
|
|
137 |
<sbsoptions refid="armv5CommonSBS" />
|
|
138 |
</hlm:sbsinput>
|
|
139 |
|
|
140 |
<hlm:sbsinput id="armv5-sbs-clean">
|
|
141 |
<sbsoptions refid="armv5Clean" />
|
|
142 |
</hlm:sbsinput>
|
|
143 |
|
|
144 |
<!-- sbs input for main build.
|
|
145 |
-->
|
|
146 |
<hlm:sbsinput id="armv5-sbs-ec">
|
|
147 |
<sbsoptions refid="armv5CommonSBS" />
|
|
148 |
<sbsmakeoptions refid="mainbuildmake-sbs-ec" ppThreads="20"/>
|
|
149 |
</hlm:sbsinput>
|
|
150 |
|
|
151 |
<hlm:sbsinput id="armv5-sbs-ec-clean">
|
|
152 |
<sbsoptions refid="armv5Clean" />
|
|
153 |
<sbsmakeoptions refid="mainbuildmake-sbs-ec" ppThreads="20" />
|
|
154 |
</hlm:sbsinput>
|
|
155 |
|
|
156 |
<hlm:sbsinput id="winscw-sbs">
|
|
157 |
<sbsoptions refid="winscwSBSOptions" />
|
|
158 |
</hlm:sbsinput>
|
|
159 |
|
|
160 |
<hlm:sbsinput id="winscw-sbs-clean">
|
|
161 |
<sbsoptions refid="winscwClean" />
|
|
162 |
</hlm:sbsinput>
|
|
163 |
|
|
164 |
<hlm:sbsinput id="winscw-sbs-ec-clean">
|
|
165 |
<sbsoptions refid="winscwClean" />
|
|
166 |
<sbsmakeoptions refid="mainbuildmake-sbs-ec" ppThreads="20"/>
|
|
167 |
</hlm:sbsinput>
|
|
168 |
|
|
169 |
<hlm:sbsinput id="test-sbs">
|
|
170 |
<sbsoptions refid="testCommonSBS" />
|
|
171 |
</hlm:sbsinput>
|
|
172 |
|
|
173 |
<hlm:sbsinput id="test-sbs-clean">
|
|
174 |
<sbsoptions refid="testCleanSBS" />
|
|
175 |
</hlm:sbsinput>
|
|
176 |
|
|
177 |
<!-- sbs input for main build.
|
|
178 |
-->
|
|
179 |
<hlm:sbsinput id="test-sbs-ec">
|
|
180 |
<sbsoptions refid="testCommonSBS" />
|
|
181 |
<sbsmakeoptions refid="mainbuildmake-sbs-ec" ppThreads="20"/>
|
|
182 |
</hlm:sbsinput>
|
|
183 |
|
|
184 |
<hlm:sbsinput id="test-sbs-ec-clean">
|
|
185 |
<sbsoptions refid="testCleanSBS" />
|
|
186 |
<sbsmakeoptions refid="mainbuildmake-sbs-ec" ppThreads="20" />
|
|
187 |
</hlm:sbsinput>
|
|
188 |
|
|
189 |
</project> |