[llvm-commits] CVS: llvm-poolalloc/test/Makefile

Chris Lattner lattner at cs.uiuc.edu
Thu Apr 21 09:10:52 PDT 2005



Changes in directory llvm-poolalloc/test:

Makefile updated: 1.30 -> 1.31
---
Log message:

add an option to disable stable numbers


---
Diffs of the changes:  (+10 -3)

 Makefile |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)


Index: llvm-poolalloc/test/Makefile
diff -u llvm-poolalloc/test/Makefile:1.30 llvm-poolalloc/test/Makefile:1.31
--- llvm-poolalloc/test/Makefile:1.30	Sat Apr  2 13:53:52 2005
+++ llvm-poolalloc/test/Makefile	Thu Apr 21 11:10:39 2005
@@ -11,6 +11,13 @@
 LEVEL = ..
 include $(LEVEL)/Makefile.common
 
+ifndef NO_STABLE_NUMBERS
+STABLERUN := GET_STABLE_NUMBERS=1
+else
+STABLERUN :=
+endif
+
+
 LARGE_PROBLEM_SIZE_DIRS := \
    MultiSource/Benchmarks/llubenchmark \
    MultiSource/Benchmarks/FreeBench \
@@ -143,7 +150,7 @@
 test::
 	(cd $(LLVM_OBJ_ROOT)/projects/llvm-test/$(SUBDIR); \
                PROJECT_DIR=$(PROJ_OBJ_ROOT) $(MAKE) -j1 TEST=poolalloc \
-                   GET_STABLE_NUMBERS=1 report report.html)
+                   $(STABLERUN) report report.html)
 	@printf "\a"; sleep 1; printf "\a"; sleep 1; printf "\a"
 
 pacompiletime::
@@ -155,7 +162,7 @@
 ptrcomp::
 	(cd $(LLVM_OBJ_ROOT)/projects/llvm-test/$(SUBDIR); \
                PROJECT_DIR=$(PROJ_OBJ_ROOT) $(MAKE) -j1 TEST=ptrcomp \
-                   GET_STABLE_NUMBERS=1 report report.html)
+                   $(STABLERUN) report report.html)
 	@printf "\a"; sleep 1; printf "\a"; sleep 1; printf "\a"
 
 vtl::
@@ -173,7 +180,7 @@
 optzn::
 	(cd $(LLVM_OBJ_ROOT)/projects/llvm-test/$(SUBDIR); \
                PROJECT_DIR=$(PROJ_OBJ_ROOT) $(MAKE) -j1 TEST=optzn \
-                   GET_STABLE_NUMBERS=1 test report report.csv)
+                   $(STABLERUN) test report report.csv)
 	@printf "\a"; sleep 1; printf "\a"; sleep 1; printf "\a"
 
 p4perf::






More information about the llvm-commits mailing list