config/debug/strace.in
author Anthony Foiani <anthony.foiani@gmail.com>
Thu May 19 23:06:16 2011 +0200 (2011-05-19)
branch1.11
changeset 2464 4b844234d214
parent 1844 4d6a56579d9d
child 2444 896cb0d36c1a
permissions -rw-r--r--
complibs/ppl: build only C and C++ interfaces for PPL

By default, PPL wants to build interfaces for any of a variety of
langauges it finds on the local host (python, java, possibly perl, also
more esoteric languages such as ocaml and prolog).

These extra interfaces can double the compile time for the library. For
single-process builds, I found a savings of more than 40%:

default / j1: 716s total, 143.2s avg, 0.52s stdev
just_c / j1: 406s total, 81.2s avg, 0.33s stdev
just_c_cpp / j1: 413s total, 82.6s avg, 0.22s stdev

And for multi-process builds, it approached 50%:

default / j4: 625s total, 125.0s avg, 0.57s stdev
just_c / j4: 338s total, 67.6s avg, 1.25s stdev
just_c_cpp / j4: 327s total, 65.4s avg, 0.36s stdev

Since the PPL we build within ct-ng is only used by GCC, we only need to
build the C and C++ interfaces.

Signed-Off-By: Anthony Foiani <anthony.foiani@gmail.com>
(transplanted from ec30b191f0e3fe9bc73199f0bcb8d789db17aa92)
     1 # strace
     2 # depends on ! BACKEND
     3 
     4 config DEBUG_strace
     5 
     6 choice
     7     bool
     8     prompt "strace version"
     9 # Don't remove next line
    10 # CT_INSERT_VERSION_BELOW
    11 
    12 config STRACE_V_4_5_20
    13     bool
    14     prompt "4.5.20 (EXPERIMENTAL)"
    15     depends on EXPERIMENTAL
    16 
    17 config STRACE_V_4_5_19
    18     bool
    19     prompt "4.5.19"
    20 
    21 config STRACE_V_4_5_18
    22     bool
    23     prompt "4.5.18"
    24 
    25 config STRACE_V_4_5_17
    26     bool
    27     prompt "4.5.17 (OBSOLETE)"
    28     depends on OBSOLETE
    29 
    30 config STRACE_V_4_5_16
    31     bool
    32     prompt "4.5.16 (OBSOLETE)"
    33     depends on OBSOLETE
    34 
    35 config STRACE_V_4_5_15
    36     bool
    37     prompt "4.5.15 (OBSOLETE)"
    38     depends on OBSOLETE
    39 
    40 endchoice
    41 
    42 config STRACE_VERSION
    43     string
    44 # Don't remove next line
    45 # CT_INSERT_VERSION_STRING_BELOW
    46     default "4.5.20" if STRACE_V_4_5_20
    47     default "4.5.19" if STRACE_V_4_5_19
    48     default "4.5.18" if STRACE_V_4_5_18
    49     default "4.5.17" if STRACE_V_4_5_17
    50     default "4.5.16" if STRACE_V_4_5_16
    51     default "4.5.15" if STRACE_V_4_5_15