[llvm-commits] CVS: llvm/test/Programs/Makefile.programs

Vikram Adve vadve at cs.uiuc.edu
Thu Jul 10 14:30:01 PDT 2003


Changes in directory llvm/test/Programs:

Makefile.programs updated: 1.66 -> 1.67

---
Log message:

Make bytecode target work with recursive makes (see Makefile.common).
Also, add an optional "remote" version of the llc command; this is
commented out for now for manual use, but will be made first-class later.


---
Diffs of the changes:

Index: llvm/test/Programs/Makefile.programs
diff -u llvm/test/Programs/Makefile.programs:1.66 llvm/test/Programs/Makefile.programs:1.67
--- llvm/test/Programs/Makefile.programs:1.66	Tue Jul  8 18:18:00 2003
+++ llvm/test/Programs/Makefile.programs	Thu Jul 10 14:29:01 2003
@@ -241,6 +241,10 @@
 Output/%.llc.s: Output/%.llvm.bc $(LLC)
 	-$(LLC) $(LLCFLAGS) -f $< -o $@
 
+## Alternative command to run llc remotely on another machine:
+## This is very useful when debugging:
+##	-rsh psmith "cd `/bin/pwd`; llc $(LLCFLAGS) -f $< -o $@"
+
 # Assemble (and link) an LLVM-linked program using the system assembler...
 #
 $(PROGRAMS_TO_TEST:%=Output/%.llc): \
@@ -328,6 +332,10 @@
 $(PROGRAMS_TO_TEST:%=Output/%.exe-cbe): \
 Output/%.exe-cbe: Output/%.diff-cbe
 	-cp $< $@
+
+# Pseudo target to build just the bytecode file.
+bytecode:: $(PROGRAMS_TO_TEST:%=Output/%.llvm.bc)
+
 endif
 
 # Rules to support the USE_PRECOMPILED_BYTECODE setting If set, submakefiles
@@ -358,10 +366,6 @@
 Output/%.LOC.txt: $(SRCDIR)/%.LOC.txt Output/.dir
 	cp $< $@
 endif
-
-# Pseudo target to build just the bytecode file.
-bytecode: $(PROGRAMS_TO_TEST:%=Output/%.llvm.bc)
-
 
 # Support for the TEST= option... when TEST= is specified on the command line,
 # the default target is the test target.  Here we dispatch to a specific set of





More information about the llvm-commits mailing list