sf-platform/build.xml
author ShabeR@UK-SHABER
Mon, 20 Apr 2009 17:27:16 +0100
changeset 88 0099c046d4f3
parent 61 54444a2ae2db
child 89 ddfb6b8da4b4
permissions -rw-r--r--
Add intersection target to FBF
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
     2
<project name="SF-PLATFORM-CONFIG" xmlns:hlm="http://www.nokia.com/helium">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
     3
  <!-- location of this config -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
     4
  <dirname property="sf.platform.config.dir" file="${ant.file.SF-PLATFORM-CONFIG}"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
     5
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
     6
  <!--
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
     7
  * Property defaults
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
     8
   -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
     9
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    10
  <!--
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    11
  TODO if needed in future
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    12
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    13
  * Load platform specific properties.
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    14
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    15
   -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    16
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    17
  <!-- workaround until GenXML can merge v2.0.0 fragments -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    18
  <target name="create-canonical-sysdef-file">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    19
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    20
       <if>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    21
          <!-- TODO use scripting to match this -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    22
          <equals arg1="${sf.spec.sysdef.version}" arg2="1.4.0" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    23
          <then>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    24
            <echo message="Using System Definition v1.4.0 "/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    25
            <runtarget target="compile.create-canonical-sysdef-file"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    26
          </then>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    27
          <else>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    28
            <runtarget target="preprocess-sysdef-files"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    29
            <echo message="Exporting preprocessed System Definition"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    30
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    31
            <!-- TODO use better method to export or wait for GenXML fix?-->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    32
            <copy file="${build.output.dir}\build\input\0000000000000001_system_definition.xml"
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    33
                  tofile="${canonical.sysdef.file}" failonerror="true" verbose="true"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    34
          </else>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    35
        </if>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    36
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    37
  </target>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    38
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    39
  <!--
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    40
    == Name: PREPROCESS-SYSDEF-FILES
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    41
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    42
    == Desc: Override of default target in order to deal with symbian os
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    43
    ==       system_definition.xml that does not have /sf source prefix
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    44
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    45
    ==       TODO get this moved as a Helium core target?
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    46
    -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    47
  <target name="preprocess-sysdef-files">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    48
        <mkdir dir="${build.output.dir}/build/input"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    49
        <delete verbose="true">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    50
            <fileset dir="${build.output.dir}/build/input/" includes="**"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    51
        </delete>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    52
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    53
        <for param="file">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    54
            <resources refid="system.definition.files"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    55
            <sequential>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    56
                <copy todir="${build.output.dir}/build/input" verbose="true">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    57
                    <fileset file="@{file}"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    58
                    <filterchain>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    59
                        <replaceregex pattern="bldFile=&quot;os" replace="bldFile=&quot;sf\\\\os" flags="gi"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    60
                        <replaceregex pattern="mrp=&quot;os" replace="mrp=&quot;sf\\\\os" flags="gi"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    61
                        <replaceregex pattern="bldFile=&quot;mw" replace="bldFile=&quot;sf\\\\mw" flags="gi"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    62
                        <replaceregex pattern="mrp=&quot;mw" replace="mrp=&quot;sf\\\\mw" flags="gi"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    63
                        <replaceregex pattern="bldFile=&quot;app" replace="bldFile=&quot;sf\\\\app" flags="gi"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    64
                        <replaceregex pattern="mrp=&quot;app" replace="mrp=&quot;sf\\\\app" flags="gi"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    65
                        <expandproperties/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    66
                    </filterchain>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    67
                    <mapper>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    68
                        <scriptmapper language="jep" src="${helium.dir}/tools/common/jep/unique_filename.jep"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    69
                    </mapper>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    70
                </copy>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    71
            </sequential>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    72
        </for>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    73
    </target>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    74
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    75
    <target name="generate-layers">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    76
       <echo message="canno-file:${canonical.sysdef.file}"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    77
       <echo message="raptor-filters:raptor_${sysdef.configuration}"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    78
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    79
	   <!-- split builds currently generate layer sysdef from original -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    80
	   <if><istrue value="${sf.spec.splitbuild}"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    81
       <then>
