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

Chris Lattner lattner at cs.uiuc.edu
Mon Sep 30 14:25:01 PDT 2002


Changes in directory llvm/test/Programs/MultiSource:

Makefile.multisrc updated: 1.15 -> 1.16

---
Log message:


Allow production of -stats output for benchmarks by specifying 
ENABLE_STATS=1 on the make command line.


---
Diffs of the changes:

Index: llvm/test/Programs/MultiSource/Makefile.multisrc
diff -u llvm/test/Programs/MultiSource/Makefile.multisrc:1.15 llvm/test/Programs/MultiSource/Makefile.multisrc:1.16
--- llvm/test/Programs/MultiSource/Makefile.multisrc:1.15	Fri Sep 13 08:50:48 2002
+++ llvm/test/Programs/MultiSource/Makefile.multisrc	Mon Sep 30 14:23:40 2002
@@ -53,12 +53,12 @@
 	$(LDIS) -f $< -o $@
 
 Output/%.linked.bc: Output/%.linked.rll $(LGCCAS)
-	$(LGCCAS) $< -o $@
+	$(LGCCAS) $(STATS) $< -o $@
 
 # Link the program to the libraries it uses, then perform postlink
 # optimization...
 Output/%.llvm Output/%.llvm.bc: Output/%.linked.bc
-	$(LGCCLD) $< -lgcc -lc $(LIBS) -o $(<:.linked.bc=.llvm)
+	$(LGCCLD) $(STATS) $< -lgcc -lc $(LIBS) -o $(<:.linked.bc=.llvm)
 
 Output/%.native: $(NObjects)
 	$(CC) -o $@ $(NObjects) $(LDFLAGS) $(CFLAGS)





More information about the llvm-commits mailing list