[llvm-commits] CVS: llvm/test/Makefile.tests

Chris Lattner lattner at cs.uiuc.edu
Fri Nov 8 18:51:00 PST 2002


Changes in directory llvm/test:

Makefile.tests updated: 1.48 -> 1.49

---
Log message:

Allow tests to be run with release tools when ENABLE_OPTIMIZED=1


---
Diffs of the changes:

Index: llvm/test/Makefile.tests
diff -u llvm/test/Makefile.tests:1.48 llvm/test/Makefile.tests:1.49
--- llvm/test/Makefile.tests:1.48	Fri Nov  1 19:41:07 2002
+++ llvm/test/Makefile.tests	Fri Nov  8 18:50:02 2002
@@ -24,11 +24,16 @@
 .PRECIOUS: Output/%.llvm.bc
 .PRECIOUS: Output/%.llvm
 
+ifdef ENABLE_OPTIMIZED
+TOOLS    = $(BUILD_ROOT_TOP)/tools/Release
+else
+TOOLS    = $(BUILD_ROOT_TOP)/tools/Debug
+endif
+
 # LLVM Tool Definitions...
 #
 LCC      = $(LLVMGCCDIR)/bin/llvm-gcc
 LCC1     = $(LLVMGCCDIR)/lib/gcc-lib/llvm/3.1/cc1
-TOOLS    = $(BUILD_ROOT_TOP)/tools/Debug
 LLI      = $(TOOLS)/lli
 LLC      = $(TOOLS)/llc
 LAS      = $(TOOLS)/as
@@ -62,7 +67,7 @@
     LLCLIBS := -L$(LEVEL)/test/Libraries/Output -linstr64
 else
     ifeq ($(TRACEM), yes)
-        LLCFLAGS += -trace function
+	LLCFLAGS += -trace function
 	LLCLIBS := -L$(LEVEL)/test/Libraries/Output -linstr64
     endif
 endif





More information about the llvm-commits mailing list