llvm.org GIT mirror llvm / a93c8a8
Build script changes for R600/SI Codegen v6 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160272 91177308-0d34-0410-b5e6-96231b3b80d8 Tom Stellard 8 years ago
6 changed file(s) with 17 addition(s) and 11 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
7677 ARM
7778 CellSPU
7879 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, and cpp (default=all)]),,
654 xcore, msp430, nvptx, r600, 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" ;;
660 all) TARGETS_TO_BUILD="X86 Sparc PowerPC ARM Mips CellSPU XCore MSP430 CppBackend MBlaze NVPTX Hexagon AMDGPU" ;;
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" ;;
677678 host) case "$llvm_cv_target_arch" in
678679 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
679680 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, and cpp (default=all)
1419 xcore, msp430, nvptx, r600, 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" ;;
5331 all) TARGETS_TO_BUILD="X86 Sparc PowerPC ARM Mips CellSPU XCore MSP430 CppBackend MBlaze NVPTX Hexagon AMDGPU" ;;
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" ;;
53485349 host) case "$llvm_cv_target_arch" in
53495350 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
53505351 x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
1020910210 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1021010211 lt_status=$lt_dlunknown
1021110212 cat > conftest.$ac_ext <
10212 #line 10213 "configure"
10213 #line 10214 "configure"
1021310214 #include "confdefs.h"
1021410215
1021510216 #if HAVE_DLFCN_H
1515 ;===------------------------------------------------------------------------===;
1616
1717 [common]
18 subdirectories = ARM CellSPU CppBackend Hexagon MBlaze MSP430 NVPTX Mips PowerPC Sparc X86 XCore
18 subdirectories = AMDGPU 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, and cpp (default=all)]),,
570 xcore, msp430, nvptx, cbe, r600, 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" ;;
576 all) TARGETS_TO_BUILD="X86 Sparc PowerPC ARM Mips CellSPU XCore MSP430 Hexagon CppBackend MBlaze NVPTX AMDGPU" ;;
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" ;;
592593 host) case "$llvm_cv_target_arch" in
593594 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
594595 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, and cpp (default=all)
1404 xcore, msp430, nvptx, cbe, r600, and cpp
1405 (default=all)
14051406 --enable-bindings Build specific language bindings:
14061407 all,auto,none,{binding-name} (default=auto)
14071408 --enable-libffi Check for the presence of libffi (default is NO)
52545255 enableval=host
52555256 fi
52565257 case "$enableval" in
5257 all) TARGETS_TO_BUILD="X86 Sparc PowerPC ARM Mips CellSPU XCore MSP430 Hexagon CppBackend MBlaze NVPTX" ;;
5258 all) TARGETS_TO_BUILD="X86 Sparc PowerPC ARM Mips CellSPU XCore MSP430 Hexagon CppBackend MBlaze NVPTX AMDGPU" ;;
52585259 *)for a_target in `echo $enableval|sed -e 's/,/ /g' ` ; do
52595260 case "$a_target" in
52605261 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
52705271 cpp) TARGETS_TO_BUILD="CppBackend $TARGETS_TO_BUILD" ;;
52715272 mblaze) TARGETS_TO_BUILD="MBlaze $TARGETS_TO_BUILD" ;;
52725273 nvptx) TARGETS_TO_BUILD="NVPTX $TARGETS_TO_BUILD" ;;
5274 r600) TARGETS_TO_BUILD="AMDGPU $TARGETS_TO_BUILD" ;;
52735275 host) case "$llvm_cv_target_arch" in
52745276 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
52755277 x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
1030710309 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1030810310 lt_status=$lt_dlunknown
1030910311 cat > conftest.$ac_ext <
10310 #line 10311 "configure"
10312 #line 10312 "configure"
1031110313 #include "confdefs.h"
1031210314
1031310315 #if HAVE_DLFCN_H