[llvm-commits] CVS: llvm-test/External/SPEC/CINT2006/400.perlbench/Makefile

Bill Wendling isanbard at gmail.com
Fri Sep 1 18:29:42 PDT 2006



Changes in directory llvm-test/External/SPEC/CINT2006/400.perlbench:

Makefile updated: 1.1 -> 1.2
---
Log message:

Added RUN_OPTIONS, STD{OUT,IN}_FILENAME flags. Removed redundant "Source"
line


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

 Makefile |   21 +++++++++++----------
 1 files changed, 11 insertions(+), 10 deletions(-)


Index: llvm-test/External/SPEC/CINT2006/400.perlbench/Makefile
diff -u llvm-test/External/SPEC/CINT2006/400.perlbench/Makefile:1.1 llvm-test/External/SPEC/CINT2006/400.perlbench/Makefile:1.2
--- llvm-test/External/SPEC/CINT2006/400.perlbench/Makefile:1.1	Fri Sep  1 18:29:51 2006
+++ llvm-test/External/SPEC/CINT2006/400.perlbench/Makefile	Fri Sep  1 20:29:28 2006
@@ -7,14 +7,6 @@
 
 LEVEL = ../../../..
 
-Source = $(addprefix $(SPEC_BENCH_DIR)/src/, \
-     av.c deb.c doio.c doop.c dump.c globals.c gv.c hv.c locale.c mg.c        \
-     numeric.c op.c pad.c perl.c perlapi.c perlio.c perlmain.c perly.c pp.c   \
-     pp_ctl.c pp_hot.c pp_pack.c pp_sort.c pp_sys.c regcomp.c regexec.c run.c \
-     scope.c sv.c taint.c toke.c universal.c utf8.c util.c xsutils.c Base64.c \
-     Cwd.c Dumper.c HiRes.c IO.c Peek.c attrs.c poll.c stdio.c DynaLoader.c   \
-     MD5.c Storable.c Parser.c specrand.c Hostname.c Opcode.c)
-
 include ../../Makefile.spec2006
 
 CPPFLAGS += -DPERL_CORE
@@ -29,8 +21,17 @@
 endif
 endif
 
+ifeq ($(ENDIAN),little)
+  CPPFLAGS += -D__LITTLE_ENDIAN__
+else
+  CPPFLAGS += -D__BIG_ENDIAN__
+endif
+
 ifeq ($(RUN_TYPE),test)
-  RUN_OPTIONS = xxx
+  RUN_OPTIONS      = test.pl
+  STDOUT_FILENAME := test.out
 else
-  RUN_OPTIONS = xxx
+  RUN_OPTIONS      = scrabbl.pl
+  STDIN_FILENAME  := scrabbl.in
+  STDOUT_FILENAME := scrabbl.out
 endif






More information about the llvm-commits mailing list