Reconfigured the TOOLS variable so that it points to the current set of tools

built by the LLVM build.
Added a path for use with the TestRunner.sh script so that it can always find
the LLVM tools without having the user place them in his or her path.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6720 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
John Criswell 2003-06-16 19:16:32 +00:00
parent 890d5bd263
commit 246fcca318

View File

@ -30,11 +30,7 @@ endif
.PRECIOUS: Output/%.llvm.bc .PRECIOUS: Output/%.llvm.bc
.PRECIOUS: Output/%.llvm .PRECIOUS: Output/%.llvm
ifdef ENABLE_OPTIMIZED TOOLS = $(LLVMTOOLCURRENT)
TOOLS = $(BUILD_OBJ_ROOT)/tools/Release
else
TOOLS = $(BUILD_OBJ_ROOT)/tools/Debug
endif
# LLVM Tool Definitions... # LLVM Tool Definitions...
# #
@ -57,7 +53,7 @@ LCCFLAGS += -O2 -Wall
LCXXFLAGS += -O2 -Wall LCXXFLAGS += -O2 -Wall
LLCFLAGS = LLCFLAGS =
FAILURE = $(LEVEL)/test/Failure.sh FAILURE = $(LEVEL)/test/Failure.sh
TESTRUNR = $(LEVEL)/test/TestRunner.sh TESTRUNR = PATH=$(LLVMTOOLCURRENT) $(LEVEL)/test/TestRunner.sh
# Native Tool Definitions # Native Tool Definitions
NATGCC = $(CC) NATGCC = $(CC)