sf-package/build.xml
changeset 182 c35952f24212
parent 178 ade24b003ab4
child 183 8025a9486931
equal deleted inserted replaced
181:8b6bb1307f7d 182:c35952f24212
    16     <runtarget target="sf-package-compile"/>
    16     <runtarget target="sf-package-compile"/>
    17   </target>
    17   </target>
    18   
    18   
    19   <target name="sf-package-compile">
    19   <target name="sf-package-compile">
    20     
    20     
       
    21     <hlm:sbsMakeOptions engine="gmake" id="sbs.fullbuild.options"/>
       
    22     <hlm:sbsMakeOptions engine="gmake" id="sbs.toolsbuild.options"/>
       
    23     
       
    24     <!-- OS what -->
    21     <hlm:argSet id="sbs.main.what.sbs.var"> 
    25     <hlm:argSet id="sbs.main.what.sbs.var"> 
    22       <hlm:arg name="config" value="${sf.spec.sbs.config}" />
    26       <hlm:arg name="config" value="${sf.spec.sbs.config}" />
    23       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
    27       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
    24       <hlm:arg name="command" value="WHAT" />
    28       <hlm:arg name="command" value="WHAT" />
    25     </hlm:argSet>
    29     </hlm:argSet>
    26     
       
    27     <hlm:argSet id="sbs.main.check.sbs.var"> 
       
    28       <hlm:arg name="config" value="${sf.spec.sbs.config}" />
       
    29       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
       
    30       <hlm:arg name="command" value="CHECK" />
       
    31     </hlm:argSet>
       
    32     
       
    33     <hlm:argSet id="sbs.main.clean.sbs.var">
       
    34       <hlm:arg name="config" value="${sf.spec.sbs.config}" />
       
    35       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
       
    36       <hlm:arg name="command" value="CLEAN" />
       
    37     </hlm:argSet>
       
    38     
       
    39     <hlm:argSet id="sbs.tools2.clean.var">
       
    40       <hlm:arg name="config" value="tools2_rel" />
       
    41       <hlm:arg name="singlejob" value="false" />
       
    42       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
       
    43       <hlm:arg name="command" value="CLEAN" />
       
    44     </hlm:argSet>
       
    45     
       
    46     <hlm:argSet id="sbs.tools2.var">
       
    47       <hlm:arg name="config" value="tools2_rel" />
       
    48       <hlm:arg name="singlejob" value="false" />
       
    49       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
       
    50     </hlm:argSet>
       
    51     
       
    52     <hlm:argSet id="sbs.tools.clean.var">
       
    53       <hlm:arg name="config" value="tools_rel" />
       
    54       <hlm:arg name="singlejob" value="true" />
       
    55       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
       
    56       <hlm:arg name="command" value="CLEAN" />
       
    57     </hlm:argSet>
       
    58     
       
    59     <hlm:argSet id="sbs.tools.var">
       
    60       <hlm:arg name="config" value="tools_rel" />
       
    61       <hlm:arg name="singlejob" value="true" />
       
    62       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
       
    63     </hlm:argSet>
       
    64     
       
    65     <hlm:argSet id="sbs.main.sbs.var">
       
    66       <hlm:arg name="config" value="${sf.spec.sbs.config}" />
       
    67       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
       
    68     </hlm:argSet>
       
    69     
       
    70     <hlm:sbsMakeOptions engine="gmake" id="sbs.fullbuild.options"/>
       
    71     <hlm:sbsMakeOptions engine="gmake" id="sbs.toolsbuild.options"/>
       
    72     
       
    73     <!-- generate baseline dir list to allow delta creation -->
       
    74     <!-- antcall target="sf-list-dir" inheritAll="false">
       
    75       <param name="sf.list.name" value="baseline"/>
       
    76     </antcall -->
       
    77     
       
    78     <!-- OS what -->
       
    79     <antcall target="compile-main" inheritAll="false" inheritRefs="true">
    30     <antcall target="compile-main" inheritAll="false" inheritRefs="true">
    80       <param name="build.system" value="${sf.spec.build.system}" />
    31       <param name="build.system" value="${sf.spec.build.system}" />
    81       <!-- param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" / -->
    32       <!-- param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" / -->
    82       <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" />
    33       <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" />
    83       <!-- param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/ -->
    34       <!-- param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/ -->
    85       <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
    36       <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
    86       <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" />
    37       <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" />
    87     </antcall>
    38     </antcall>
    88     
    39     
    89     <!-- OS clean main build -->
    40     <!-- OS clean main build -->
       
    41     <hlm:argSet id="sbs.main.clean.sbs.var">
       
    42       <hlm:arg name="config" value="${sf.spec.sbs.config}" />
       
    43       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
       
    44       <hlm:arg name="command" value="CLEAN" />
       
    45     </hlm:argSet>
    90     <antcall target="compile-main" inheritAll="false" inheritRefs="true">
    46     <antcall target="compile-main" inheritAll="false" inheritRefs="true">
    91       <param name="build.system" value="${sf.spec.build.system}" />
    47       <param name="build.system" value="${sf.spec.build.system}" />
    92       <!-- param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" / -->
    48       <!-- param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" / -->
    93       <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" />
    49       <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" />
    94       <!-- param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/ -->
    50       <!-- param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/ -->
    95       <reference refid="sbs.main.clean.sbs.var" torefid="sbs.var" />
    51       <reference refid="sbs.main.clean.sbs.var" torefid="sbs.var" />
    96       <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
    52       <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
    97       <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" />
    53       <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" />
    98     </antcall>
    54     </antcall>
    99     
    55     
   100     <!--antcall target="sf-list-dir" inheritAll="false">
       
   101       <param name="sf.list.name" value="post-clean"/>
       
   102     </antcall -->
       
   103     
       
   104     <!-- what has been cleaned from baseline PDK by sos model -->
       
   105     <!-- antcall target="sf-delta-dir" inheritAll="false">
       
   106       <param name="sf.list_a.name" value="baseline"/>
       
   107       <param name="sf.list_b.name" value="post-clean"/>
       
   108     </antcall -->
       
   109     
       
   110     <!-- OS tools2 build first -->
    56     <!-- OS tools2 build first -->
       
    57     <hlm:argSet id="sbs.tools2.var">
       
    58       <hlm:arg name="config" value="tools2_rel" />
       
    59       <hlm:arg name="singlejob" value="false" />
       
    60       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
       
    61     </hlm:argSet>
   111     <antcall target="compile-main" inheritAll="false" inheritRefs="true">
    62     <antcall target="compile-main" inheritAll="false" inheritRefs="true">
   112       <param name="build.system" value="${sf.spec.build.system}" />
    63       <param name="build.system" value="${sf.spec.build.system}" />
   113       <!-- param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" / -->
    64       <!-- param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" / -->
   114       <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" />
    65       <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" />
   115       <!-- param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/ -->
    66       <!-- param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/ -->
   116       <reference refid="sbs.tools2.var" torefid="sbs.var" />
    67       <reference refid="sbs.tools2.var" torefid="sbs.var" />
   117       <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
    68       <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
   118       <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" />
    69       <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" />
   119     </antcall>
    70     </antcall>
   120     
    71     
   121     <!-- antcall target="sf-list-dir" inheritAll="false">
       
   122       <param name="sf.list.name" value="post-build-tools2"/>
       
   123     </antcall -->
       
   124     
       
   125     
       
   126     <!-- OS tools build after tools2 -->
    72     <!-- OS tools build after tools2 -->
       
    73     <hlm:argSet id="sbs.tools.var">
       
    74       <hlm:arg name="config" value="tools_rel" />
       
    75       <hlm:arg name="singlejob" value="true" />
       
    76       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
       
    77     </hlm:argSet>
   127     <antcall target="compile-main" inheritAll="false" inheritRefs="true">
    78     <antcall target="compile-main" inheritAll="false" inheritRefs="true">
   128       <param name="build.system" value="${sf.spec.build.system}" />
    79       <param name="build.system" value="${sf.spec.build.system}" />
   129       <!-- param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" / -->
    80       <!-- param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" / -->
   130       <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" />
    81       <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" />
   131       <!-- param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/ -->
    82       <!-- param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/ -->
   132       <reference refid="sbs.tools.var" torefid="sbs.var" />
    83       <reference refid="sbs.tools.var" torefid="sbs.var" />
   133       <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
    84       <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
   134       <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" />
    85       <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" />
   135     </antcall>
    86     </antcall>
   136     
    87     
   137     <!-- antcall target="sf-list-dir" inheritAll="false">
       
   138       <param name="sf.list.name" value="post-build-tools"/>
       
   139     </antcall -->
       
   140     
       
   141     <!-- OS main build -->
    88     <!-- OS main build -->
       
    89     <hlm:argSet id="sbs.main.sbs.var">
       
    90       <hlm:arg name="config" value="${sf.spec.sbs.config}.whatlog" />
       
    91       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
       
    92       <hlm:arg name="command" value="BUILD --check" />
       
    93     </hlm:argSet>
   142     <antcall target="compile-main" inheritAll="false" inheritRefs="true">
    94     <antcall target="compile-main" inheritAll="false" inheritRefs="true">
   143       <param name="build.system" value="${sf.spec.build.system}" />
    95       <param name="build.system" value="${sf.spec.build.system}" />
   144       <!-- param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" / -->
    96       <!-- param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" / -->
   145       <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" />
    97       <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" />
   146       <!-- param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/ -->
    98       <!-- param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/ -->
   147       <reference refid="sbs.main.sbs.var" torefid="sbs.var" />
    99       <reference refid="sbs.main.sbs.var" torefid="sbs.var" />
   148       <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
   100       <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
   149       <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" />
   101       <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" />
   150     </antcall>
   102     </antcall>
   151     
   103     
   152     <!-- OS check -->
       
   153     <antcall target="compile-main" inheritAll="false" inheritRefs="true">
       
   154       <param name="build.system" value="${sf.spec.build.system}" />
       
   155       <!-- param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" / -->
       
   156       <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" />
       
   157       <!-- param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/ -->
       
   158       <reference refid="sbs.main.check.sbs.var" torefid="sbs.var" />
       
   159       <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
       
   160       <reference refid="sf.spec.system.definition.files" torefid="system.definition.files" />
       
   161     </antcall>
       
   162     
       
   163     <!-- antcall target="sf-list-dir" inheritAll="false">
       
   164       <param name="sf.list.name" value="post-build-main"/>
       
   165     </antcall -->
       
   166     
       
   167     <!-- what has been built in tools2+tools+main -->
       
   168     <!-- antcall target="sf-delta-dir" inheritAll="false">
       
   169       <param name="sf.list_a.name" value="post-clean"/>
       
   170       <param name="sf.list_b.name" value="post-build-main"/>
       
   171     </antcall -->
       
   172     
       
   173     <!-- what has been cleaned and rebuilt -->
       
   174     <!-- antcall target="sf-intersect-dir" inheritAll="false">
       
   175       <param name="sf.list_a.name" value="post-clean_delta"/>
       
   176       <param name="sf.list_b.name" value="post-build-main_delta"/>
       
   177     </antcall -->
       
   178     
       
   179     <!-- what has been cleaned and not rebuilt -->
       
   180     
       
   181   </target>
   104   </target>
   182   
   105   
   183 </project>
   106 </project>
   184 
   107