[llvm-commits] [test-suite] r62513 - in /test-suite/trunk/External/SPEC: CFP2006/447.dealII/Makefile CINT2000/253.perlbmk/Makefile

Evan Cheng evan.cheng at apple.com
Mon Jan 19 09:46:15 PST 2009


Author: evancheng
Date: Mon Jan 19 11:46:15 2009
New Revision: 62513

URL: http://llvm.org/viewvc/llvm-project?rev=62513&view=rev
Log:
Add SMALL_PROBLEM_SIZE change to a couple of spec makefiles.

Modified:
    test-suite/trunk/External/SPEC/CFP2006/447.dealII/Makefile
    test-suite/trunk/External/SPEC/CINT2000/253.perlbmk/Makefile

Modified: test-suite/trunk/External/SPEC/CFP2006/447.dealII/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/External/SPEC/CFP2006/447.dealII/Makefile?rev=62513&r1=62512&r2=62513&view=diff

==============================================================================
--- test-suite/trunk/External/SPEC/CFP2006/447.dealII/Makefile (original)
+++ test-suite/trunk/External/SPEC/CFP2006/447.dealII/Makefile Mon Jan 19 11:46:15 2009
@@ -13,6 +13,18 @@
         -DBOOST_DISABLE_THREADS   \
         -I$(SPEC_BENCH_DIR)/src/include
 
+ifndef RUN_TYPE
+ifdef SMALL_PROBLEM_SIZE
+RUN_TYPE=test
+else
+ifdef LARGE_PROBLEM_SIZE
+RUN_TYPE=ref
+else
+RUN_TYPE=train
+endif
+endif
+endif
+
 ifeq ($(RUN_TYPE),test)
   RUN_OPTIONS := 8
 else

Modified: test-suite/trunk/External/SPEC/CINT2000/253.perlbmk/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/External/SPEC/CINT2000/253.perlbmk/Makefile?rev=62513&r1=62512&r2=62513&view=diff

==============================================================================
--- test-suite/trunk/External/SPEC/CINT2000/253.perlbmk/Makefile (original)
+++ test-suite/trunk/External/SPEC/CINT2000/253.perlbmk/Makefile Mon Jan 19 11:46:15 2009
@@ -9,6 +9,7 @@
 CPPFLAGS += -DSPEC_CPU2000_LINUX_I386 -DSPEC_CPU2000_NEED_BOOL
 
 # Not sure why this is needed. 
+ifndef RUN_TYPE
 ifdef SMALL_PROBLEM_SIZE
 RUN_TYPE=test
 else
@@ -18,6 +19,7 @@
 RUN_TYPE=train
 endif
 endif
+endif
 
 ifeq ($(RUN_TYPE),test)
 RUN_OPTIONS     = test.pl





More information about the llvm-commits mailing list