From c961a2923bb48c1bb2e2584c29c37c278f0f62eb Mon Sep 17 00:00:00 2001 From: Sumant Kowshik Date: Wed, 6 Aug 2003 01:03:28 +0000 Subject: Added POOLFLAGS option to run pool allocation git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7624 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Makefile.tests | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'test/Makefile.tests') diff --git a/test/Makefile.tests b/test/Makefile.tests index bb2bb88..1c08aec 100644 --- a/test/Makefile.tests +++ b/test/Makefile.tests @@ -77,7 +77,16 @@ ifeq ($(TRACEM), yes) 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 -- cgit v1.1