60
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
    82
           <hlm:compileGenxmlFilterMacro xmlns:hlm="http://www.nokia.com/helium" input="${canonical.sysdef.file}" filter="raptor_${sysdef.configuration}" output="${build.output.dir}/build/canonical_system_definition_${sysdef.configuration}_temp.xml"/>
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    83
	   </then>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    84
	   <else>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    85
	       <!-- but all we want is a sysdef with the config name appended, so just copy it -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    86
           <echo message="INFO: skip genxml and copy sysdef to sysdef+config name"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    87
           <copy file="${canonical.sysdef.file}" tofile="${build.drive}/output/build/canonical_system_definition_${sysdef.configuration}_temp.xml"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    88
       </else>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    89
    </if>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    90
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    91
	<copy file="${build.drive}/output/build/canonical_system_definition_${sysdef.configuration}_temp.xml" tofile="${build.drive}/output/build/canonical_system_definition_${sysdef.configuration}.xml">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    92
		<filterchain>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    93
			<linecontainsregexp negate="true">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    94
			  <regexp pattern="^\s*$"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    95
			</linecontainsregexp>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    96
		</filterchain>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    97
	</copy>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    98
	<delete file="${build.drive}/output/build/canonical_system_definition_${sysdef.configuration}_temp.xml"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
    99
	</target>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   100
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   101
  <!--
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   102
    == Name: SF-COMPILE
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   103
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   104
    == Desc: Override of common sf-compile target defined in
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   105
    ==       common\build.xml
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   106
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   107
    ==       os  build will be skipped if sf.spec.os.skipbuild=true
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   108
    ==       s60 build will be skipped if sf.spec.s60.skipbuild=true
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   109
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   110
    -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   111
  <target name="sf-compile">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   112
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   113
    <!-- TODO clean up to single target once genxml v2.0.0 merge is fixed -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   114
    <if><istrue value="${sf.spec.splitbuild}"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   115
       <then>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   116
       <if><istrue value="${sf.spec.os.skipbuild}" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   117
            <then><echo message="Skipping OS build"/></then>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   118
       <else><runtarget target="sf-os-compile"/></else></if>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   119
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   120
       <if><istrue value="${sf.spec.s60.skipbuild}" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   121
            <then><echo message="Skipping S60 build"/></then>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   122
       <else><runtarget target="sf-s60-compile"/></else></if>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   123
	   </then>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   124
	   <else>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   125
	        <!-- TODO targets for single sysdef build -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   126
	        <runtarget target="sf-os-compile"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   127
	   </else>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   128
    </if>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   129
  </target>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   130
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   131
  <!--
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   132
    == Name: SF-OS-COMPILE
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   133
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   134
    == Desc: Compile OS part of build using the spec defined in:
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   135
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   136
    ==         - job_props.ant.xml
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   137
    ==         - job_refs.ant.xml
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   138
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   139
    -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   140
  <target name="sf-os-compile">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   141
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   142
        <hlm:argSet id="sbs.tools2.var">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   143
                <hlm:arg name="config" value="tools2_rel" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   144
                <hlm:arg name="singlejob" value="false" />
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   145
                <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   146
        </hlm:argSet>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   147
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   148
		<hlm:argSet id="sbs.tools2.clean.var">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   149
                <hlm:arg name="config" value="tools2_rel" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   150
                <hlm:arg name="singlejob" value="false" />
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   151
                <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   152
				<hlm:arg name="command" value="CLEAN" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   153
        </hlm:argSet>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   154
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   155
        <hlm:argSet id="sbs.tools.var">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   156
                <hlm:arg name="config" value="tools_rel" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   157
                <hlm:arg name="singlejob" value="true" />
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   158
                <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   159
        </hlm:argSet>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   160
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   161
		<hlm:argSet id="sbs.tools.clean.var">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   162
                <hlm:arg name="config" value="tools_rel" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   163
                <hlm:arg name="singlejob" value="true" />
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   164
                <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   165
				<hlm:arg name="command" value="CLEAN" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   166
        </hlm:argSet>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   167
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   168
        <hlm:argSet id="sbs.main.sbs.var">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   169
                <hlm:arg name="config" value="${sf.spec.sbs.config}" />
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   170
                <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   171
        </hlm:argSet>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   172
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   173
		<hlm:argSet id="sbs.main.clean.sbs.var">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   174
                <hlm:arg name="config" value="${sf.spec.sbs.config}" />
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   175
                <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   176
				<hlm:arg name="command" value="CLEAN" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   177
        </hlm:argSet>
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   178
		
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   179
		<hlm:argSet id="sbs.main.what.sbs.var">
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   180
                <hlm:arg name="config" value="${sf.spec.sbs.config}" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   181
                <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   182
				<hlm:arg name="command" value="WHAT" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   183
        </hlm:argSet>
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   184
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   185
        <hlm:sbsMakeOptions engine="gmake" id="sbs.toolsbuild.options" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   186
        <hlm:sbsMakeOptions engine="gmake" id="sbs.fullbuild.options" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   187
