[llvm-commits] CVS: llvm/test/Programs/Makefile.programs
Chris Lattner
lattner at cs.uiuc.edu
Fri Jul 25 17:41:01 PDT 2003
Changes in directory llvm/test/Programs:
Makefile.programs updated: 1.77 -> 1.78
---
Log message:
Recover some lost testing performance by only running opt if OPTPASSES is not empty!
---
Diffs of the changes:
Index: llvm/test/Programs/Makefile.programs
diff -u llvm/test/Programs/Makefile.programs:1.77 llvm/test/Programs/Makefile.programs:1.78
--- llvm/test/Programs/Makefile.programs:1.77 Fri Jul 25 17:37:18 2003
+++ llvm/test/Programs/Makefile.programs Fri Jul 25 17:39:50 2003
@@ -230,15 +230,19 @@
$(PROGRAMS_TO_TEST:%=Output/%.llvm.bc): \
Output/%.llvm.bc: Output/%.linked.bc $(LGCCLDPROG)
$(LGCCLD) $(STATS) $< -lgcc -lc $(LIBS) crtend.o -o Output/$*.llvm
- $(LOPT) $(OPTPASSES) < $@ > $@.tmp
+ifneq ($(OPTPASSES),)
+ $(LOPT) -q $(OPTPASSES) < $@ > $@.tmp
$(MV) -f $@.tmp $@
+endif
$(PROGRAMS_TO_TEST:%=Output/%.llvm): \
Output/%.llvm: Output/%.linked.bc $(LGCCLDPROG)
$(LGCCLD) $(STATS) $< -lgcc -lc $(LIBS) crtend.o -o Output/$*.llvm
- $(LOPT) $(OPTPASSES) < $@ > $@.tmp
+ifneq ($(OPTPASSES),)
+ $(LOPT) -q $(OPTPASSES) < $@ > $@.tmp
$(MV) -f $@.tmp $@
endif
+endif # ifndef DISABLE_FOR_LLVM_PROGRAMS
# Targets to get the pass arguments that gccas and gccld are using...
Output/gccas-pass-args: $(LGCCAS)
More information about the llvm-commits
mailing list