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

Sumant Kowshik kowshik at cs.uiuc.edu
Tue Aug 5 20:04:02 PDT 2003


Changes in directory llvm/test:

Makefile.tests updated: 1.71 -> 1.72

---
Log message:

Added POOLFLAGS option to run pool allocation

---
Diffs of the changes:

Index: llvm/test/Makefile.tests
diff -u llvm/test/Makefile.tests:1.71 llvm/test/Makefile.tests:1.72
--- llvm/test/Makefile.tests:1.71	Fri Jul 25 17:26:17 2003
+++ llvm/test/Makefile.tests	Tue Aug  5 20:03:28 2003
@@ -77,7 +77,16 @@
     TRACELIBS := -L$(LEVEL)/test/Libraries/Output -linstr.$(ARCH)
 endif
 
-LLCLIBS += -lm
+POOLFLAGS =
+DOPOOLALLOC =
+## If POOLALLOC is "yes", set the opt flag and the POOLLIBS varoab;e
+ifeq ($(POOLALLOC), yes)
+    POOLFLAGS += -poolalloc
+    DOPOOLALLOC = yes
+    POOLLIBS := -L$(LEVEL)/test/Libraries/Output
+endif
+
+LLCLIBS := $(LLCLIBS) -lm
 
 clean::
 	$(RM) -f a.out core





More information about the llvm-commits mailing list