mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
Kill off LLVMGCC_MAJVERS make variable.
llvm-svn: 96907
This commit is contained in:
parent
cb977c7241
commit
9774a591a4
7
Makefile
7
Makefile
@ -43,13 +43,6 @@ EXTRA_DIST := test unittests llvm.spec include win32 Xcode
|
|||||||
|
|
||||||
include $(LEVEL)/Makefile.config
|
include $(LEVEL)/Makefile.config
|
||||||
|
|
||||||
# llvm-gcc4 doesn't need runtime libs. llvm-gcc4 is the only supported one.
|
|
||||||
# FIXME: Remove runtime entirely once we have an understanding of where
|
|
||||||
# libprofile etc should go.
|
|
||||||
#ifeq ($(LLVMGCC_MAJVERS),4)
|
|
||||||
# DIRS := $(filter-out runtime, $(DIRS))
|
|
||||||
#endif
|
|
||||||
|
|
||||||
ifeq ($(MAKECMDGOALS),libs-only)
|
ifeq ($(MAKECMDGOALS),libs-only)
|
||||||
DIRS := $(filter-out tools runtime docs, $(DIRS))
|
DIRS := $(filter-out tools runtime docs, $(DIRS))
|
||||||
OPTIONAL_DIRS :=
|
OPTIONAL_DIRS :=
|
||||||
|
@ -184,11 +184,7 @@ TARGETS_TO_BUILD=@TARGETS_TO_BUILD@
|
|||||||
LLVMGCCDIR := @LLVMGCCDIR@
|
LLVMGCCDIR := @LLVMGCCDIR@
|
||||||
|
|
||||||
# Determine the target for which LLVM should generate code.
|
# Determine the target for which LLVM should generate code.
|
||||||
ifeq (@LLVMGCC_MAJVERS@,3)
|
|
||||||
LLVMGCCARCH := @target@/3.4-llvm
|
|
||||||
else
|
|
||||||
LLVMGCCARCH := @target@/@LLVMGCC_VERSION@
|
LLVMGCCARCH := @target@/@LLVMGCC_VERSION@
|
||||||
endif
|
|
||||||
|
|
||||||
# Determine the path where the library executables are
|
# Determine the path where the library executables are
|
||||||
LLVMGCCLIBEXEC := @LLVMGCCLIBEXEC@
|
LLVMGCCLIBEXEC := @LLVMGCCLIBEXEC@
|
||||||
@ -199,7 +195,6 @@ LLVMGXX := @LLVMGXX@
|
|||||||
LLVMCC1 := @LLVMCC1@
|
LLVMCC1 := @LLVMCC1@
|
||||||
LLVMCC1PLUS := @LLVMCC1PLUS@
|
LLVMCC1PLUS := @LLVMCC1PLUS@
|
||||||
LLVMGCC_VERSION := @LLVMGCC_VERSION@
|
LLVMGCC_VERSION := @LLVMGCC_VERSION@
|
||||||
LLVMGCC_MAJVERS := @LLVMGCC_MAJVERS@
|
|
||||||
LLVMGCC_LANGS := @LLVMGCC_LANGS@
|
LLVMGCC_LANGS := @LLVMGCC_LANGS@
|
||||||
|
|
||||||
# Path to directory where object files should be stored during a build.
|
# Path to directory where object files should be stored during a build.
|
||||||
|
@ -532,13 +532,8 @@ endif
|
|||||||
ifndef LUPGRADE
|
ifndef LUPGRADE
|
||||||
LUPGRADE := $(LLVMToolDir)/llvm-upgrade$(EXEEXT)
|
LUPGRADE := $(LLVMToolDir)/llvm-upgrade$(EXEEXT)
|
||||||
endif
|
endif
|
||||||
ifeq ($(LLVMGCC_MAJVERS),3)
|
|
||||||
LLVMGCCWITHPATH := PATH="$(LLVMToolDir):$(PATH)" $(LLVMGCC)
|
|
||||||
LLVMGXXWITHPATH := PATH="$(LLVMToolDir):$(PATH)" $(LLVMGXX)
|
|
||||||
else
|
|
||||||
LLVMGCCWITHPATH := $(LLVMGCC)
|
LLVMGCCWITHPATH := $(LLVMGCC)
|
||||||
LLVMGXXWITHPATH := $(LLVMGXX)
|
LLVMGXXWITHPATH := $(LLVMGXX)
|
||||||
endif
|
|
||||||
|
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
# Adjust to user's request
|
# Adjust to user's request
|
||||||
|
@ -1255,7 +1255,6 @@ if test "$llvm_cv_llvmgcc_sanity" = "yes" ; then
|
|||||||
llvmgccversion=[`"$LLVMGCC" -dumpversion 2>&1 | sed 's/^\([0-9.]*\).*/\1/'`]
|
llvmgccversion=[`"$LLVMGCC" -dumpversion 2>&1 | sed 's/^\([0-9.]*\).*/\1/'`]
|
||||||
llvmgccmajvers=[`echo $llvmgccversion | sed 's/^\([0-9]\).*/\1/'`]
|
llvmgccmajvers=[`echo $llvmgccversion | sed 's/^\([0-9]\).*/\1/'`]
|
||||||
AC_SUBST(LLVMGCC_VERSION,$llvmgccversion)
|
AC_SUBST(LLVMGCC_VERSION,$llvmgccversion)
|
||||||
AC_SUBST(LLVMGCC_MAJVERS,$llvmgccmajvers)
|
|
||||||
llvmgcclangs=[`"$LLVMGCC" -v --help 2>&1 | grep '^Configured with:' | sed 's/^.*--enable-languages=\([^ ]*\).*/\1/'`]
|
llvmgcclangs=[`"$LLVMGCC" -v --help 2>&1 | grep '^Configured with:' | sed 's/^.*--enable-languages=\([^ ]*\).*/\1/'`]
|
||||||
AC_SUBST(LLVMGCC_LANGS,$llvmgcclangs)
|
AC_SUBST(LLVMGCC_LANGS,$llvmgcclangs)
|
||||||
AC_MSG_RESULT([ok])
|
AC_MSG_RESULT([ok])
|
||||||
|
8
configure
vendored
8
configure
vendored
@ -766,7 +766,6 @@ LLVMCC1PLUS
|
|||||||
LLVMGCCDIR
|
LLVMGCCDIR
|
||||||
LLVMGCCLIBEXEC
|
LLVMGCCLIBEXEC
|
||||||
LLVMGCC_VERSION
|
LLVMGCC_VERSION
|
||||||
LLVMGCC_MAJVERS
|
|
||||||
LLVMGCC_LANGS
|
LLVMGCC_LANGS
|
||||||
SHLIBEXT
|
SHLIBEXT
|
||||||
LLVM_PREFIX
|
LLVM_PREFIX
|
||||||
@ -11035,7 +11034,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 11038 "configure"
|
#line 11037 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
#if HAVE_DLFCN_H
|
#if HAVE_DLFCN_H
|
||||||
@ -19583,8 +19582,6 @@ echo $ECHO_N "checking llvm-gcc component support... $ECHO_C" >&6; }
|
|||||||
llvmgccmajvers=`echo $llvmgccversion | sed 's/^\([0-9]\).*/\1/'`
|
llvmgccmajvers=`echo $llvmgccversion | sed 's/^\([0-9]\).*/\1/'`
|
||||||
LLVMGCC_VERSION=$llvmgccversion
|
LLVMGCC_VERSION=$llvmgccversion
|
||||||
|
|
||||||
LLVMGCC_MAJVERS=$llvmgccmajvers
|
|
||||||
|
|
||||||
llvmgcclangs=`"$LLVMGCC" -v --help 2>&1 | grep '^Configured with:' | sed 's/^.*--enable-languages=\([^ ]*\).*/\1/'`
|
llvmgcclangs=`"$LLVMGCC" -v --help 2>&1 | grep '^Configured with:' | sed 's/^.*--enable-languages=\([^ ]*\).*/\1/'`
|
||||||
LLVMGCC_LANGS=$llvmgcclangs
|
LLVMGCC_LANGS=$llvmgcclangs
|
||||||
|
|
||||||
@ -20770,7 +20767,6 @@ LLVMCC1PLUS!$LLVMCC1PLUS$ac_delim
|
|||||||
LLVMGCCDIR!$LLVMGCCDIR$ac_delim
|
LLVMGCCDIR!$LLVMGCCDIR$ac_delim
|
||||||
LLVMGCCLIBEXEC!$LLVMGCCLIBEXEC$ac_delim
|
LLVMGCCLIBEXEC!$LLVMGCCLIBEXEC$ac_delim
|
||||||
LLVMGCC_VERSION!$LLVMGCC_VERSION$ac_delim
|
LLVMGCC_VERSION!$LLVMGCC_VERSION$ac_delim
|
||||||
LLVMGCC_MAJVERS!$LLVMGCC_MAJVERS$ac_delim
|
|
||||||
LLVMGCC_LANGS!$LLVMGCC_LANGS$ac_delim
|
LLVMGCC_LANGS!$LLVMGCC_LANGS$ac_delim
|
||||||
SHLIBEXT!$SHLIBEXT$ac_delim
|
SHLIBEXT!$SHLIBEXT$ac_delim
|
||||||
LLVM_PREFIX!$LLVM_PREFIX$ac_delim
|
LLVM_PREFIX!$LLVM_PREFIX$ac_delim
|
||||||
@ -20793,7 +20789,7 @@ LIBOBJS!$LIBOBJS$ac_delim
|
|||||||
LTLIBOBJS!$LTLIBOBJS$ac_delim
|
LTLIBOBJS!$LTLIBOBJS$ac_delim
|
||||||
_ACEOF
|
_ACEOF
|
||||||
|
|
||||||
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 88; then
|
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 87; then
|
||||||
break
|
break
|
||||||
elif $ac_last_try; then
|
elif $ac_last_try; then
|
||||||
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
||||||
|
@ -19,7 +19,6 @@ execute_process(COMMAND date
|
|||||||
#set(LLVMGCC "")
|
#set(LLVMGCC "")
|
||||||
#set(LLVMGXX "")
|
#set(LLVMGXX "")
|
||||||
#set(LLVMGCC_VERSION "")
|
#set(LLVMGCC_VERSION "")
|
||||||
#set(LLVMGCC_MAJVERS "")
|
|
||||||
test_big_endian(IS_BIG_ENDIAN)
|
test_big_endian(IS_BIG_ENDIAN)
|
||||||
if( IS_BIG_ENDIAN )
|
if( IS_BIG_ENDIAN )
|
||||||
set(ENDIAN "big")
|
set(ENDIAN "big")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user