[llvm-commits] CVS: llvm/test/Programs/External/SPEC/CINT95/124.m88ksim/Makefile
Alkis Evlogimenos
alkis at cs.uiuc.edu
Tue Mar 9 04:40:01 PST 2004
Changes in directory llvm/test/Programs/External/SPEC/CINT95/124.m88ksim:
Makefile updated: 1.4 -> 1.5
---
Log message:
Fix benchmark. Now it should run properly on test, train and ref
inputs.
---
Diffs of the changes: (+8 -9)
Index: llvm/test/Programs/External/SPEC/CINT95/124.m88ksim/Makefile
diff -u llvm/test/Programs/External/SPEC/CINT95/124.m88ksim/Makefile:1.4 llvm/test/Programs/External/SPEC/CINT95/124.m88ksim/Makefile:1.5
--- llvm/test/Programs/External/SPEC/CINT95/124.m88ksim/Makefile:1.4 Sun Feb 29 19:30:43 2004
+++ llvm/test/Programs/External/SPEC/CINT95/124.m88ksim/Makefile Tue Mar 9 04:39:31 2004
@@ -2,18 +2,13 @@
RUN_OPTIONS = -c
ifeq ($(ENDIAN),big)
-EXTENSION := big
+STDIN_FILENAME := ctl.big
else
-EXTENSION := lit
+STDIN_FILENAME := ctl.lit
+CPPFLAGS += -DLEHOST
endif
-ifeq ($(RUN_TYPE),test)
-STDIN_FILENAME := ctl.$(EXTENSION)
-else
-STDIN_FILENAME := dcrand.$(EXTENSION)
-endif
-
-STDOUT_FILENAME := test.out
+STDOUT_FILENAME = $(RUN_TYPE).out
Source := addd.c \
adds.c \
@@ -113,3 +108,7 @@
updstat.c
include ../../Makefile.spec95
+
+$(REF_IN_DIR)/ctl.$(EXTENSION): $(REF_IN_DIR)/ctl.raw
+ $(SED) -e s/%endian%/$(EXTENSION)/ < $< > $@
+
More information about the llvm-commits
mailing list