samples/s390x-ibm-linux-gnu/crosstool.config
author Anthony Foiani <anthony.foiani@gmail.com>
Thu May 19 23:06:16 2011 +0200 (2011-05-19)
branch1.11
changeset 2464 4b844234d214
parent 2290 ba82eb173bd4
child 2581 181206f4bdbc
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 #
     2 # Automatically generated make config: don't edit
     3 # crosstool-NG version: hg_default@2424_063a4bcfad2d+
     4 # Sat Apr 30 18:24:39 2011
     5 #
     6 # CT_BACKEND is not set
     7 CT_MODULES=y
     8 
     9 #
    10 # Paths and misc options
    11 #
    12 
    13 #
    14 # crosstool-NG behavior
    15 #
    16 # CT_OBSOLETE is not set
    17 CT_EXPERIMENTAL=y
    18 # CT_DEBUG_CT is not set
    19 
    20 #
    21 # Paths
    22 #
    23 CT_LOCAL_TARBALLS_DIR="${HOME}/src"
    24 CT_SAVE_TARBALLS=y
    25 CT_WORK_DIR="${CT_TOP_DIR}/.build"
    26 CT_PREFIX_DIR="${HOME}/x-tools/${CT_TARGET}"
    27 CT_INSTALL_DIR="${CT_PREFIX_DIR}"
    28 CT_RM_RF_PREFIX_DIR=y
    29 CT_REMOVE_DOCS=y
    30 CT_INSTALL_DIR_RO=y
    31 CT_STRIP_ALL_TOOLCHAIN_EXECUTABLES=y
    32 
    33 #
    34 # Downloading
    35 #
    36 # CT_FORBID_DOWNLOAD is not set
    37 # CT_FORCE_DOWNLOAD is not set
    38 # CT_USE_MIRROR is not set
    39 CT_CONNECT_TIMEOUT=10
    40 # CT_ONLY_DOWNLOAD is not set
    41 
    42 #
    43 # Extracting
    44 #
    45 # CT_FORCE_EXTRACT is not set
    46 CT_OVERIDE_CONFIG_GUESS_SUB=y
    47 # CT_ONLY_EXTRACT is not set
    48 # CT_PATCH_BUNDLED is not set
    49 # CT_PATCH_LOCAL is not set
    50 # CT_PATCH_BUNDLED_LOCAL is not set
    51 # CT_PATCH_LOCAL_BUNDLED is not set
    52 # CT_PATCH_BUNDLED_FALLBACK_LOCAL is not set
    53 # CT_PATCH_LOCAL_FALLBACK_BUNDLED is not set
    54 CT_PATCH_NONE=y
    55 CT_PATCH_ORDER="none"
    56 # CT_PATCH_SINGLE is not set
    57 # CT_PATCH_USE_LOCAL is not set
    58 
    59 #
    60 # Build behavior
    61 #
    62 CT_PARALLEL_JOBS=1
    63 CT_LOAD=0
    64 CT_USE_PIPES=y
    65 # CT_CONFIG_SHELL_SH is not set
    66 # CT_CONFIG_SHELL_ASH is not set
    67 CT_CONFIG_SHELL_BASH=y
    68 # CT_CONFIG_SHELL_CUSTOM is not set
    69 CT_CONFIG_SHELL="bash"
    70 
    71 #
    72 # Logging
    73 #
    74 # CT_LOG_ERROR is not set
    75 # CT_LOG_WARN is not set
    76 # CT_LOG_INFO is not set
    77 CT_LOG_EXTRA=y
    78 # CT_LOG_ALL is not set
    79 # CT_LOG_DEBUG is not set
    80 CT_LOG_LEVEL_MAX="EXTRA"
    81 # CT_LOG_SEE_TOOLS_WARN is not set
    82 CT_LOG_PROGRESS_BAR=y
    83 CT_LOG_TO_FILE=y
    84 CT_LOG_FILE_COMPRESS=y
    85 
    86 #
    87 # Target options
    88 #
    89 CT_ARCH="s390"
    90 # CT_ARCH_SUPPORTS_BOTH_MMU is not set
    91 # CT_ARCH_SUPPORTS_BOTH_ENDIAN is not set
    92 CT_ARCH_SUPPORTS_32=y
    93 CT_ARCH_SUPPORTS_64=y
    94 # CT_ARCH_SUPPORT_ARCH is not set
    95 # CT_ARCH_SUPPORT_ABI is not set
    96 # CT_ARCH_SUPPORT_CPU is not set
    97 # CT_ARCH_SUPPORT_TUNE is not set
    98 CT_ARCH_SUPPORT_FPU=y
    99 # CT_ARCH_DEFAULT_HAS_MMU is not set
   100 # CT_ARCH_DEFAULT_BE is not set
   101 # CT_ARCH_DEFAULT_LE is not set
   102 CT_ARCH_DEFAULT_32=y
   103 # CT_ARCH_DEFAULT_64 is not set
   104 CT_ARCH_FPU=""
   105 # CT_ARCH_32 is not set
   106 CT_ARCH_64=y
   107 CT_ARCH_BITNESS=64
   108 CT_ARCH_FLOAT_HW=y
   109 # CT_ARCH_FLOAT_SW is not set
   110 CT_TARGET_CFLAGS=""
   111 CT_TARGET_LDFLAGS=""
   112 # CT_ARCH_alpha is not set
   113 # CT_ARCH_arm is not set
   114 # CT_ARCH_avr32 is not set
   115 # CT_ARCH_blackfin is not set
   116 # CT_ARCH_m68k is not set
   117 # CT_ARCH_mips is not set
   118 # CT_ARCH_powerpc is not set
   119 CT_ARCH_s390=y
   120 # CT_ARCH_sh is not set
   121 # CT_ARCH_sparc is not set
   122 # CT_ARCH_x86 is not set
   123 CT_ARCH_alpha_AVAILABLE=y
   124 CT_ARCH_arm_AVAILABLE=y
   125 CT_ARCH_avr32_AVAILABLE=y
   126 CT_ARCH_blackfin_AVAILABLE=y
   127 CT_ARCH_m68k_AVAILABLE=y
   128 CT_ARCH_mips_AVAILABLE=y
   129 CT_ARCH_powerpc_AVAILABLE=y
   130 CT_ARCH_s390_AVAILABLE=y
   131 CT_ARCH_sh_AVAILABLE=y
   132 CT_ARCH_sparc_AVAILABLE=y
   133 CT_ARCH_x86_AVAILABLE=y
   134 
   135 #
   136 # Generic target options
   137 #
   138 CT_ARCH_USE_MMU=y
   139 
   140 #
   141 # Target optimisations
   142 #
   143 
   144 #
   145 # Toolchain options
   146 #
   147 
   148 #
   149 # General toolchain options
   150 #
   151 CT_FORCE_SYSROOT=y
   152 CT_USE_SYSROOT=y
   153 CT_SYSROOT_NAME="sysroot"
   154 CT_SYSROOT_DIR_PREFIX=""
   155 # CT_STATIC_TOOLCHAIN is not set
   156 
   157 #
   158 # Tuple completion and aliasing
   159 #
   160 CT_TARGET_VENDOR="unknown"
   161 CT_TARGET_ALIAS_SED_EXPR=""
   162 CT_TARGET_ALIAS=""
   163 
   164 #
   165 # Toolchain type
   166 #
   167 # CT_NATIVE is not set
   168 CT_CROSS=y
   169 # CT_CROSS_NATIVE is not set
   170 # CT_CANADIAN is not set
   171 CT_TOOLCHAIN_TYPE="cross"
   172 
   173 #
   174 # Build system
   175 #
   176 CT_BUILD=""
   177 CT_BUILD_PREFIX=""
   178 CT_BUILD_SUFFIX=""
   179 
   180 #
   181 # Operating System
   182 #
   183 # CT_BARE_METAL is not set
   184 # CT_MINGW32 is not set
   185 CT_KERNEL_SUPPORTS_SHARED_LIBS=y
   186 CT_KERNEL="linux"
   187 CT_KERNEL_VERSION="2.6.31.14"
   188 # CT_KERNEL_bare_metal is not set
   189 CT_KERNEL_linux=y
   190 # CT_KERNEL_mingw32 is not set
   191 CT_KERNEL_bare_metal_AVAILABLE=y
   192 CT_KERNEL_linux_AVAILABLE=y
   193 CT_KERNEL_mingw32_AVAILABLE=y
   194 
   195 #
   196 # Common kernel options
   197 #
   198 CT_SHARED_LIBS=y
   199 
   200 #
   201 # linux other options
   202 #
   203 CT_KERNEL_LINUX_INSTALL=y
   204 # CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set
   205 # CT_KERNEL_V_2_6_38_4 is not set
   206 # CT_KERNEL_V_2_6_38_3 is not set
   207 # CT_KERNEL_V_2_6_38_2 is not set
   208 # CT_KERNEL_V_2_6_38_1 is not set
   209 # CT_KERNEL_V_2_6_38 is not set
   210 # CT_KERNEL_V_2_6_37_6 is not set
   211 # CT_KERNEL_V_2_6_36_4 is not set
   212 # CT_KERNEL_V_2_6_35_13 is not set
   213 # CT_KERNEL_V_2_6_34_9 is not set
   214 # CT_KERNEL_V_2_6_33_12 is not set
   215 # CT_KERNEL_V_2_6_32_39 is not set
   216 CT_KERNEL_V_2_6_31_14=y
   217 # CT_KERNEL_V_2_6_27_58 is not set
   218 # CT_KERNEL_LINUX_CUSTOM is not set
   219 CT_KERNEL_LINUX_VERBOSITY_0=y
   220 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
   221 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
   222 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
   223 CT_KERNEL_LINUX_INSTALL_CHECK=y
   224 
   225 #
   226 # Binary utilities
   227 #
   228 CT_ARCH_BINFMT_ELF=y
   229 # CT_ARCH_BINFMT_FLAT is not set
   230 # CT_ARCH_BINFMT_FDPIC is not set
   231 
   232 #
   233 # GNU binutils
   234 #
   235 # CT_BINUTILS_V_2_21 is not set
   236 # CT_BINUTILS_V_2_20_1 is not set
   237 # CT_BINUTILS_V_2_20 is not set
   238 CT_BINUTILS_V_2_19_1=y
   239 # CT_BINUTILS_V_2_19 is not set
   240 # CT_BINUTILS_V_2_18 is not set
   241 # CT_BINUTILS_V_2_17 is not set
   242 # CT_BINUTILS_V_2_16_1 is not set
   243 CT_BINUTILS_VERSION="2.19.1"
   244 CT_BINUTILS_FORCE_LD_BFD=y
   245 CT_BINUTILS_LINKER_LD=y
   246 # CT_BINUTILS_LINKER_GOLD is not set
   247 # CT_BINUTILS_LINKER_LD_GOLD is not set
   248 # CT_BINUTILS_LINKER_GOLD_LD is not set
   249 CT_BINUTILS_LINKERS_LIST="ld"
   250 CT_BINUTILS_LINKER_DEFAULT="bfd"
   251 CT_BINUTILS_EXTRA_CONFIG=""
   252 # CT_BINUTILS_FOR_TARGET is not set
   253 
   254 #
   255 # C compiler
   256 #
   257 CT_CC="gcc"
   258 CT_CC_VERSION="4.4.5"
   259 CT_CC_gcc=y
   260 # CT_CC_GCC_SHOW_LINARO is not set
   261 # CT_CC_V_linaro_4_6_2011_04_0 is not set
   262 # CT_CC_V_4_6_0 is not set
   263 # CT_CC_V_linaro_4_5_2011_04_0 is not set
   264 # CT_CC_V_4_5_2 is not set
   265 # CT_CC_V_4_5_1 is not set
   266 # CT_CC_V_4_5_0 is not set
   267 # CT_CC_V_linaro_4_4_2011_02_0 is not set
   268 # CT_CC_V_4_4_6 is not set
   269 CT_CC_V_4_4_5=y
   270 # CT_CC_V_4_4_4 is not set
   271 # CT_CC_V_4_4_3 is not set
   272 # CT_CC_V_4_4_2 is not set
   273 # CT_CC_V_4_4_1 is not set
   274 # CT_CC_V_4_4_0 is not set
   275 # CT_CC_V_4_3_5 is not set
   276 # CT_CC_V_4_3_4 is not set
   277 # CT_CC_V_4_3_3 is not set
   278 # CT_CC_V_4_3_2 is not set
   279 # CT_CC_V_4_3_1 is not set
   280 # CT_CC_V_4_2_4 is not set
   281 # CT_CC_V_4_2_3 is not set
   282 # CT_CC_V_4_2_2 is not set
   283 # CT_CC_V_4_2_1 is not set
   284 # CT_CC_V_4_2_0 is not set
   285 # CT_CC_V_4_1_2 is not set
   286 # CT_CC_V_4_0_4 is not set
   287 # CT_CC_V_3_4_6 is not set
   288 # CT_CC_GCC_4_2 is not set
   289 CT_CC_GCC_4_2_or_later=y
   290 # CT_CC_GCC_4_3 is not set
   291 CT_CC_GCC_4_3_or_later=y
   292 CT_CC_GCC_4_4=y
   293 CT_CC_GCC_4_4_or_later=y
   294 # CT_CC_GCC_4_5 is not set
   295 # CT_CC_GCC_4_5_or_later is not set
   296 # CT_CC_GCC_4_6 is not set
   297 # CT_CC_GCC_4_6_or_later is not set
   298 CT_CC_GCC_HAS_GRAPHITE=y
   299 # CT_CC_GCC_HAS_LTO is not set
   300 CT_CC_GCC_USE_GMP_MPFR=y
   301 CT_CC_GCC_USE_PPL_CLOOG=y
   302 # CT_CC_GCC_USE_MPC is not set
   303 # CT_CC_GCC_USE_LIBELF is not set
   304 CT_CC_SUPPORT_CXX=y
   305 CT_CC_SUPPORT_FORTRAN=y
   306 CT_CC_SUPPORT_JAVA=y
   307 CT_CC_SUPPORT_ADA=y
   308 CT_CC_SUPPORT_OBJC=y
   309 CT_CC_SUPPORT_OBJCXX=y
   310 
   311 #
   312 # Additional supported languages:
   313 #
   314 CT_CC_LANG_CXX=y
   315 # CT_CC_LANG_FORTRAN is not set
   316 # CT_CC_LANG_JAVA is not set
   317 # CT_CC_LANG_ADA is not set
   318 # CT_CC_LANG_OBJC is not set
   319 # CT_CC_LANG_OBJCXX is not set
   320 CT_CC_LANG_OTHERS=""
   321 
   322 #
   323 # gcc other options
   324 #
   325 CT_CC_PKGVERSION="crosstool-NG-${CT_VERSION}"
   326 CT_CC_BUGURL=""
   327 CT_CC_ENABLE_CXX_FLAGS=""
   328 CT_CC_CORE_EXTRA_CONFIG=""
   329 CT_CC_EXTRA_CONFIG=""
   330 CT_CC_STATIC_LIBSTDCXX=y
   331 
   332 #
   333 # Optimisation features
   334 #
   335 CT_CC_GCC_USE_GRAPHITE=y
   336 
   337 #
   338 # Settings for libraries running on target
   339 #
   340 CT_CC_GCC_ENABLE_TARGET_OPTSPACE=y
   341 # CT_CC_GCC_LIBMUDFLAP is not set
   342 # CT_CC_GCC_LIBGOMP is not set
   343 # CT_CC_GCC_LIBSSP is not set
   344 
   345 #
   346 # Misc. obscure options.
   347 #
   348 CT_CC_CXA_ATEXIT=y
   349 # CT_CC_GCC_DISABLE_PCH is not set
   350 CT_CC_GCC_SJLJ_EXCEPTIONS=m
   351 CT_CC_GCC_LDBL_128=m
   352 
   353 #
   354 # C-library
   355 #
   356 CT_LIBC="glibc"
   357 CT_LIBC_VERSION="2.9"
   358 # CT_LIBC_eglibc is not set
   359 CT_LIBC_glibc=y
   360 # CT_LIBC_mingw is not set
   361 # CT_LIBC_newlib is not set
   362 # CT_LIBC_none is not set
   363 # CT_LIBC_uClibc is not set
   364 CT_LIBC_eglibc_AVAILABLE=y
   365 CT_LIBC_glibc_AVAILABLE=y
   366 CT_LIBC_GLIBC_TARBALL=y
   367 # CT_LIBC_GLIBC_V_2_12_2 is not set
   368 # CT_LIBC_GLIBC_V_2_12_1 is not set
   369 # CT_LIBC_GLIBC_V_2_11_1 is not set
   370 # CT_LIBC_GLIBC_V_2_11 is not set
   371 # CT_LIBC_GLIBC_V_2_10_1 is not set
   372 CT_LIBC_GLIBC_V_2_9=y
   373 # CT_LIBC_GLIBC_V_2_8 is not set
   374 # CT_LIBC_GLIBC_V_2_7 is not set
   375 # CT_LIBC_GLIBC_V_2_6_1 is not set
   376 # CT_LIBC_GLIBC_V_2_6 is not set
   377 # CT_LIBC_GLIBC_V_2_5_1 is not set
   378 # CT_LIBC_GLIBC_V_2_5 is not set
   379 CT_LIBC_mingw_AVAILABLE=y
   380 CT_LIBC_newlib_AVAILABLE=y
   381 CT_LIBC_none_AVAILABLE=y
   382 CT_LIBC_uClibc_AVAILABLE=y
   383 CT_LIBC_glibc_familly=y
   384 
   385 #
   386 # glibc/eglibc common options
   387 #
   388 CT_LIBC_GLIBC_EXTRA_CONFIG=""
   389 CT_LIBC_GLIBC_CONFIGPARMS=""
   390 CT_LIBC_GLIBC_EXTRA_CFLAGS=""
   391 CT_LIBC_EXTRA_CC_ARGS=""
   392 # CT_LIBC_ENABLE_FORTIFIED_BUILD is not set
   393 # CT_LIBC_DISABLE_VERSIONING is not set
   394 CT_LIBC_OLDEST_ABI=""
   395 CT_LIBC_GLIBC_FORCE_UNWIND=y
   396 # CT_LIBC_GLIBC_USE_PORTS is not set
   397 CT_LIBC_ADDONS_LIST=""
   398 # CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
   399 CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
   400 # CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
   401 CT_LIBC_GLIBC_MIN_KERNEL="2.6.31.14"
   402 CT_LIBC_SUPPORT_THREADS_ANY=y
   403 CT_LIBC_SUPPORT_NPTL=y
   404 # CT_LIBC_SUPPORT_LINUXTHREADS is not set
   405 # CT_LIBC_SUPPORT_WIN32THREADS is not set
   406 # CT_LIBC_SUPPORT_THREADS_NONE is not set
   407 CT_THREADS="nptl"
   408 
   409 #
   410 # Common C library options
   411 #
   412 CT_THREADS_NPTL=y
   413 # CT_THREADS_LINUXTHREADS is not set
   414 # CT_THREADS_WIN32THREADS is not set
   415 # CT_THREADS_NONE is not set
   416 CT_LIBC_XLDD=y
   417 
   418 #
   419 # Debug facilities
   420 #
   421 # CT_DEBUG_dmalloc is not set
   422 # CT_DEBUG_duma is not set
   423 # CT_DEBUG_gdb is not set
   424 # CT_DEBUG_ltrace is not set
   425 # CT_DEBUG_strace is not set
   426 
   427 #
   428 # Companion libraries
   429 #
   430 CT_COMPLIBS_NEEDED=y
   431 CT_GMP_NEEDED=y
   432 CT_MPFR_NEEDED=y
   433 CT_PPL_NEEDED=y
   434 CT_CLOOG_NEEDED=y
   435 # CT_MPC_NEEDED is not set
   436 # CT_LIBELF_NEEDED is not set
   437 CT_COMPLIBS=y
   438 CT_GMP=y
   439 CT_MPFR=y
   440 CT_PPL=y
   441 CT_CLOOG=y
   442 CT_GMP_V_5_0_1=y
   443 # CT_GMP_V_4_3_2 is not set
   444 # CT_GMP_V_4_3_1 is not set
   445 # CT_GMP_V_4_3_0 is not set
   446 # CT_GMP_V_4_2_4 is not set
   447 # CT_GMP_V_4_2_2 is not set
   448 CT_GMP_VERSION="5.0.1"
   449 CT_MPFR_V_3_0_0=y
   450 # CT_MPFR_V_2_4_2 is not set
   451 # CT_MPFR_V_2_4_1 is not set
   452 # CT_MPFR_V_2_4_0 is not set
   453 # CT_MPFR_V_2_3_2 is not set
   454 # CT_MPFR_V_2_3_1 is not set
   455 CT_MPFR_VERSION="3.0.0"
   456 # CT_PPL_V_0_11_2 is not set
   457 # CT_PPL_V_0_11_1 is not set
   458 # CT_PPL_V_0_11 is not set
   459 CT_PPL_V_0_10_2=y
   460 CT_PPL_VERSION="0.10.2"
   461 # CT_PPL_0_11 is not set
   462 # CT_PPL_NEEDS_LIBPWL is not set
   463 CT_CLOOG_V_0_15_10=y
   464 # CT_CLOOG_V_0_15_9 is not set
   465 # CT_CLOOG_V_0_15_8 is not set
   466 # CT_CLOOG_V_0_15_7 is not set
   467 # CT_CLOOG_V_0_15_6 is not set
   468 CT_CLOOG_VERSION="0.15.10"
   469 
   470 #
   471 # Companion libraries common options
   472 #
   473 # CT_COMPLIBS_CHECK is not set
   474 
   475 #
   476 # Companion tools
   477 #
   478 
   479 #
   480 # READ HELP before you say 'Y' below !!!
   481 #
   482 # CT_COMP_TOOLS is not set
   483 
   484 #
   485 # Test suite
   486 #
   487 # CT_TEST_SUITE is not set
   488 # CT_TEST_SUITE_GCC is not set