60
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   188
		<!-- generate baseline dir list to allow delta creation -->
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   189
		<antcall target="sf-list-dir" inheritAll="false">
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   190
			<param name="sf.list.name" value="baseline"/>
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   191
		</antcall>
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   192
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   193
		<!-- OS what -->
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   194
        <antcall target="compile-main" inheritAll="false" inheritRefs="true">
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   195
                <param name="build.system" value="${sf.spec.build.system}" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   196
                <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   197
                <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   198
                <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   199
                <reference refid="sbs.main.what.sbs.var" torefid="sbs.var" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   200
                <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   201
                <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   202
        </antcall>
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   203
		
60
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   204
		<!-- OS clean main build -->
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   205
        <antcall target="compile-main" inheritAll="false" inheritRefs="true">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   206
                <param name="build.system" value="${sf.spec.build.system}" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   207
                <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   208
                <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   209
                <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
60
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   210
                <reference refid="sbs.main.clean.sbs.var" torefid="sbs.var" />
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   211
                <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   212
                <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
60
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   213
        </antcall>
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   214
		
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   215
		<antcall target="sf-list-dir" inheritAll="false">
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   216
			<param name="sf.list.name" value="post-clean"/>
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   217
		</antcall>
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   218
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   219
		<!-- what has been cleaned from baseline PDK by sos model -->
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   220
		<antcall target="sf-delta-dir" inheritAll="false">
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   221
			<param name="sf.list_a.name" value="baseline"/>
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   222
			<param name="sf.list_b.name" value="post-clean"/>
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   223
		</antcall>		
60
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   224
		
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   225
        <!-- OS tools2 build first-->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   226
        <antcall target="compile-main" inheritAll="false" inheritRefs="true">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   227
                <param name="build.system" value="${sf.spec.build.system}" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   228
                <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   229
                <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   230
                <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   231
                <reference refid="sbs.tools2.var" torefid="sbs.var" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   232
                <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   233
                <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   234
        </antcall>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   235
60
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   236
		<antcall target="sf-list-dir" inheritAll="false">
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   237
			<param name="sf.list.name" value="post-build-tools2"/>
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   238
		</antcall>
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   239
		
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   240
		
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   241
        <!-- OS tools build after tools2 -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   242
        <antcall target="compile-main" inheritAll="false" inheritRefs="true">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   243
                <param name="build.system" value="${sf.spec.build.system}" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   244
                <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   245
                <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   246
                <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   247
                <reference refid="sbs.tools.var" torefid="sbs.var" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   248
                <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   249
                <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   250
        </antcall>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   251
60
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   252
		<antcall target="sf-list-dir" inheritAll="false">
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   253
			<param name="sf.list.name" value="post-build-tools"/>
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   254
		</antcall>
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   255
		
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   256
        <!-- OS main build -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   257
        <antcall target="compile-main" inheritAll="false" inheritRefs="true">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   258
                <param name="build.system" value="${sf.spec.build.system}" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   259
                <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   260
                <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   261
                <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   262
                <reference refid="sbs.main.sbs.var" torefid="sbs.var" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   263
                <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   264
                <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   265
        </antcall>
