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