[llvm-commits] CVS: llvm/test/Makefile.tests

Chris Lattner lattner at cs.uiuc.edu
Thu May 8 23:21:01 PDT 2003


Changes in directory llvm/test:

Makefile.tests updated: 1.53 -> 1.54

---
Log message:

Enable the new C front-end for targets which define LLVMGCCARCH


---
Diffs of the changes:

Index: llvm/test/Makefile.tests
diff -u llvm/test/Makefile.tests:1.53 llvm/test/Makefile.tests:1.54
--- llvm/test/Makefile.tests:1.53	Tue Jan 21 15:31:29 2003
+++ llvm/test/Makefile.tests	Thu May  8 23:19:58 2003
@@ -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 @@
 
 # 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





More information about the llvm-commits mailing list