summaryrefslogtreecommitdiff
path: root/test/Makefile.tests
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-05-09 04:19:58 +0000
committerChris Lattner <sabre@nondot.org>2003-05-09 04:19:58 +0000
commite0d8daadad8211133ae672b8dd7c445ad558a125 (patch)
treec3ce5f7f4537eaafaa0cae1b7c69bcc4a9e260fb /test/Makefile.tests
parent6d10765887a6efcefde476baa8359216bd5beda8 (diff)
downloadllvm-e0d8daadad8211133ae672b8dd7c445ad558a125.tar.gz
llvm-e0d8daadad8211133ae672b8dd7c445ad558a125.tar.bz2
llvm-e0d8daadad8211133ae672b8dd7c445ad558a125.tar.xz
Enable the new C front-end for targets which define LLVMGCCARCH
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6065 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Makefile.tests')
-rw-r--r--test/Makefile.tests15
1 files changed, 10 insertions, 5 deletions
diff --git a/test/Makefile.tests b/test/Makefile.tests
index d24b7870b2..6e2f5b9586 100644
--- a/test/Makefile.tests
+++ b/test/Makefile.tests
@@ -1,9 +1,7 @@
-##-----------------------------------------------------------*-Makefile-*-
+##----------------------------------------------------------*- Makefile -*-===##
## Common rules for generating, linking, and compiling via LLVM. This is
## used to implement a robust testing framework for LLVM
-##------------------------------------------------------------------------
-
-## NOTE: This is preliminary and will change in the future
+##-------------------------------------------------------------------------===##
# If the user specified a TEST= option on the command line, we do not want to do
# the default testing type. Instead, we change the default target to be the
@@ -40,13 +38,20 @@ endif
# LLVM Tool Definitions...
#
+ifdef LLVMGCCARCH # FIXME: Remove when new CFE is used on sparc as well!
+LCC = $(LLVMGCCDIR)/bin/gcc
+LCC1 = $(LLVMGCCDIR)/lib/gcc-lib/$(LLVMGCCARCH)/cc1
+LGCCLD = $(TOOLS)/gccld -L$(LLVMGCCDIR)/lib/gcc-lib/$(LLVMGCCARCH) -L$(LLVMGCCDIR)/lib
+else
LCC = $(LLVMGCCDIR)/bin/llvm-gcc
LCC1 = $(LLVMGCCDIR)/lib/gcc-lib/llvm/3.1/cc1
+LGCCLD = $(TOOLS)/gccld -L$(LLVMGCCDIR)/llvm/lib
+endif
+
LLI = $(TOOLS)/lli
LLC = $(TOOLS)/llc
LAS = $(TOOLS)/as
LGCCAS = $(TOOLS)/gccas
-LGCCLD = $(TOOLS)/gccld -L$(LLVMGCCDIR)/llvm/lib
LDIS = $(TOOLS)/dis
LOPT = $(TOOLS)/opt
LLINK = $(TOOLS)/link