Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: configure

Issue 1084753002: Add some configure/CMake options for enabling/disabling Subzero targets. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-llvm.git@master
Patch Set: line up better Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « autoconf/configure.ac ('k') | include/llvm/Config/SZTargets.def.in » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #! /bin/sh 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles. 2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60 for LLVM 3.6.0svn. 3 # Generated by GNU Autoconf 2.60 for LLVM 3.6.0svn.
4 # 4 #
5 # Report bugs to <http://llvm.org/bugs/>. 5 # Report bugs to <http://llvm.org/bugs/>.
6 # 6 #
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation 9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it. 10 # gives unlimited permission to copy, distribute and modify it.
(...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after
711 ENABLE_PIC 711 ENABLE_PIC
712 ENABLE_SHARED 712 ENABLE_SHARED
713 ENABLE_EMBED_STDCXX 713 ENABLE_EMBED_STDCXX
714 ENABLE_TIMESTAMPS 714 ENABLE_TIMESTAMPS
715 ALL_TARGETS 715 ALL_TARGETS
716 TARGETS_TO_BUILD 716 TARGETS_TO_BUILD
717 LLVM_ENUM_TARGETS 717 LLVM_ENUM_TARGETS
718 LLVM_ENUM_ASM_PRINTERS 718 LLVM_ENUM_ASM_PRINTERS
719 LLVM_ENUM_ASM_PARSERS 719 LLVM_ENUM_ASM_PARSERS
720 LLVM_ENUM_DISASSEMBLERS 720 LLVM_ENUM_DISASSEMBLERS
721 SUBZERO_ENUM_TARGETS
721 OPTIMIZE_OPTION 722 OPTIMIZE_OPTION
722 EXTRA_OPTIONS 723 EXTRA_OPTIONS
723 EXTRA_LD_OPTIONS 724 EXTRA_LD_OPTIONS
724 CLANG_SRC_ROOT 725 CLANG_SRC_ROOT
725 BINUTILS_INCDIR 726 BINUTILS_INCDIR
726 ENABLE_TERMINFO 727 ENABLE_TERMINFO
727 INTERNAL_PREFIX 728 INTERNAL_PREFIX
728 ifGNUmake 729 ifGNUmake
729 LN_S 730 LN_S
730 NM 731 NM
(...skipping 697 matching lines...) Expand 10 before | Expand all | Expand 10 after
1428 Win32 DLL (default is NO) 1429 Win32 DLL (default is NO)
1429 --enable-timestamps Enable embedding timestamp information in build 1430 --enable-timestamps Enable embedding timestamp information in build
1430 (default is YES) 1431 (default is YES)
1431 --enable-backtraces Enable embedding backtraces on crash (default is 1432 --enable-backtraces Enable embedding backtraces on crash (default is
1432 YES) 1433 YES)
1433 --enable-crash-overrides 1434 --enable-crash-overrides
1434 Enable crash handling overrides (default is YES) 1435 Enable crash handling overrides (default is YES)
1435 --enable-targets Build specific host targets: all or 1436 --enable-targets Build specific host targets: all or
1436 target1,target2,... Valid targets are: host, x86, 1437 target1,target2,... Valid targets are: host, x86,
1437 x86_64, sparc, powerpc, arm64, arm, aarch64, mips, 1438 x86_64, sparc, powerpc, arm64, arm, aarch64, mips,
1438 hexagon, xcore, msp430, nvptx, systemz, r600, and 1439 hexagon, xcore, msp430, nvptx, systemz, r600, js,
1439 js, cpp (default=all) 1440 and cpp (default=all)
1440 --enable-experimental-targets 1441 --enable-experimental-targets
1441 Build experimental host targets: disable or 1442 Build experimental host targets: disable or
1442 target1,target2,... (default=disable) 1443 target1,target2,... (default=disable)
1444 --enable-subzero-targets
1445 Build specific subzero targets:
1446 target1,target2,...(default=none)
1443 --enable-bindings Build specific language bindings: 1447 --enable-bindings Build specific language bindings:
1444 all,auto,none,{binding-name} (default=auto) 1448 all,auto,none,{binding-name} (default=auto)
1445 --enable-terminfo Query the terminfo database if available (default is 1449 --enable-terminfo Query the terminfo database if available (default is
1446 YES) 1450 YES)
1447 --enable-libedit Use libedit if available (default is YES) 1451 --enable-libedit Use libedit if available (default is YES)
1448 --enable-libffi Check for the presence of libffi (default is NO) 1452 --enable-libffi Check for the presence of libffi (default is NO)
1449 1453
1450 Optional Packages: 1454 Optional Packages:
1451 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1455 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1452 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1456 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
(...skipping 3854 matching lines...) Expand 10 before | Expand all | Expand 10 after
5307 fi 5311 fi
5308 5312
5309 if test "$llvm_cv_enable_crash_overrides" = "yes" ; then 5313 if test "$llvm_cv_enable_crash_overrides" = "yes" ; then
5310 5314
5311 cat >>confdefs.h <<\_ACEOF 5315 cat >>confdefs.h <<\_ACEOF
5312 #define ENABLE_CRASH_OVERRIDES 1 5316 #define ENABLE_CRASH_OVERRIDES 1
5313 _ACEOF 5317 _ACEOF
5314 5318
5315 fi 5319 fi
5316 5320
5317 ALL_TARGETS="X86 Sparc PowerPC ARM AArch64 Mips XCore MSP430 CppBackend NVPTX He xagon SystemZ R600" 5321 ALL_TARGETS="X86 Sparc PowerPC ARM AArch64 Mips XCore MSP430 CppBackend JSBacken d NVPTX Hexagon SystemZ R600"
5318 ALL_TARGETS=$ALL_TARGETS 5322 ALL_TARGETS=$ALL_TARGETS
5319 5323
5320 5324
5321 TARGETS_TO_BUILD="" 5325 TARGETS_TO_BUILD=""
5322 # Check whether --enable-targets was given. 5326 # Check whether --enable-targets was given.
5323 if test "${enable_targets+set}" = set; then 5327 if test "${enable_targets+set}" = set; then
5324 enableval=$enable_targets; 5328 enableval=$enable_targets;
5325 else 5329 else
5326 enableval=all 5330 enableval=all
5327 fi 5331 fi
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
5462 if test -f ${srcdir}/lib/Target/${target_to_build}/Disassembler/Makefile ; the n 5466 if test -f ${srcdir}/lib/Target/${target_to_build}/Disassembler/Makefile ; the n
5463 LLVM_ENUM_DISASSEMBLERS="LLVM_DISASSEMBLER($target_to_build) $LLVM_ENUM_DISA SSEMBLERS"; 5467 LLVM_ENUM_DISASSEMBLERS="LLVM_DISASSEMBLER($target_to_build) $LLVM_ENUM_DISA SSEMBLERS";
5464 fi 5468 fi
5465 done 5469 done
5466 5470
5467 5471
5468 5472
5469 5473
5470 5474
5471 5475
5476 SUBZERO_TARGETS_TO_BUILD=""
5477 # Check whether --enable-subzero_targets was given.
5478 if test "${enable_subzero_targets+set}" = set; then
5479 enableval=$enable_subzero_targets;
5480 else
5481 enableval=none
5482 fi
5483
5484 case "$enableval" in
5485 none) ;;
5486 *)for a_target in `echo $enableval|sed -e 's/,/ /g' ` ; do
5487 case "$a_target" in
5488 X8632) SUBZERO_TARGETS_TO_BUILD="X8632 $SUBZERO_TARGETS_TO_BUILD" ;;
5489 X8664) SUBZERO_TARGETS_TO_BUILD="X8664 $SUBZERO_TARGETS_TO_BUILD" ;;
5490 ARM32) SUBZERO_TARGETS_TO_BUILD="ARM32 $SUBZERO_TARGETS_TO_BUILD" ;;
5491 ARM64) SUBZERO_TARGETS_TO_BUILD="ARM64 $SUBZERO_TARGETS_TO_BUILD" ;;
5492 *) { { echo "$as_me:$LINENO: error: Unrecognized subzero target $a_targe t" >&5
5493 echo "$as_me: error: Unrecognized subzero target $a_target" >&2;}
5494 { (exit 1); exit 1; }; } ;;
5495 esac
5496 done
5497 ;;
5498 esac
5499
5500 SUBZERO_ENUM_TARGETS=""
5501 for target_to_build in $SUBZERO_TARGETS_TO_BUILD; do
5502 SUBZERO_ENUM_TARGETS="SUBZERO_TARGET($target_to_build) $SUBZERO_ENUM_TARGETS"
5503 done
5504
5505
5506
5472 # Check whether --with-optimize-option was given. 5507 # Check whether --with-optimize-option was given.
5473 if test "${with_optimize_option+set}" = set; then 5508 if test "${with_optimize_option+set}" = set; then
5474 withval=$with_optimize_option; 5509 withval=$with_optimize_option;
5475 else 5510 else
5476 withval=default 5511 withval=default
5477 fi 5512 fi
5478 5513
5479 { echo "$as_me:$LINENO: checking optimization flags" >&5 5514 { echo "$as_me:$LINENO: checking optimization flags" >&5
5480 echo $ECHO_N "checking optimization flags... $ECHO_C" >&6; } 5515 echo $ECHO_N "checking optimization flags... $ECHO_C" >&6; }
5481 case "$withval" in 5516 case "$withval" in
(...skipping 12951 matching lines...) Expand 10 before | Expand all | Expand 10 after
18433 18468
18434 18469
18435 18470
18436 ac_config_headers="$ac_config_headers include/llvm/Config/config.h include/llvm/ Config/llvm-config.h" 18471 ac_config_headers="$ac_config_headers include/llvm/Config/config.h include/llvm/ Config/llvm-config.h"
18437 18472
18438 18473
18439 18474
18440 18475
18441 18476
18442 18477
18478 ac_config_files="$ac_config_files include/llvm/Config/SZTargets.def"
18479
18443 ac_config_files="$ac_config_files include/llvm/Config/Targets.def" 18480 ac_config_files="$ac_config_files include/llvm/Config/Targets.def"
18444 18481
18445 ac_config_files="$ac_config_files include/llvm/Config/AsmPrinters.def" 18482 ac_config_files="$ac_config_files include/llvm/Config/AsmPrinters.def"
18446 18483
18447 ac_config_files="$ac_config_files include/llvm/Config/AsmParsers.def" 18484 ac_config_files="$ac_config_files include/llvm/Config/AsmParsers.def"
18448 18485
18449 ac_config_files="$ac_config_files include/llvm/Config/Disassemblers.def" 18486 ac_config_files="$ac_config_files include/llvm/Config/Disassemblers.def"
18450 18487
18451 ac_config_headers="$ac_config_headers include/llvm/Support/DataTypes.h" 18488 ac_config_headers="$ac_config_headers include/llvm/Support/DataTypes.h"
18452 18489
(...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after
19062 _ACEOF 19099 _ACEOF
19063 19100
19064 cat >>$CONFIG_STATUS <<\_ACEOF 19101 cat >>$CONFIG_STATUS <<\_ACEOF
19065 19102
19066 # Handling of arguments. 19103 # Handling of arguments.
19067 for ac_config_target in $ac_config_targets 19104 for ac_config_target in $ac_config_targets
19068 do 19105 do
19069 case $ac_config_target in 19106 case $ac_config_target in
19070 "include/llvm/Config/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/llvm /Config/config.h" ;; 19107 "include/llvm/Config/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/llvm /Config/config.h" ;;
19071 "include/llvm/Config/llvm-config.h") CONFIG_HEADERS="$CONFIG_HEADERS include /llvm/Config/llvm-config.h" ;; 19108 "include/llvm/Config/llvm-config.h") CONFIG_HEADERS="$CONFIG_HEADERS include /llvm/Config/llvm-config.h" ;;
19109 "include/llvm/Config/SZTargets.def") CONFIG_FILES="$CONFIG_FILES include/llv m/Config/SZTargets.def" ;;
19072 "include/llvm/Config/Targets.def") CONFIG_FILES="$CONFIG_FILES include/llvm/ Config/Targets.def" ;; 19110 "include/llvm/Config/Targets.def") CONFIG_FILES="$CONFIG_FILES include/llvm/ Config/Targets.def" ;;
19073 "include/llvm/Config/AsmPrinters.def") CONFIG_FILES="$CONFIG_FILES include/l lvm/Config/AsmPrinters.def" ;; 19111 "include/llvm/Config/AsmPrinters.def") CONFIG_FILES="$CONFIG_FILES include/l lvm/Config/AsmPrinters.def" ;;
19074 "include/llvm/Config/AsmParsers.def") CONFIG_FILES="$CONFIG_FILES include/ll vm/Config/AsmParsers.def" ;; 19112 "include/llvm/Config/AsmParsers.def") CONFIG_FILES="$CONFIG_FILES include/ll vm/Config/AsmParsers.def" ;;
19075 "include/llvm/Config/Disassemblers.def") CONFIG_FILES="$CONFIG_FILES include /llvm/Config/Disassemblers.def" ;; 19113 "include/llvm/Config/Disassemblers.def") CONFIG_FILES="$CONFIG_FILES include /llvm/Config/Disassemblers.def" ;;
19076 "include/llvm/Support/DataTypes.h") CONFIG_HEADERS="$CONFIG_HEADERS include/ llvm/Support/DataTypes.h" ;; 19114 "include/llvm/Support/DataTypes.h") CONFIG_HEADERS="$CONFIG_HEADERS include/ llvm/Support/DataTypes.h" ;;
19077 "Makefile.config") CONFIG_FILES="$CONFIG_FILES Makefile.config" ;; 19115 "Makefile.config") CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
19078 "llvm.spec") CONFIG_FILES="$CONFIG_FILES llvm.spec" ;; 19116 "llvm.spec") CONFIG_FILES="$CONFIG_FILES llvm.spec" ;;
19079 "docs/doxygen.cfg") CONFIG_FILES="$CONFIG_FILES docs/doxygen.cfg" ;; 19117 "docs/doxygen.cfg") CONFIG_FILES="$CONFIG_FILES docs/doxygen.cfg" ;;
19080 "tools/clang/${configh}") CONFIG_HEADERS="$CONFIG_HEADERS tools/clang/${conf igh}:${clang_src_root}/${configh}.in" ;; 19118 "tools/clang/${configh}") CONFIG_HEADERS="$CONFIG_HEADERS tools/clang/${conf igh}:${clang_src_root}/${configh}.in" ;;
19081 "tools/clang/${doxy}") CONFIG_FILES="$CONFIG_FILES tools/clang/${doxy}:${cla ng_src_root}/${doxy}.in" ;; 19119 "tools/clang/${doxy}") CONFIG_FILES="$CONFIG_FILES tools/clang/${doxy}:${cla ng_src_root}/${doxy}.in" ;;
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
19305 ENABLE_PIC!$ENABLE_PIC$ac_delim 19343 ENABLE_PIC!$ENABLE_PIC$ac_delim
19306 ENABLE_SHARED!$ENABLE_SHARED$ac_delim 19344 ENABLE_SHARED!$ENABLE_SHARED$ac_delim
19307 ENABLE_EMBED_STDCXX!$ENABLE_EMBED_STDCXX$ac_delim 19345 ENABLE_EMBED_STDCXX!$ENABLE_EMBED_STDCXX$ac_delim
19308 ENABLE_TIMESTAMPS!$ENABLE_TIMESTAMPS$ac_delim 19346 ENABLE_TIMESTAMPS!$ENABLE_TIMESTAMPS$ac_delim
19309 ALL_TARGETS!$ALL_TARGETS$ac_delim 19347 ALL_TARGETS!$ALL_TARGETS$ac_delim
19310 TARGETS_TO_BUILD!$TARGETS_TO_BUILD$ac_delim 19348 TARGETS_TO_BUILD!$TARGETS_TO_BUILD$ac_delim
19311 LLVM_ENUM_TARGETS!$LLVM_ENUM_TARGETS$ac_delim 19349 LLVM_ENUM_TARGETS!$LLVM_ENUM_TARGETS$ac_delim
19312 LLVM_ENUM_ASM_PRINTERS!$LLVM_ENUM_ASM_PRINTERS$ac_delim 19350 LLVM_ENUM_ASM_PRINTERS!$LLVM_ENUM_ASM_PRINTERS$ac_delim
19313 LLVM_ENUM_ASM_PARSERS!$LLVM_ENUM_ASM_PARSERS$ac_delim 19351 LLVM_ENUM_ASM_PARSERS!$LLVM_ENUM_ASM_PARSERS$ac_delim
19314 LLVM_ENUM_DISASSEMBLERS!$LLVM_ENUM_DISASSEMBLERS$ac_delim 19352 LLVM_ENUM_DISASSEMBLERS!$LLVM_ENUM_DISASSEMBLERS$ac_delim
19353 SUBZERO_ENUM_TARGETS!$SUBZERO_ENUM_TARGETS$ac_delim
19315 OPTIMIZE_OPTION!$OPTIMIZE_OPTION$ac_delim 19354 OPTIMIZE_OPTION!$OPTIMIZE_OPTION$ac_delim
19316 EXTRA_OPTIONS!$EXTRA_OPTIONS$ac_delim 19355 EXTRA_OPTIONS!$EXTRA_OPTIONS$ac_delim
19317 EXTRA_LD_OPTIONS!$EXTRA_LD_OPTIONS$ac_delim 19356 EXTRA_LD_OPTIONS!$EXTRA_LD_OPTIONS$ac_delim
19318 CLANG_SRC_ROOT!$CLANG_SRC_ROOT$ac_delim 19357 CLANG_SRC_ROOT!$CLANG_SRC_ROOT$ac_delim
19319 BINUTILS_INCDIR!$BINUTILS_INCDIR$ac_delim 19358 BINUTILS_INCDIR!$BINUTILS_INCDIR$ac_delim
19320 ENABLE_TERMINFO!$ENABLE_TERMINFO$ac_delim 19359 ENABLE_TERMINFO!$ENABLE_TERMINFO$ac_delim
19321 INTERNAL_PREFIX!$INTERNAL_PREFIX$ac_delim 19360 INTERNAL_PREFIX!$INTERNAL_PREFIX$ac_delim
19322 ifGNUmake!$ifGNUmake$ac_delim 19361 ifGNUmake!$ifGNUmake$ac_delim
19323 LN_S!$LN_S$ac_delim 19362 LN_S!$LN_S$ac_delim
19324 NM!$NM$ac_delim 19363 NM!$NM$ac_delim
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
19384 HAVE_OCAML_OUNIT!$HAVE_OCAML_OUNIT$ac_delim 19423 HAVE_OCAML_OUNIT!$HAVE_OCAML_OUNIT$ac_delim
19385 OCAML_LIBDIR!$OCAML_LIBDIR$ac_delim 19424 OCAML_LIBDIR!$OCAML_LIBDIR$ac_delim
19386 ENABLE_VISIBILITY_INLINES_HIDDEN!$ENABLE_VISIBILITY_INLINES_HIDDEN$ac_delim 19425 ENABLE_VISIBILITY_INLINES_HIDDEN!$ENABLE_VISIBILITY_INLINES_HIDDEN$ac_delim
19387 RPATH!$RPATH$ac_delim 19426 RPATH!$RPATH$ac_delim
19388 RDYNAMIC!$RDYNAMIC$ac_delim 19427 RDYNAMIC!$RDYNAMIC$ac_delim
19389 program_prefix!$program_prefix$ac_delim 19428 program_prefix!$program_prefix$ac_delim
19390 LIBOBJS!$LIBOBJS$ac_delim 19429 LIBOBJS!$LIBOBJS$ac_delim
19391 LTLIBOBJS!$LTLIBOBJS$ac_delim 19430 LTLIBOBJS!$LTLIBOBJS$ac_delim
19392 _ACEOF 19431 _ACEOF
19393 19432
19394 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 96; then 19433 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
19395 break 19434 break
19396 elif $ac_last_try; then 19435 elif $ac_last_try; then
19397 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 19436 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
19398 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 19437 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
19399 { (exit 1); exit 1; }; } 19438 { (exit 1); exit 1; }; }
19400 else 19439 else
19401 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 19440 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19402 fi 19441 fi
19403 done 19442 done
19404 19443
(...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after
20016 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 20055 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
20017 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" > &5 20056 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" > &5
20018 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} 20057 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
20019 { (exit 1); exit 1; }; } 20058 { (exit 1); exit 1; }; }
20020 fi 20059 fi
20021 20060
20022 cd "$ac_popdir" 20061 cd "$ac_popdir"
20023 done 20062 done
20024 fi 20063 fi
20025 20064
OLDNEW
« no previous file with comments | « autoconf/configure.ac ('k') | include/llvm/Config/SZTargets.def.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698