author | William Roberts <williamr@symbian.org> |
Thu, 24 Jun 2010 14:23:13 +0100 | |
changeset 598 | 0a541d1f13c3 |
parent 522 | 9971c248e894 |
permissions | -rw-r--r-- |
514 | 1 |
New Trace Compiler |
2 |
------------------- |
|
512 | 3 |
|
514 | 4 |
Raptor supports an updated version of the Trace Compiler which has |
516
cd8318d5fb3a
Somewhat more sane choice of directory.
timothy.murphy@nokia.com
parents:
514
diff
changeset
|
5 |
an improved command-line interface that allows Raptor to specify the |
514 | 6 |
directory in which trace data should be written. This allows MMPs to |
7 |
implement a new convention for where trace files are stored. |
|
8 |
||
9 |
The new convention prevents clashes where building the same |
|
512 | 10 |
source file for different MMPs would previously have resulted in two |
11 |
build tasks trying to create the same trace file (header/dictionary). |
|
12 |
This caused build slowdowns and also made the trace data inaccurate. |
|
13 |
||
516
cd8318d5fb3a
Somewhat more sane choice of directory.
timothy.murphy@nokia.com
parents:
514
diff
changeset
|
14 |
The standard for this directory is that the last two elements of the |
514 | 15 |
path should be |
16 |
||
17 |
traces/traces_<targetname>_<ext> |
|
18 |
||
19 |
e.g. |
|
20 |
||
21 |
traces/traces_euser_dll |
|
22 |
||
23 |
The new trace compiler also creates "autogen" headers in a new location |
|
516
cd8318d5fb3a
Somewhat more sane choice of directory.
timothy.murphy@nokia.com
parents:
514
diff
changeset
|
24 |
under epoc32/include/platform rather than epoc32/include/internal. |
514 | 25 |
|
26 |
Trace Headers Directory can now also be in SYSTEMINCLUDEs |
|
27 |
---------------------------------------------------------- |
|
28 |
||
29 |
Some teams were having trouble getting qmake to generate MMPs with |
|
30 |
USERINCLUDEs set. So they were specifying the trace header directory in |
|
31 |
their SYTEMINCLUDEs. This change causes Raptor to look for the traces |
|
32 |
directory in bot SYSTEMINCLUDES and USERINCLUDES. |
|
33 |
||
34 |
||
35 |
Create Trace Directories During Makefile Parse |
|
36 |
----------------------------------------------- |
|
37 |
||
38 |
Some build engines consider it a "clash" when two jobs attempt to make the |
|
39 |
same directory. This change causes some important trace output directories |
|
516
cd8318d5fb3a
Somewhat more sane choice of directory.
timothy.murphy@nokia.com
parents:
514
diff
changeset
|
40 |
to be created during makefile parsing which removes the (small) possibility |
514 | 41 |
that they would clash during the build part. |
42 |