llvm.org GIT mirror llvm / 38cda13
Revert "Build script changes for R600/SI Codegen v6" This reverts commit e3013202259ed1e006c21817c63cf25d75982721. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160301 91177308-0d34-0410-b5e6-96231b3b80d8 Tom Stellard 8 years ago
6 changed file(s) with 11 addition(s) and 17 deletion(s). Raw diff Collapse all Expand all
7373 set(LLVM_LIBDIR_SUFFIX "" CACHE STRING "Define suffix of library directory name (32/64)" )
7474
7575 set(LLVM_ALL_TARGETS
76 AMDGPU
7776 ARM
7877 CellSPU
7978 CppBackend
651651 AC_ARG_ENABLE([targets],AS_HELP_STRING([--enable-targets],
652652 [Build specific host targets: all or target1,target2,... Valid targets are:
653653 host, x86, x86_64, sparc, powerpc, arm, mips, spu, hexagon,
654 xcore, msp430, nvptx, r600, and cpp (default=all)]),,
654 xcore, msp430, nvptx, and cpp (default=all)]),,
655655 enableval=all)
656656 if test "$enableval" = host-only ; then
657657 enableval=host
658658 fi
659659 case "$enableval" in
660 all) TARGETS_TO_BUILD="X86 Sparc PowerPC ARM Mips CellSPU XCore MSP430 CppBackend MBlaze NVPTX Hexagon AMDGPU" ;;
660 all) TARGETS_TO_BUILD="X86 Sparc PowerPC ARM Mips CellSPU XCore MSP430 CppBackend MBlaze NVPTX Hexagon" ;;
661661 *)for a_target in `echo $enableval|sed -e 's/,/ /g' ` ; do
662662 case "$a_target" in
663663 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
674674 hexagon) TARGETS_TO_BUILD="Hexagon $TARGETS_TO_BUILD" ;;
675675 mblaze) TARGETS_TO_BUILD="MBlaze $TARGETS_TO_BUILD" ;;
676676 nvptx) TARGETS_TO_BUILD="NVPTX $TARGETS_TO_BUILD" ;;
677 r600) TARGETS_TO_BUILD="AMDGPU $TARGETS_TO_BUILD" ;;
678677 host) case "$llvm_cv_target_arch" in
679678 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
680679 x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
14161416 --enable-targets Build specific host targets: all or
14171417 target1,target2,... Valid targets are: host, x86,
14181418 x86_64, sparc, powerpc, arm, mips, spu, hexagon,
1419 xcore, msp430, nvptx, r600, and cpp (default=all)
1419 xcore, msp430, nvptx, and cpp (default=all)
14201420 --enable-bindings Build specific language bindings:
14211421 all,auto,none,{binding-name} (default=auto)
14221422 --enable-libffi Check for the presence of libffi (default is NO)
53285328 enableval=host
53295329 fi
53305330 case "$enableval" in
5331 all) TARGETS_TO_BUILD="X86 Sparc PowerPC ARM Mips CellSPU XCore MSP430 CppBackend MBlaze NVPTX Hexagon AMDGPU" ;;
5331 all) TARGETS_TO_BUILD="X86 Sparc PowerPC ARM Mips CellSPU XCore MSP430 CppBackend MBlaze NVPTX Hexagon" ;;
53325332 *)for a_target in `echo $enableval|sed -e 's/,/ /g' ` ; do
53335333 case "$a_target" in
53345334 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
53455345 hexagon) TARGETS_TO_BUILD="Hexagon $TARGETS_TO_BUILD" ;;
53465346 mblaze) TARGETS_TO_BUILD="MBlaze $TARGETS_TO_BUILD" ;;
53475347 nvptx) TARGETS_TO_BUILD="NVPTX $TARGETS_TO_BUILD" ;;
5348 r600) TARGETS_TO_BUILD="AMDGPU $TARGETS_TO_BUILD" ;;
53495348 host) case "$llvm_cv_target_arch" in
53505349 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
53515350 x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
1021010209 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1021110210 lt_status=$lt_dlunknown
1021210211 cat > conftest.$ac_ext <
10213 #line 10214 "configure"
10212 #line 10213 "configure"
1021410213 #include "confdefs.h"
1021510214
1021610215 #if HAVE_DLFCN_H
1515 ;===------------------------------------------------------------------------===;
1616
1717 [common]
18 subdirectories = AMDGPU ARM CellSPU CppBackend Hexagon MBlaze MSP430 NVPTX Mips PowerPC Sparc X86 XCore
18 subdirectories = ARM CellSPU CppBackend Hexagon MBlaze MSP430 NVPTX Mips PowerPC Sparc X86 XCore
1919
2020 ; This is a special group whose required libraries are extended (by llvm-build)
2121 ; with the best execution engine (the native JIT, if available, or the
567567 AC_ARG_ENABLE([targets],AS_HELP_STRING([--enable-targets],
568568 [Build specific host targets: all or target1,target2,... Valid targets are:
569569 host, x86, x86_64, sparc, powerpc, arm, mips, spu, hexagon,
570 xcore, msp430, nvptx, cbe, r600, and cpp (default=all)]),,
570 xcore, msp430, nvptx, cbe, and cpp (default=all)]),,
571571 enableval=all)
572572 if test "$enableval" = host-only ; then
573573 enableval=host
574574 fi
575575 case "$enableval" in
576 all) TARGETS_TO_BUILD="X86 Sparc PowerPC ARM Mips CellSPU XCore MSP430 Hexagon CppBackend MBlaze NVPTX AMDGPU" ;;
576 all) TARGETS_TO_BUILD="X86 Sparc PowerPC ARM Mips CellSPU XCore MSP430 Hexagon CppBackend MBlaze NVPTX" ;;
577577 *)for a_target in `echo $enableval|sed -e 's/,/ /g' ` ; do
578578 case "$a_target" in
579579 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
589589 cpp) TARGETS_TO_BUILD="CppBackend $TARGETS_TO_BUILD" ;;
590590 mblaze) TARGETS_TO_BUILD="MBlaze $TARGETS_TO_BUILD" ;;
591591 nvptx) TARGETS_TO_BUILD="NVPTX $TARGETS_TO_BUILD" ;;
592 r600) TARGETS_TO_BUILD="AMDGPU $TARGETS_TO_BUILD" ;;
593592 host) case "$llvm_cv_target_arch" in
594593 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
595594 x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
14011401 --enable-targets Build specific host targets: all or
14021402 target1,target2,... Valid targets are: host, x86,
14031403 x86_64, sparc, powerpc, arm, mips, spu, hexagon,
1404 xcore, msp430, nvptx, cbe, r600, and cpp
1405 (default=all)
1404 xcore, msp430, nvptx, cbe, and cpp (default=all)
14061405 --enable-bindings Build specific language bindings:
14071406 all,auto,none,{binding-name} (default=auto)
14081407 --enable-libffi Check for the presence of libffi (default is NO)
52555254 enableval=host
52565255 fi
52575256 case "$enableval" in
5258 all) TARGETS_TO_BUILD="X86 Sparc PowerPC ARM Mips CellSPU XCore MSP430 Hexagon CppBackend MBlaze NVPTX AMDGPU" ;;
5257 all) TARGETS_TO_BUILD="X86 Sparc PowerPC ARM Mips CellSPU XCore MSP430 Hexagon CppBackend MBlaze NVPTX" ;;
52595258 *)for a_target in `echo $enableval|sed -e 's/,/ /g' ` ; do
52605259 case "$a_target" in
52615260 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
52715270 cpp) TARGETS_TO_BUILD="CppBackend $TARGETS_TO_BUILD" ;;
52725271 mblaze) TARGETS_TO_BUILD="MBlaze $TARGETS_TO_BUILD" ;;
52735272 nvptx) TARGETS_TO_BUILD="NVPTX $TARGETS_TO_BUILD" ;;
5274 r600) TARGETS_TO_BUILD="AMDGPU $TARGETS_TO_BUILD" ;;
52755273 host) case "$llvm_cv_target_arch" in
52765274 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
52775275 x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
1030910307 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1031010308 lt_status=$lt_dlunknown
1031110309 cat > conftest.$ac_ext <
10312 #line 10312 "configure"
10310 #line 10311 "configure"
1031310311 #include "confdefs.h"
1031410312
1031510313 #if HAVE_DLFCN_H