60
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   266
		
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   267
		<antcall target="sf-list-dir" inheritAll="false">
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   268
			<param name="sf.list.name" value="post-build-main"/>
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   269
		</antcall>
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   270
		
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   271
		<!-- what has been built in tools2+tools+main -->
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   272
		<antcall target="sf-delta-dir" inheritAll="false">
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   273
			<param name="sf.list_a.name" value="post-clean"/>
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   274
			<param name="sf.list_b.name" value="post-build-main"/>
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   275
		</antcall>
88
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 61
diff changeset
   276
		
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 61
diff changeset
   277
		<!-- what has been cleaned and rebuilt -->
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 61
diff changeset
   278
		<antcall target="sf-intersect-dir" inheritAll="false">
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 61
diff changeset
   279
			<param name="sf.list_a.name" value="post-clean_delta"/>       <!-- clean list -->
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 61
diff changeset
   280
			<param name="sf.list_b.name" value="post-build-main_delta"/>  <!-- built list -->
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 61
diff changeset
   281
		</antcall>
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 61
diff changeset
   282
		
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 61
diff changeset
   283
		<!-- what has been cleaned and not rebuilt -->
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 61
diff changeset
   284
		
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   285
  </target>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   286
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   287
  <!--
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   288
    == Name: SF-S60-COMPILE
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   289
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   290
    == Desc: Compile S60 part of build using the spec defined in:
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   291
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   292
    ==         - job_props.ant.xml
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   293
    ==         - job_refs.ant.xml
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   294
    ==
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   295
    -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   296
  <target name="sf-s60-compile">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   297
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   298
        <hlm:argSet id="sbs.tools.var">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   299
          			<hlm:arg name="config" value="${sf.spec.sbs.tools.config}" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   300
          			<hlm:arg name="singlejob" value="true" />
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   301
          			<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   302
    		</hlm:argSet>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   303
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   304
			<hlm:argSet id="sbs.tools.clean.var">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   305
          			<hlm:arg name="config" value="${sf.spec.sbs.tools.config}" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   306
          			<hlm:arg name="singlejob" value="true" />
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   307
          			<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   308
    		</hlm:argSet>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   309
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   310
    		<hlm:argSet id="sbs.main.sbs.var">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   311
          			<hlm:arg name="config" value="${sf.spec.sbs.config}" />
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   312
          			<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   313
    		</hlm:argSet>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   314
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   315
			<hlm:argSet id="sbs.main.clean.sbs.var">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   316
          			<hlm:arg name="config" value="${sf.spec.sbs.config}" />
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   317
          			<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   318
					<hlm:arg name="command" value="CLEAN" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   319
    		</hlm:argSet>
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   320
			
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   321
			<hlm:argSet id="sbs.main.what.sbs.var">
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   322
          			<hlm:arg name="config" value="${sf.spec.sbs.config}" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   323
          			<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   324
					<hlm:arg name="command" value="WHAT" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   325
    		</hlm:argSet>
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   326
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   327
    		<hlm:sbsMakeOptions engine="gmake" id="sbs.toolsbuild.options" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   328
    		<hlm:sbsMakeOptions engine="gmake" id="sbs.fullbuild.options" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   329
60
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   330
		<antcall target="sf-list-dir" inheritAll="false">
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   331
			<param name="sf.list.name" value="s60-baseline"/>
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   332
		</antcall>
60
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   333
		
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   334
			<!-- s60 what  -->
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   335
    		<antcall target="compile-main" inheritAll="false" inheritRefs="true">
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   336
          			<param name="build.system" value="${sf.spec.build.system}" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   337
          			<param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   338
                    <param name="sf.spec.sysdef.version" value="${sf.spec.s60.sysdef.version}"/>
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   339
          			<reference refid="sbs.main.what.sbs.var" torefid="sbs.var" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   340
          			<reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   341
          			<reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" />
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   342
    		</antcall>
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   343
			
60
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   344
			<!-- s60 clean main build -->
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   345
    		<antcall target="compile-main" inheritAll="false" inheritRefs="true">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   346
          			<param name="build.system" value="${sf.spec.build.system}" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   347
          			<param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   348
                    <param name="sf.spec.sysdef.version" value="${sf.spec.s60.sysdef.version}"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   349
          			<reference refid="sbs.main.clean.sbs.var" torefid="sbs.var" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   350
          			<reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   351
          			<reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   352
    		</antcall>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   353
