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

Chris Lattner lattner at cs.uiuc.edu
Wed Dec 10 09:10:02 PST 2003


Changes in directory llvm/test/Programs:

Makefile.programs updated: 1.103 -> 1.104

---
Log message:

If a makefile defines its own run rules, it will have to define its own
bugpoint rules


---
Diffs of the changes:  (+24 -24)

Index: llvm/test/Programs/Makefile.programs
diff -u llvm/test/Programs/Makefile.programs:1.103 llvm/test/Programs/Makefile.programs:1.104
--- llvm/test/Programs/Makefile.programs:1.103	Mon Dec  1 01:26:38 2003
+++ llvm/test/Programs/Makefile.programs	Wed Dec 10 09:08:59 2003
@@ -222,30 +222,6 @@
 	sed 's/Pass Arguments: //' < $@.1 > $@
 
 
-# Specify stdin, reference output, and command line options for the program...
-BUGPOINT_OPTIONS += -input=$(STDIN_FILENAME) -output=Output/$*.out-nat
-BUGPOINT_OPTIONS += --args -- $(RUN_OPTIONS)
-
-
-# Rules to bugpoint the GCCAS or GCCLD command...
-$(PROGRAMS_TO_TEST:%=Output/%.bugpoint-gccas): \
-Output/%.bugpoint-gccas: Output/%.linked.rll $(LBUGPOINT) \
-                         Output/gccas-pass-args Output/%.out-nat
-	$(LBUGPOINT) $< `cat Output/gccas-pass-args` $(BUGPOINT_OPTIONS)
-
-$(PROGRAMS_TO_TEST:%=Output/%.bugpoint-gccld): \
-Output/%.bugpoint-gccld: Output/%.linked.bc $(LBUGPOINT) \
-                         Output/gccld-pass-args Output/%.out-nat
-	$(LBUGPOINT) $< `cat Output/gccld-pass-args` $(BUGPOINT_OPTIONS)
-
-$(PROGRAMS_TO_TEST:%=Output/%.bugpoint-llc): \
-Output/%.bugpoint-llc: Output/%.llvm.bc $(LBUGPOINT) Output/%.out-nat
-	$(LBUGPOINT) $< -run-llc $(BUGPOINT_OPTIONS)
-
-$(PROGRAMS_TO_TEST:%=Output/%.bugpoint-jit): \
-Output/%.bugpoint-jit: Output/%.llvm.bc $(LBUGPOINT) Output/%.out-nat
-	$(LBUGPOINT) $< -run-jit $(BUGPOINT_OPTIONS)
-
 #
 # Rules to compile the program for the C Back End
 #
@@ -317,6 +293,30 @@
 $(PROGRAMS_TO_TEST:%=Output/%.out-cbe): \
 Output/%.out-cbe: Output/%.cbe
 	-$(RUNSAFELY) $(STDIN_FILENAME) $@ $< $(RUN_OPTIONS)
+
+
+# Specify stdin, reference output, and command line options for the program...
+BUGPOINT_OPTIONS += -input=$(STDIN_FILENAME) -output=Output/$*.out-nat
+BUGPOINT_OPTIONS += --args -- $(RUN_OPTIONS)
+
+# Rules to bugpoint the GCCAS, GCCLD, LLC, or LLI commands...
+$(PROGRAMS_TO_TEST:%=Output/%.bugpoint-gccas): \
+Output/%.bugpoint-gccas: Output/%.linked.rll $(LBUGPOINT) \
+                         Output/gccas-pass-args Output/%.out-nat
+	$(LBUGPOINT) $< `cat Output/gccas-pass-args` $(BUGPOINT_OPTIONS)
+
+$(PROGRAMS_TO_TEST:%=Output/%.bugpoint-gccld): \
+Output/%.bugpoint-gccld: Output/%.linked.bc $(LBUGPOINT) \
+                         Output/gccld-pass-args Output/%.out-nat
+	$(LBUGPOINT) $< `cat Output/gccld-pass-args` $(BUGPOINT_OPTIONS)
+
+$(PROGRAMS_TO_TEST:%=Output/%.bugpoint-llc): \
+Output/%.bugpoint-llc: Output/%.llvm.bc $(LBUGPOINT) Output/%.out-nat
+	$(LBUGPOINT) $< -run-llc $(BUGPOINT_OPTIONS)
+
+$(PROGRAMS_TO_TEST:%=Output/%.bugpoint-jit): \
+Output/%.bugpoint-jit: Output/%.llvm.bc $(LBUGPOINT) Output/%.out-nat
+	$(LBUGPOINT) $< -run-jit $(BUGPOINT_OPTIONS)
 
 endif
 





More information about the llvm-commits mailing list