config/companion_libs.in
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Sat May 04 00:08:34 2013 +0200 (2013-05-04)
changeset 3216 bfad02f03c75
parent 2484 d1a8c2ae7946
child 3218 3709e61ad85b
permissions -rw-r--r--
complibs: add ISL

ISL is used by gcc-4.8 onward for GRAPHITE, so is also used as
backend for CLooG 0.18.0 onward.

Reported-by: "Plotnikov Dmitry" <leitz@ispras.ru>
[Dmitry did a preliminray patch to add ISL, which this one is inspired from]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
     1 # Companion libraries config options
     2 # Those libraries are required for different versions of gcc,
     3 # and can be used by binutils and gdb (maybe others as well).
     4 
     5 menu "Companion libraries"
     6 
     7 config COMPLIBS_NEEDED
     8     bool
     9 
    10 config GMP_NEEDED
    11     bool
    12     select GMP
    13     select COMPLIBS_NEEDED
    14 
    15 config MPFR_NEEDED
    16     bool
    17     select MPFR
    18     select COMPLIBS_NEEDED
    19 
    20 config PPL_NEEDED
    21     bool
    22     select PPL
    23     select COMPLIBS_NEEDED
    24 
    25 config ISL_NEEDED
    26     bool
    27     select ISL
    28     select COMPLIBS_NEEDED
    29 
    30 config CLOOG_NEEDED
    31     bool
    32     select CLOOG
    33     select COMPLIBS_NEEDED
    34 
    35 config MPC_NEEDED
    36     bool
    37     select MPC
    38     select COMPLIBS_NEEDED
    39 
    40 config LIBELF_NEEDED
    41     bool
    42     select LIBELF
    43     select COMPLIBS_NEEDED
    44 
    45 config COMPLIBS
    46     bool
    47 
    48 config GMP
    49     bool
    50     select COMPLIBS
    51 
    52 config MPFR
    53     bool
    54     select GMP
    55     select COMPLIBS
    56 
    57 config PPL
    58     bool
    59     select GMP
    60     select COMPLIBS
    61 
    62 config ISL
    63     bool
    64     select GMP
    65     select COMPLIBS
    66 
    67 config CLOOG
    68     bool
    69     select GMP
    70     select PPL
    71     select COMPLIBS
    72 
    73 config MPC
    74     bool
    75     select GMP
    76     select MPFR
    77     select COMPLIBS
    78 
    79 config LIBELF
    80     bool
    81     select COMPLIBS
    82 
    83 config LIBELF_TARGET
    84     bool
    85 
    86 if GMP
    87 source "config/companion_libs/gmp.in"
    88 endif
    89 if MPFR
    90 source "config/companion_libs/mpfr.in"
    91 endif
    92 if PPL
    93 source "config/companion_libs/ppl.in"
    94 endif
    95 if ISL
    96 source "config/companion_libs/isl.in"
    97 endif
    98 if CLOOG
    99 source "config/companion_libs/cloog.in"
   100 endif
   101 if MPC
   102 source "config/companion_libs/mpc.in"
   103 endif
   104 if LIBELF || LIBELF_TARGET
   105 comment "libelf version needed to build for target"
   106     depends on !LIBELF
   107 source "config/companion_libs/libelf.in"
   108 endif
   109 
   110 config FOO
   111     bool
   112 
   113 if COMPLIBS
   114 
   115 comment "Companion libraries common options"
   116 
   117 config COMPLIBS_CHECK
   118     bool
   119     prompt "Check the companion libraries builds (!!! READ HELP!!!)"
   120     help
   121       It is highly recommended to check the newly built companion libraries.
   122       Unfortunately, this is a very intensive task, and takes a loooong time.
   123       
   124       Checking the newly built companion libraries is thus disabled by default,
   125       but it is suggested that you check them at least once on your machine,
   126       and if they work, disable the check on subsequent builds.
   127       
   128       If you suspect that one (or more) of your companion libraries is the
   129       cause for incorrectly generated code, you should answer 'Y' here.
   130       Note however that this will take a really long time. For example,
   131       building PPL on my machine takes roughly 1'40", while checking it takes
   132       about 1h40'...
   133 
   134 endif # COMPLIBS
   135 
   136 endmenu