[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/FreeBench/fourinarow/Makefile fourinarow.c

Reid Spencer reid at x10sys.com
Sat Jan 15 19:16:31 PST 2005



Changes in directory llvm-test/MultiSource/Benchmarks/FreeBench/fourinarow:

Makefile updated: 1.3 -> 1.4
fourinarow.c updated: 1.1 -> 1.2
---
Log message:

BUILD_* -> PROJ_* for consistency with LLVM Makefile System.


---
Diffs of the changes:  (+7 -4)

Index: llvm-test/MultiSource/Benchmarks/FreeBench/fourinarow/Makefile
diff -u llvm-test/MultiSource/Benchmarks/FreeBench/fourinarow/Makefile:1.3 llvm-test/MultiSource/Benchmarks/FreeBench/fourinarow/Makefile:1.4
--- llvm-test/MultiSource/Benchmarks/FreeBench/fourinarow/Makefile:1.3	Mon Nov 29 09:56:35 2004
+++ llvm-test/MultiSource/Benchmarks/FreeBench/fourinarow/Makefile	Sat Jan 15 21:16:10 2005
@@ -4,9 +4,9 @@
 CPPFLAGS = -DVERSION='"1.00"' -DCOMPDATE="\"today\"" -DCFLAGS='""' -DHOSTNAME="\"thishost\"" 
 #LDFLAGS  = -lm
 ifdef LARGE_PROBLEM_SIZE
-RUN_OPTIONS = $(BUILD_SRC_DIR)/ref.in
+RUN_OPTIONS = $(PROJ_SRC_DIR)/ref.in
 else
-RUN_OPTIONS = $(BUILD_SRC_DIR)/test.in
+RUN_OPTIONS = $(PROJ_SRC_DIR)/test.in
 endif
 include $(LEVEL)/MultiSource/Makefile.multisrc
 


Index: llvm-test/MultiSource/Benchmarks/FreeBench/fourinarow/fourinarow.c
diff -u llvm-test/MultiSource/Benchmarks/FreeBench/fourinarow/fourinarow.c:1.1 llvm-test/MultiSource/Benchmarks/FreeBench/fourinarow/fourinarow.c:1.2
--- llvm-test/MultiSource/Benchmarks/FreeBench/fourinarow/fourinarow.c:1.1	Sat Oct 11 16:18:47 2003
+++ llvm-test/MultiSource/Benchmarks/FreeBench/fourinarow/fourinarow.c	Sat Jan 15 21:16:10 2005
@@ -657,8 +657,11 @@
   
   in_fp=fopen(v[1],"r");
   if (!in_fp) {
-    printf("ERROR: Could not open indata file\n");
-    exit(1);
+    in_fp=fopen("test.in","r");
+    if (!in_fp) {
+      printf("ERROR: Could not open indata file\n");
+      exit(1);
+    }
   }
 
   fscanf(in_fp,"%d",&DEPTH);






More information about the llvm-commits mailing list