buildframework/helium/sf/java/sbs/sbsctc.rst
author Bob Rosenberg <bob.rosenberg@nokia.com>
Wed, 28 Jul 2010 13:20:46 +0100
changeset 624 f70b728ea30c
parent 587 85df38eb4012
permissions -rw-r--r--
Move sysdeftools from buildtools package into build package
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     1
.. index::
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     2
  module: Configuring CTC for SBS
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     3
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     4
=======================
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     5
Configuring CTC for SBS
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     6
=======================
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     7
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     8
The following commands will generate mon.sym files in the root of your build area which are sent to the ATS server to generate coverage information.
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     9
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    10
Clean components:
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    11
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    12
hlm compile-main -Dbuild.drive=z: -Dsysdef.configurations.list=build_ctc_clean -Dbuild.system=sbs
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    13
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    14
Build for CTC:
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    15
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    16
hlm compile-main -Dbuild.drive=z: -Dsysdef.configurations.list=build_ctc -Dsbs.build.ctc=true -Dbuild.system=sbs
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    17
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    18
Ant configuration:
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    19
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    20
.. code-block:: xml
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    21
        
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    22
    <hlm:sbsoptions id="commonSBS">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    23
        <arg line="-k" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    24
        <arg name="--filters" value="FilterMetadataLog"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    25
    </hlm:sbsoptions>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    26
    
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    27
    <hlm:sbsoptions id="armv5_CTC_SBS">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    28
            <argset refid="commonSBS" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    29
            <arg line="-c armv5_udeb" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    30
    </hlm:sbsoptions>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    31
    
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    32
    <hlm:sbsinput id="armv5-ctc-sbs">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    33
        <sbsoptions refid="armv5_CTC_SBS" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    34
    </hlm:sbsinput>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    35
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    36
    <hlm:sbsinput id="build_ctc_input_armv5">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    37
        <sbsInput refid="armv5-ctc-${build.system}" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    38
        <sbsOptions>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    39
            <arg name="--logfile" value="${compile.log.dir}/${build.id}_armv5_build_ctc.log" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    40
        </sbsOptions>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    41
    </hlm:sbsinput>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    42
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    43
    <hlm:sbsbuild id="sbs.build_ctc">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    44
        <sbsInput refid="build_ctc_input_armv5" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    45
    </hlm:sbsbuild>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    46
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    47
    <hlm:sbsoptions id="cleanCommon">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    48
            <arg line="REALLYCLEAN" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    49
            <arg line="-c armv5" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    50
    </hlm:sbsoptions>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    51
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    52
    <hlm:sbsoptions id="armv5Clean">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    53
        <argset refid="cleanCommon" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    54
    </hlm:sbsoptions>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    55
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    56
    <hlm:sbsinput id="armv5-sbs-clean">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    57
        <sbsoptions refid="armv5Clean" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    58
    </hlm:sbsinput>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    59
    
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    60
    <hlm:sbsinput id="build_input_clean_armv5">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    61
        <sbsInput refid="armv5-${build.system}-clean" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    62
        <sbsOptions>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    63
            <arg name="--logfile" value="${compile.log.dir}/${build.id}_armv5_build_clean.log" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    64
            <arg name="--makefile" value="${compile.log.dir}/${build.id}_armv5_build_clean" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    65
        </sbsOptions>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    66
    </hlm:sbsinput>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    67
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    68
    <hlm:sbsbuild id="sbs.build_ctc_clean">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    69
        <sbsInput refid="build_input_clean_armv5" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    70
    </hlm:sbsbuild>