llvm.org GIT mirror llvm / d34c405
sync projects/sample's autohell. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182464 91177308-0d34-0410-b5e6-96231b3b80d8 Rafael Espindola 7 years ago
2 changed file(s) with 22 addition(s) and 13 deletion(s). Raw diff Collapse all Expand all
592592 TARGETS_TO_BUILD=""
593593 AC_ARG_ENABLE([targets],AS_HELP_STRING([--enable-targets],
594594 [Build specific host targets: all or target1,target2,... Valid targets are:
595 host, x86, x86_64, sparc, powerpc, arm, mips, spu, hexagon,
596 xcore, msp430, nvptx, systemz, and cpp (default=all)]),,
595 host, x86, x86_64, sparc, powerpc, arm, aarch64, mips, hexagon,
596 xcore, msp430, nvptx, systemz, r600, and cpp (default=all)]),,
597597 enableval=all)
598598 if test "$enableval" = host-only ; then
599599 enableval=host
600600 fi
601601 case "$enableval" in
602 all) TARGETS_TO_BUILD="X86 Sparc PowerPC ARM AArch64 Mips XCore MSP430 Hexagon CppBackend MBlaze NVPTX SystemZ" ;;
602 all) TARGETS_TO_BUILD="X86 Sparc PowerPC AArch64 ARM Mips XCore MSP430 CppBackend MBlaze NVPTX Hexagon SystemZ R600" ;;
603603 *)for a_target in `echo $enableval|sed -e 's/,/ /g' ` ; do
604604 case "$a_target" in
605605 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
606606 x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
607607 sparc) TARGETS_TO_BUILD="Sparc $TARGETS_TO_BUILD" ;;
608608 powerpc) TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;;
609 aarch64) TARGETS_TO_BUILD="AArch64 $TARGETS_TO_BUILD" ;;
609610 arm) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;;
610 aarch64) TARGETS_TO_BUILD="AArch64 $TARGETS_TO_BUILD" ;;
611611 mips) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
612 mipsel) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
613 mips64) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
614 mips64el) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
612615 xcore) TARGETS_TO_BUILD="XCore $TARGETS_TO_BUILD" ;;
613616 msp430) TARGETS_TO_BUILD="MSP430 $TARGETS_TO_BUILD" ;;
617 cpp) TARGETS_TO_BUILD="CppBackend $TARGETS_TO_BUILD" ;;
614618 hexagon) TARGETS_TO_BUILD="Hexagon $TARGETS_TO_BUILD" ;;
615 cpp) TARGETS_TO_BUILD="CppBackend $TARGETS_TO_BUILD" ;;
616619 mblaze) TARGETS_TO_BUILD="MBlaze $TARGETS_TO_BUILD" ;;
617620 nvptx) TARGETS_TO_BUILD="NVPTX $TARGETS_TO_BUILD" ;;
618621 systemz) TARGETS_TO_BUILD="SystemZ $TARGETS_TO_BUILD" ;;
622 r600) TARGETS_TO_BUILD="R600 $TARGETS_TO_BUILD" ;;
619623 host) case "$llvm_cv_target_arch" in
620624 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
621625 x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
622626 Sparc) TARGETS_TO_BUILD="Sparc $TARGETS_TO_BUILD" ;;
623627 PowerPC) TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;;
628 AArch64) TARGETS_TO_BUILD="AArch64 $TARGETS_TO_BUILD" ;;
624629 ARM) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;;
625 AArch64) TARGETS_TO_BUILD="AArch64 $TARGETS_TO_BUILD" ;;
626630 Mips) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
627631 MBlaze) TARGETS_TO_BUILD="MBlaze $TARGETS_TO_BUILD" ;;
628632 XCore) TARGETS_TO_BUILD="XCore $TARGETS_TO_BUILD" ;;
14041404 (default is YES)
14051405 --enable-targets Build specific host targets: all or
14061406 target1,target2,... Valid targets are: host, x86,
1407 x86_64, sparc, powerpc, arm, mips, spu, hexagon,
1408 xcore, msp430, nvptx, systemz, and cpp (default=all)
1407 x86_64, sparc, powerpc, arm, aarch64, mips, hexagon,
1408 xcore, msp430, nvptx, systemz, r600, and cpp
1409 (default=all)
14091410 --enable-bindings Build specific language bindings:
14101411 all,auto,none,{binding-name} (default=auto)
14111412 --enable-libffi Check for the presence of libffi (default is NO)
53025303 enableval=host
53035304 fi
53045305 case "$enableval" in
5305 all) TARGETS_TO_BUILD="X86 Sparc PowerPC ARM AArch64 Mips XCore MSP430 Hexagon CppBackend MBlaze NVPTX SystemZ" ;;
5306 all) TARGETS_TO_BUILD="X86 Sparc PowerPC AArch64 ARM Mips XCore MSP430 CppBackend MBlaze NVPTX Hexagon SystemZ R600" ;;
53065307 *)for a_target in `echo $enableval|sed -e 's/,/ /g' ` ; do
53075308 case "$a_target" in
53085309 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
53095310 x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
53105311 sparc) TARGETS_TO_BUILD="Sparc $TARGETS_TO_BUILD" ;;
53115312 powerpc) TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;;
5313 aarch64) TARGETS_TO_BUILD="AArch64 $TARGETS_TO_BUILD" ;;
53125314 arm) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;;
5313 aarch64) TARGETS_TO_BUILD="AArch64 $TARGETS_TO_BUILD" ;;
53145315 mips) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
5316 mipsel) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
5317 mips64) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
5318 mips64el) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
53155319 xcore) TARGETS_TO_BUILD="XCore $TARGETS_TO_BUILD" ;;
53165320 msp430) TARGETS_TO_BUILD="MSP430 $TARGETS_TO_BUILD" ;;
5321 cpp) TARGETS_TO_BUILD="CppBackend $TARGETS_TO_BUILD" ;;
53175322 hexagon) TARGETS_TO_BUILD="Hexagon $TARGETS_TO_BUILD" ;;
5318 cpp) TARGETS_TO_BUILD="CppBackend $TARGETS_TO_BUILD" ;;
53195323 mblaze) TARGETS_TO_BUILD="MBlaze $TARGETS_TO_BUILD" ;;
53205324 nvptx) TARGETS_TO_BUILD="NVPTX $TARGETS_TO_BUILD" ;;
53215325 systemz) TARGETS_TO_BUILD="SystemZ $TARGETS_TO_BUILD" ;;
5326 r600) TARGETS_TO_BUILD="R600 $TARGETS_TO_BUILD" ;;
53225327 host) case "$llvm_cv_target_arch" in
53235328 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
53245329 x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
53255330 Sparc) TARGETS_TO_BUILD="Sparc $TARGETS_TO_BUILD" ;;
53265331 PowerPC) TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;;
5332 AArch64) TARGETS_TO_BUILD="AArch64 $TARGETS_TO_BUILD" ;;
53275333 ARM) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;;
5328 AArch64) TARGETS_TO_BUILD="AArch64 $TARGETS_TO_BUILD" ;;
53295334 Mips) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
53305335 MBlaze) TARGETS_TO_BUILD="MBlaze $TARGETS_TO_BUILD" ;;
53315336 XCore) TARGETS_TO_BUILD="XCore $TARGETS_TO_BUILD" ;;
1035710362 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1035810363 lt_status=$lt_dlunknown
1035910364 cat > conftest.$ac_ext <
10360 #line 10361 "configure"
10365 #line 10366 "configure"
1036110366 #include "confdefs.h"
1036210367
1036310368 #if HAVE_DLFCN_H