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
.PRECIOUS: Output/%.llvm.bc
.PRECIOUS: Output/%.llvm
.PRECIOUS: Output/%.llvm.bc
.PRECIOUS: Output/%.llvm
-ifdef ENABLE_OPTIMIZED
-TOOLS = $(BUILD_OBJ_ROOT)/tools/Release
-else
-TOOLS = $(BUILD_OBJ_ROOT)/tools/Debug
-endif
+TOOLS = $(LLVMTOOLCURRENT)
# LLVM Tool Definitions...
#
# LLVM Tool Definitions...
#
LCXXFLAGS += -O2 -Wall
LLCFLAGS =
FAILURE = $(LEVEL)/test/Failure.sh
LCXXFLAGS += -O2 -Wall
LLCFLAGS =
FAILURE = $(LEVEL)/test/Failure.sh
-TESTRUNR = $(LEVEL)/test/TestRunner.sh
+TESTRUNR = PATH=$(LLVMTOOLCURRENT) $(LEVEL)/test/TestRunner.sh
# Native Tool Definitions
NATGCC = $(CC)
# Native Tool Definitions
NATGCC = $(CC)