60
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   354
			<antcall target="sf-list-dir" inheritAll="false">
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   355
				<param name="sf.list.name" value="post-s60-clean"/>
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   356
			</antcall>
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   357
			
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   358
			<!-- what has been cleaned from baseline PDK by s60 model -->
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   359
			<antcall target="sf-delta-dir" inheritAll="false">
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   360
				<param name="sf.list_a.name" value="s60-baseline"/>
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   361
				<param name="sf.list_b.name" value="post-s60-clean"/>
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   362
			</antcall>		
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   363
			
60
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   364
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   365
            <!-- s60  tools build -->
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   366
    		<antcall target="compile-main" inheritAll="false" inheritRefs="true">
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   367
          			<param name="build.system" value="${sf.spec.build.system}" />
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   368
          			<param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" />
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   369
					<param name="sf.spec.sysdef.version" value ="${sf.spec.s60.sysdef.version}"/>
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   370
          			<reference refid="sbs.tools.var" torefid="sbs.var" />
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   371
          			<reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   372
          			<reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" />
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   373
    		</antcall>
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   374
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   375
			<antcall target="sf-list-dir" inheritAll="false">
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   376
				<param name="sf.list.name" value="post-s60-build-tools"/>
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   377
			</antcall>
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   378
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   379
    		<!-- s60 main build -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   380
    		<antcall target="compile-main" inheritAll="false" inheritRefs="true">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   381
          			<param name="build.system" value="${sf.spec.build.system}" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   382
          			<param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   383
                    <param name="sf.spec.sysdef.version" value="${sf.spec.s60.sysdef.version}"/>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   384
          			<reference refid="sbs.main.sbs.var" torefid="sbs.var" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   385
          			<reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   386
          			<reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   387
    		</antcall>
60
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   388
			
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   389
			<antcall target="sf-list-dir" inheritAll="false">
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   390
				<param name="sf.list.name" value="post-s60-build-main"/>
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   391
			</antcall>
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   392
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   393
    		<!-- s60 postbuild bldmelast using ebs -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   394
    		<antcall target="compile-main" inheritAll="false">
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   395
          			<param name="build.system" value="ebs" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   396
          			<param name="sysdef.configurations.list" value="S60_bldmelast" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   397
          			<reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   398
    		</antcall>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   399
60
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   400
			<antcall target="sf-list-dir" inheritAll="false">
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   401
				<param name="sf.list.name" value="post-s60-bldmelast"/>
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   402
			</antcall>
9edae8fe1416 Add tools to create file tree deltas and integrate them into build f/w
ShabeR@UK-SHABER
parents: 59
diff changeset
   403
61
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   404
			<!-- what has been built by tools+2+main+bldmelast -->
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   405
			<antcall target="sf-delta-dir" inheritAll="false">
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   406
				<param name="sf.list_a.name" value="s60-baseline"/>
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   407
				<param name="sf.list_b.name" value="post-s60-bldmelast"/>
54444a2ae2db 1. Update list and delta targets
ShabeR@UK-SHABER
parents: 60
diff changeset
   408
			</antcall>		
88
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 61
diff changeset
   409
			
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 61
diff changeset
   410
			<!-- what has been cleaned and rebuilt -->
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 61
diff changeset
   411
			<antcall target="sf-intersect-dir" inheritAll="false">
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 61
diff changeset
   412
				<param name="sf.list_a.name" value="post-s60-clean_delta"/>       <!-- clean list -->
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 61
diff changeset
   413
				<param name="sf.list_b.name" value="post-s60-bldmelast_delta"/>  <!-- built list -->
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 61
diff changeset
   414
			</antcall>
0099c046d4f3 Add intersection target to FBF
ShabeR@UK-SHABER
parents: 61
diff changeset
   415
		
59
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   416
	</target>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   417
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   418
  <!-- import sf-common-config -->
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   419
  <import file="../common/build.xml" />
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   420
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   421
</project>
c7be4c65f97e Update to allow foundation model build in single step
ShabeR@UK-SHABER
parents: 57
diff changeset
   422