mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
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
This commit is contained in:
parent
c3c661d4c1
commit
a93c8a89c1
@ -74,6 +74,7 @@ set(LLVM_EXAMPLES_BINARY_DIR ${LLVM_BINARY_DIR}/examples)
|
|||||||
set(LLVM_LIBDIR_SUFFIX "" CACHE STRING "Define suffix of library directory name (32/64)" )
|
set(LLVM_LIBDIR_SUFFIX "" CACHE STRING "Define suffix of library directory name (32/64)" )
|
||||||
|
|
||||||
set(LLVM_ALL_TARGETS
|
set(LLVM_ALL_TARGETS
|
||||||
|
AMDGPU
|
||||||
ARM
|
ARM
|
||||||
CellSPU
|
CellSPU
|
||||||
CppBackend
|
CppBackend
|
||||||
|
@ -652,13 +652,13 @@ TARGETS_TO_BUILD=""
|
|||||||
AC_ARG_ENABLE([targets],AS_HELP_STRING([--enable-targets],
|
AC_ARG_ENABLE([targets],AS_HELP_STRING([--enable-targets],
|
||||||
[Build specific host targets: all or target1,target2,... Valid targets are:
|
[Build specific host targets: all or target1,target2,... Valid targets are:
|
||||||
host, x86, x86_64, sparc, powerpc, arm, mips, spu, hexagon,
|
host, x86, x86_64, sparc, powerpc, arm, mips, spu, hexagon,
|
||||||
xcore, msp430, nvptx, and cpp (default=all)]),,
|
xcore, msp430, nvptx, r600, and cpp (default=all)]),,
|
||||||
enableval=all)
|
enableval=all)
|
||||||
if test "$enableval" = host-only ; then
|
if test "$enableval" = host-only ; then
|
||||||
enableval=host
|
enableval=host
|
||||||
fi
|
fi
|
||||||
case "$enableval" in
|
case "$enableval" in
|
||||||
all) TARGETS_TO_BUILD="X86 Sparc PowerPC ARM Mips CellSPU XCore MSP430 CppBackend MBlaze NVPTX Hexagon" ;;
|
all) TARGETS_TO_BUILD="X86 Sparc PowerPC ARM Mips CellSPU XCore MSP430 CppBackend MBlaze NVPTX Hexagon AMDGPU" ;;
|
||||||
*)for a_target in `echo $enableval|sed -e 's/,/ /g' ` ; do
|
*)for a_target in `echo $enableval|sed -e 's/,/ /g' ` ; do
|
||||||
case "$a_target" in
|
case "$a_target" in
|
||||||
x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
|
x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
|
||||||
@ -675,6 +675,7 @@ case "$enableval" in
|
|||||||
hexagon) TARGETS_TO_BUILD="Hexagon $TARGETS_TO_BUILD" ;;
|
hexagon) TARGETS_TO_BUILD="Hexagon $TARGETS_TO_BUILD" ;;
|
||||||
mblaze) TARGETS_TO_BUILD="MBlaze $TARGETS_TO_BUILD" ;;
|
mblaze) TARGETS_TO_BUILD="MBlaze $TARGETS_TO_BUILD" ;;
|
||||||
nvptx) TARGETS_TO_BUILD="NVPTX $TARGETS_TO_BUILD" ;;
|
nvptx) TARGETS_TO_BUILD="NVPTX $TARGETS_TO_BUILD" ;;
|
||||||
|
r600) TARGETS_TO_BUILD="AMDGPU $TARGETS_TO_BUILD" ;;
|
||||||
host) case "$llvm_cv_target_arch" in
|
host) case "$llvm_cv_target_arch" in
|
||||||
x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
|
x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
|
||||||
x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
|
x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
|
||||||
|
7
configure
vendored
7
configure
vendored
@ -1417,7 +1417,7 @@ Optional Features:
|
|||||||
--enable-targets Build specific host targets: all or
|
--enable-targets Build specific host targets: all or
|
||||||
target1,target2,... Valid targets are: host, x86,
|
target1,target2,... Valid targets are: host, x86,
|
||||||
x86_64, sparc, powerpc, arm, mips, spu, hexagon,
|
x86_64, sparc, powerpc, arm, mips, spu, hexagon,
|
||||||
xcore, msp430, nvptx, and cpp (default=all)
|
xcore, msp430, nvptx, r600, and cpp (default=all)
|
||||||
--enable-bindings Build specific language bindings:
|
--enable-bindings Build specific language bindings:
|
||||||
all,auto,none,{binding-name} (default=auto)
|
all,auto,none,{binding-name} (default=auto)
|
||||||
--enable-libffi Check for the presence of libffi (default is NO)
|
--enable-libffi Check for the presence of libffi (default is NO)
|
||||||
@ -5329,7 +5329,7 @@ if test "$enableval" = host-only ; then
|
|||||||
enableval=host
|
enableval=host
|
||||||
fi
|
fi
|
||||||
case "$enableval" in
|
case "$enableval" in
|
||||||
all) TARGETS_TO_BUILD="X86 Sparc PowerPC ARM Mips CellSPU XCore MSP430 CppBackend MBlaze NVPTX Hexagon" ;;
|
all) TARGETS_TO_BUILD="X86 Sparc PowerPC ARM Mips CellSPU XCore MSP430 CppBackend MBlaze NVPTX Hexagon AMDGPU" ;;
|
||||||
*)for a_target in `echo $enableval|sed -e 's/,/ /g' ` ; do
|
*)for a_target in `echo $enableval|sed -e 's/,/ /g' ` ; do
|
||||||
case "$a_target" in
|
case "$a_target" in
|
||||||
x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
|
x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
|
||||||
@ -5346,6 +5346,7 @@ case "$enableval" in
|
|||||||
hexagon) TARGETS_TO_BUILD="Hexagon $TARGETS_TO_BUILD" ;;
|
hexagon) TARGETS_TO_BUILD="Hexagon $TARGETS_TO_BUILD" ;;
|
||||||
mblaze) TARGETS_TO_BUILD="MBlaze $TARGETS_TO_BUILD" ;;
|
mblaze) TARGETS_TO_BUILD="MBlaze $TARGETS_TO_BUILD" ;;
|
||||||
nvptx) TARGETS_TO_BUILD="NVPTX $TARGETS_TO_BUILD" ;;
|
nvptx) TARGETS_TO_BUILD="NVPTX $TARGETS_TO_BUILD" ;;
|
||||||
|
r600) TARGETS_TO_BUILD="AMDGPU $TARGETS_TO_BUILD" ;;
|
||||||
host) case "$llvm_cv_target_arch" in
|
host) case "$llvm_cv_target_arch" in
|
||||||
x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
|
x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
|
||||||
x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
|
x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
|
||||||
@ -10210,7 +10211,7 @@ else
|
|||||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||||
lt_status=$lt_dlunknown
|
lt_status=$lt_dlunknown
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 10213 "configure"
|
#line 10214 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
#if HAVE_DLFCN_H
|
#if HAVE_DLFCN_H
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
;===------------------------------------------------------------------------===;
|
;===------------------------------------------------------------------------===;
|
||||||
|
|
||||||
[common]
|
[common]
|
||||||
subdirectories = ARM CellSPU CppBackend Hexagon MBlaze MSP430 NVPTX Mips PowerPC Sparc X86 XCore
|
subdirectories = AMDGPU ARM CellSPU CppBackend Hexagon MBlaze MSP430 NVPTX Mips PowerPC Sparc X86 XCore
|
||||||
|
|
||||||
; This is a special group whose required libraries are extended (by llvm-build)
|
; This is a special group whose required libraries are extended (by llvm-build)
|
||||||
; with the best execution engine (the native JIT, if available, or the
|
; with the best execution engine (the native JIT, if available, or the
|
||||||
|
@ -568,13 +568,13 @@ TARGETS_TO_BUILD=""
|
|||||||
AC_ARG_ENABLE([targets],AS_HELP_STRING([--enable-targets],
|
AC_ARG_ENABLE([targets],AS_HELP_STRING([--enable-targets],
|
||||||
[Build specific host targets: all or target1,target2,... Valid targets are:
|
[Build specific host targets: all or target1,target2,... Valid targets are:
|
||||||
host, x86, x86_64, sparc, powerpc, arm, mips, spu, hexagon,
|
host, x86, x86_64, sparc, powerpc, arm, mips, spu, hexagon,
|
||||||
xcore, msp430, nvptx, cbe, and cpp (default=all)]),,
|
xcore, msp430, nvptx, cbe, r600, and cpp (default=all)]),,
|
||||||
enableval=all)
|
enableval=all)
|
||||||
if test "$enableval" = host-only ; then
|
if test "$enableval" = host-only ; then
|
||||||
enableval=host
|
enableval=host
|
||||||
fi
|
fi
|
||||||
case "$enableval" in
|
case "$enableval" in
|
||||||
all) TARGETS_TO_BUILD="X86 Sparc PowerPC ARM Mips CellSPU XCore MSP430 Hexagon CppBackend MBlaze NVPTX" ;;
|
all) TARGETS_TO_BUILD="X86 Sparc PowerPC ARM Mips CellSPU XCore MSP430 Hexagon CppBackend MBlaze NVPTX AMDGPU" ;;
|
||||||
*)for a_target in `echo $enableval|sed -e 's/,/ /g' ` ; do
|
*)for a_target in `echo $enableval|sed -e 's/,/ /g' ` ; do
|
||||||
case "$a_target" in
|
case "$a_target" in
|
||||||
x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
|
x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
|
||||||
@ -590,6 +590,7 @@ case "$enableval" in
|
|||||||
cpp) TARGETS_TO_BUILD="CppBackend $TARGETS_TO_BUILD" ;;
|
cpp) TARGETS_TO_BUILD="CppBackend $TARGETS_TO_BUILD" ;;
|
||||||
mblaze) TARGETS_TO_BUILD="MBlaze $TARGETS_TO_BUILD" ;;
|
mblaze) TARGETS_TO_BUILD="MBlaze $TARGETS_TO_BUILD" ;;
|
||||||
nvptx) TARGETS_TO_BUILD="NVPTX $TARGETS_TO_BUILD" ;;
|
nvptx) TARGETS_TO_BUILD="NVPTX $TARGETS_TO_BUILD" ;;
|
||||||
|
r600) TARGETS_TO_BUILD="AMDGPU $TARGETS_TO_BUILD" ;;
|
||||||
host) case "$llvm_cv_target_arch" in
|
host) case "$llvm_cv_target_arch" in
|
||||||
x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
|
x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
|
||||||
x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
|
x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
|
||||||
|
8
projects/sample/configure
vendored
8
projects/sample/configure
vendored
@ -1402,7 +1402,8 @@ Optional Features:
|
|||||||
--enable-targets Build specific host targets: all or
|
--enable-targets Build specific host targets: all or
|
||||||
target1,target2,... Valid targets are: host, x86,
|
target1,target2,... Valid targets are: host, x86,
|
||||||
x86_64, sparc, powerpc, arm, mips, spu, hexagon,
|
x86_64, sparc, powerpc, arm, mips, spu, hexagon,
|
||||||
xcore, msp430, nvptx, cbe, and cpp (default=all)
|
xcore, msp430, nvptx, cbe, r600, and cpp
|
||||||
|
(default=all)
|
||||||
--enable-bindings Build specific language bindings:
|
--enable-bindings Build specific language bindings:
|
||||||
all,auto,none,{binding-name} (default=auto)
|
all,auto,none,{binding-name} (default=auto)
|
||||||
--enable-libffi Check for the presence of libffi (default is NO)
|
--enable-libffi Check for the presence of libffi (default is NO)
|
||||||
@ -5255,7 +5256,7 @@ if test "$enableval" = host-only ; then
|
|||||||
enableval=host
|
enableval=host
|
||||||
fi
|
fi
|
||||||
case "$enableval" in
|
case "$enableval" in
|
||||||
all) TARGETS_TO_BUILD="X86 Sparc PowerPC ARM Mips CellSPU XCore MSP430 Hexagon CppBackend MBlaze NVPTX" ;;
|
all) TARGETS_TO_BUILD="X86 Sparc PowerPC ARM Mips CellSPU XCore MSP430 Hexagon CppBackend MBlaze NVPTX AMDGPU" ;;
|
||||||
*)for a_target in `echo $enableval|sed -e 's/,/ /g' ` ; do
|
*)for a_target in `echo $enableval|sed -e 's/,/ /g' ` ; do
|
||||||
case "$a_target" in
|
case "$a_target" in
|
||||||
x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
|
x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
|
||||||
@ -5271,6 +5272,7 @@ case "$enableval" in
|
|||||||
cpp) TARGETS_TO_BUILD="CppBackend $TARGETS_TO_BUILD" ;;
|
cpp) TARGETS_TO_BUILD="CppBackend $TARGETS_TO_BUILD" ;;
|
||||||
mblaze) TARGETS_TO_BUILD="MBlaze $TARGETS_TO_BUILD" ;;
|
mblaze) TARGETS_TO_BUILD="MBlaze $TARGETS_TO_BUILD" ;;
|
||||||
nvptx) TARGETS_TO_BUILD="NVPTX $TARGETS_TO_BUILD" ;;
|
nvptx) TARGETS_TO_BUILD="NVPTX $TARGETS_TO_BUILD" ;;
|
||||||
|
r600) TARGETS_TO_BUILD="AMDGPU $TARGETS_TO_BUILD" ;;
|
||||||
host) case "$llvm_cv_target_arch" in
|
host) case "$llvm_cv_target_arch" in
|
||||||
x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
|
x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
|
||||||
x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
|
x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
|
||||||
@ -10308,7 +10310,7 @@ else
|
|||||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||||
lt_status=$lt_dlunknown
|
lt_status=$lt_dlunknown
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 10311 "configure"
|
#line 10312 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
#if HAVE_DLFCN_H
|
#if HAVE_DLFCN_H
|
||||||
|
Loading…
Reference in New Issue
Block a user