mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-23 19:59:48 +00:00
Kill off LLVMGCC_MAJVERS make variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96907 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a2b40a95b2
commit
99d9863cce
7
Makefile
7
Makefile
@ -43,13 +43,6 @@ EXTRA_DIST := test unittests llvm.spec include win32 Xcode
|
||||
|
||||
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)
|
||||
DIRS := $(filter-out tools runtime docs, $(DIRS))
|
||||
OPTIONAL_DIRS :=
|
||||
|
@ -184,11 +184,7 @@ TARGETS_TO_BUILD=@TARGETS_TO_BUILD@
|
||||
LLVMGCCDIR := @LLVMGCCDIR@
|
||||
|
||||
# Determine the target for which LLVM should generate code.
|
||||
ifeq (@LLVMGCC_MAJVERS@,3)
|
||||
LLVMGCCARCH := @target@/3.4-llvm
|
||||
else
|
||||
LLVMGCCARCH := @target@/@LLVMGCC_VERSION@
|
||||
endif
|
||||
|
||||
# Determine the path where the library executables are
|
||||
LLVMGCCLIBEXEC := @LLVMGCCLIBEXEC@
|
||||
@ -199,7 +195,6 @@ LLVMGXX := @LLVMGXX@
|
||||
LLVMCC1 := @LLVMCC1@
|
||||
LLVMCC1PLUS := @LLVMCC1PLUS@
|
||||
LLVMGCC_VERSION := @LLVMGCC_VERSION@
|
||||
LLVMGCC_MAJVERS := @LLVMGCC_MAJVERS@
|
||||
LLVMGCC_LANGS := @LLVMGCC_LANGS@
|
||||
|
||||
# Path to directory where object files should be stored during a build.
|
||||
|
@ -532,13 +532,8 @@ endif
|
||||
ifndef LUPGRADE
|
||||
LUPGRADE := $(LLVMToolDir)/llvm-upgrade$(EXEEXT)
|
||||
endif
|
||||
ifeq ($(LLVMGCC_MAJVERS),3)
|
||||
LLVMGCCWITHPATH := PATH="$(LLVMToolDir):$(PATH)" $(LLVMGCC)
|
||||
LLVMGXXWITHPATH := PATH="$(LLVMToolDir):$(PATH)" $(LLVMGXX)
|
||||
else
|
||||
LLVMGCCWITHPATH := $(LLVMGCC)
|
||||
LLVMGXXWITHPATH := $(LLVMGXX)
|
||||
endif
|
||||
|
||||
#--------------------------------------------------------------------
|
||||
# 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/'`]
|
||||
llvmgccmajvers=[`echo $llvmgccversion | sed 's/^\([0-9]\).*/\1/'`]
|
||||
AC_SUBST(LLVMGCC_VERSION,$llvmgccversion)
|
||||
AC_SUBST(LLVMGCC_MAJVERS,$llvmgccmajvers)
|
||||
llvmgcclangs=[`"$LLVMGCC" -v --help 2>&1 | grep '^Configured with:' | sed 's/^.*--enable-languages=\([^ ]*\).*/\1/'`]
|
||||
AC_SUBST(LLVMGCC_LANGS,$llvmgcclangs)
|
||||
AC_MSG_RESULT([ok])
|
||||
|
8
configure
vendored
8
configure
vendored
@ -766,7 +766,6 @@ LLVMCC1PLUS
|
||||
LLVMGCCDIR
|
||||
LLVMGCCLIBEXEC
|
||||
LLVMGCC_VERSION
|
||||
LLVMGCC_MAJVERS
|
||||
LLVMGCC_LANGS
|
||||
SHLIBEXT
|
||||
LLVM_PREFIX
|
||||
@ -11035,7 +11034,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 11038 "configure"
|
||||
#line 11037 "configure"
|
||||
#include "confdefs.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/'`
|
||||
LLVMGCC_VERSION=$llvmgccversion
|
||||
|
||||
LLVMGCC_MAJVERS=$llvmgccmajvers
|
||||
|
||||
llvmgcclangs=`"$LLVMGCC" -v --help 2>&1 | grep '^Configured with:' | sed 's/^.*--enable-languages=\([^ ]*\).*/\1/'`
|
||||
LLVMGCC_LANGS=$llvmgcclangs
|
||||
|
||||
@ -20770,7 +20767,6 @@ LLVMCC1PLUS!$LLVMCC1PLUS$ac_delim
|
||||
LLVMGCCDIR!$LLVMGCCDIR$ac_delim
|
||||
LLVMGCCLIBEXEC!$LLVMGCCLIBEXEC$ac_delim
|
||||
LLVMGCC_VERSION!$LLVMGCC_VERSION$ac_delim
|
||||
LLVMGCC_MAJVERS!$LLVMGCC_MAJVERS$ac_delim
|
||||
LLVMGCC_LANGS!$LLVMGCC_LANGS$ac_delim
|
||||
SHLIBEXT!$SHLIBEXT$ac_delim
|
||||
LLVM_PREFIX!$LLVM_PREFIX$ac_delim
|
||||
@ -20793,7 +20789,7 @@ LIBOBJS!$LIBOBJS$ac_delim
|
||||
LTLIBOBJS!$LTLIBOBJS$ac_delim
|
||||
_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
|
||||
elif $ac_last_try; then
|
||||
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
||||
|
@ -19,7 +19,6 @@ execute_process(COMMAND date
|
||||
#set(LLVMGCC "")
|
||||
#set(LLVMGXX "")
|
||||
#set(LLVMGCC_VERSION "")
|
||||
#set(LLVMGCC_MAJVERS "")
|
||||
test_big_endian(IS_BIG_ENDIAN)
|
||||
if( IS_BIG_ENDIAN )
|
||||
set(ENDIAN "big")
|
||||
|
Loading…
Reference in New Issue
Block a user