[llvm-commits] CVS: llvm/test/Programs/External/SPEC/CINT95/147.vortex/Makefile

John Criswell criswell at cs.uiuc.edu
Fri Feb 13 16:46:01 PST 2004


Changes in directory llvm/test/Programs/External/SPEC/CINT95/147.vortex:

Makefile updated: 1.1 -> 1.2

---
Log message:

Corrected the 147.vortex Makefile.
The input file is now specified on the command line and is chosen by the
endian of the target.
The SPEC_CPU2000_LP64 is used only for Sparc, although this macro is
probably incorrect. :(



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

Index: llvm/test/Programs/External/SPEC/CINT95/147.vortex/Makefile
diff -u llvm/test/Programs/External/SPEC/CINT95/147.vortex/Makefile:1.1 llvm/test/Programs/External/SPEC/CINT95/147.vortex/Makefile:1.2
--- llvm/test/Programs/External/SPEC/CINT95/147.vortex/Makefile:1.1	Tue Feb 10 11:49:08 2004
+++ llvm/test/Programs/External/SPEC/CINT95/147.vortex/Makefile	Fri Feb 13 16:45:44 2004
@@ -1,18 +1,20 @@
 LEVEL = ../../../../../..
 
-STDIN_FILENAME  := vortex.in
-STDOUT_FILENAME := vortex.out
+include $(LEVEL)/Makefile.config
 
-include ../../Makefile.spec95
+STDOUT_FILENAME := vortex.out
+LDFLAGS += -lm
+LIBS    += -lm
 
 ifeq ($(ARCH),Sparc)
   ## SPEC portability note for vortex says to use this flag on 64-bit machines
   CPPFLAGS += -DSPEC_CPU2000_LP64
+endif
 
-  # If we're on sparc, use the Big Endian input file
-  RUN_OPTIONS     = bendian.raw
+ifeq ($(ENDIAN), big)
+  RUN_OPTIONS  = vortex.in.big
 else
-  # Use the Little Endian input file
-  RUN_OPTIONS     = lendian.raw
+  RUN_OPTIONS  = vortex.in.little
 endif
 
+include ../../Makefile.spec95





More information about the llvm-commits mailing list