19 <target name="sf-package-compile"> |
19 <target name="sf-package-compile"> |
20 |
20 |
21 <hlm:sbsMakeOptions engine="gmake" id="sbs.fullbuild.options"/> |
21 <hlm:sbsMakeOptions engine="gmake" id="sbs.fullbuild.options"/> |
22 <hlm:sbsMakeOptions engine="gmake" id="sbs.toolsbuild.options"/> |
22 <hlm:sbsMakeOptions engine="gmake" id="sbs.toolsbuild.options"/> |
23 |
23 |
24 <!-- OS what --> |
24 <!-- CLEAN --> |
25 <hlm:argSet id="sbs.main.what.sbs.var"> |
|
26 <hlm:arg name="config" value="${sf.spec.sbs.config}" /> |
|
27 <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" /> |
|
28 <hlm:arg name="command" value="WHAT" /> |
|
29 </hlm:argSet> |
|
30 <antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
|
31 <param name="build.system" value="${sf.spec.build.system}" /> |
|
32 <!-- param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" / --> |
|
33 <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" /> |
|
34 <!-- param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/ --> |
|
35 <reference refid="sbs.main.what.sbs.var" torefid="sbs.var" /> |
|
36 <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" /> |
|
37 <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" /> |
|
38 </antcall> |
|
39 |
|
40 <!-- OS clean main build --> |
|
41 <hlm:argSet id="sbs.main.clean.sbs.var"> |
25 <hlm:argSet id="sbs.main.clean.sbs.var"> |
42 <hlm:arg name="config" value="${sf.spec.sbs.config}" /> |
26 <hlm:arg name="config" value="${sf.spec.sbs.config}" /> |
43 <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" /> |
27 <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" /> |
44 <hlm:arg name="command" value="CLEAN" /> |
28 <hlm:arg name="command" value="CLEAN" /> |
45 </hlm:argSet> |
29 </hlm:argSet> |
51 <reference refid="sbs.main.clean.sbs.var" torefid="sbs.var" /> |
35 <reference refid="sbs.main.clean.sbs.var" torefid="sbs.var" /> |
52 <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" /> |
36 <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" /> |
53 <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" /> |
37 <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" /> |
54 </antcall> |
38 </antcall> |
55 |
39 |
56 <!-- OS tools2 build first --> |
40 <!-- BUILD tools2 --> |
57 <hlm:argSet id="sbs.tools2.var"> |
41 <hlm:argSet id="sbs.tools2.var"> |
58 <hlm:arg name="config" value="tools2_rel" /> |
42 <hlm:arg name="config" value="tools2_rel" /> |
59 <hlm:arg name="singlejob" value="false" /> |
43 <hlm:arg name="singlejob" value="false" /> |
60 <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" /> |
44 <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" /> |
61 </hlm:argSet> |
45 </hlm:argSet> |
67 <reference refid="sbs.tools2.var" torefid="sbs.var" /> |
51 <reference refid="sbs.tools2.var" torefid="sbs.var" /> |
68 <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" /> |
52 <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" /> |
69 <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" /> |
53 <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" /> |
70 </antcall> |
54 </antcall> |
71 |
55 |
72 <!-- OS tools build after tools2 --> |
56 <!-- BUILD tools --> |
73 <hlm:argSet id="sbs.tools.var"> |
57 <hlm:argSet id="sbs.tools.var"> |
74 <hlm:arg name="config" value="tools_rel" /> |
58 <hlm:arg name="config" value="tools_rel" /> |
75 <hlm:arg name="singlejob" value="true" /> |
59 <hlm:arg name="singlejob" value="true" /> |
76 <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" /> |
60 <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" /> |
77 </hlm:argSet> |
61 </hlm:argSet> |
83 <reference refid="sbs.tools.var" torefid="sbs.var" /> |
67 <reference refid="sbs.tools.var" torefid="sbs.var" /> |
84 <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" /> |
68 <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" /> |
85 <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" /> |
69 <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" /> |
86 </antcall> |
70 </antcall> |
87 |
71 |
88 <!-- OS main build --> |
72 <!-- BUILD --> |
89 <hlm:argSet id="sbs.main.sbs.var"> |
73 <hlm:argSet id="sbs.main.sbs.var"> |
90 <hlm:arg name="config" value="${sf.spec.sbs.config}.whatlog" /> |
74 <hlm:arg name="config" value="${sf.spec.sbs.config}.whatlog" /> |
91 <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" /> |
75 <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" /> |
92 <hlm:arg name="command" value="BUILD --check" /> |
|
93 </hlm:argSet> |
76 </hlm:argSet> |
94 <antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
77 <antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
95 <param name="build.system" value="${sf.spec.build.system}" /> |
78 <param name="build.system" value="${sf.spec.build.system}" /> |
96 <!-- param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" / --> |
79 <!-- param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" / --> |
97 <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" /> |
80 <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" /> |
99 <reference refid="sbs.main.sbs.var" torefid="sbs.var" /> |
82 <reference refid="sbs.main.sbs.var" torefid="sbs.var" /> |
100 <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" /> |
83 <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" /> |
101 <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" /> |
84 <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" /> |
102 </antcall> |
85 </antcall> |
103 |
86 |
|
87 <!-- CHECK --> |
|
88 <exec executable="sbs" dir="M:\" output="M:\output\logs\build_check_sbs_ant_output.log"> |
|
89 <arg value="-s M:\output\build\canonical_system_definition_SF.xml"/> |
|
90 <arg value="-k"/> |
|
91 <arg value="-c ${sf.spec.sbs.config}"/> |
|
92 <arg value="-j 32"/> |
|
93 <arg value="--check"/> |
|
94 <arg value="-m M:\output\logs\build_check_Makefile"/> |
|
95 <arg value="-f M:\output\logs\build_check_compile.log"/> |
|
96 </exec> |
|
97 |
104 </target> |
98 </target> |
105 |
99 |
106 </project> |
100 </project> |
107 |
101 |