aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Criswell <criswell@uiuc.edu>2004-02-13 22:45:44 +0000
committerJohn Criswell <criswell@uiuc.edu>2004-02-13 22:45:44 +0000
commite41c87eb8bb57d24fa93cd0bb1e2827792b1d24c (patch)
tree09f3c4fe23aac89d6f8f7975f0389473cb7b3612
parent0ed12d7f143e6c29ffa6dadbe81db7d261ec1958 (diff)
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. :( git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@11404 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--External/SPEC/CINT95/147.vortex/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/External/SPEC/CINT95/147.vortex/Makefile b/External/SPEC/CINT95/147.vortex/Makefile
index ca55598e..e4c0449b 100644
--- a/External/SPEC/CINT95/147.vortex/Makefile
+++ b/External/SPEC/CINT95/147.vortex/Makefile
@@ -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