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

Devang Patel dpatel at apple.com
Thu Feb 1 15:46:38 PST 2007



Changes in directory llvm-test:

Makefile.programs updated: 1.250 -> 1.251
TEST.nightly.Makefile updated: 1.43 -> 1.44
---
Log message:

Provide hook to add gccas switch (e.g. -inline-threshold=xyz).


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

 Makefile.programs     |    4 ++--
 TEST.nightly.Makefile |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)


Index: llvm-test/Makefile.programs
diff -u llvm-test/Makefile.programs:1.250 llvm-test/Makefile.programs:1.251
--- llvm-test/Makefile.programs:1.250	Tue Jan 16 14:25:51 2007
+++ llvm-test/Makefile.programs	Thu Feb  1 17:46:22 2007
@@ -237,7 +237,7 @@
 # raw output from the C frontend, optimize it.
 $(PROGRAMS_TO_TEST:%=Output/%.linked.bc): \
 Output/%.linked.bc: Output/%.linked.rll $(LGCCAS)
-	-$(LGCCAS) $(STATS) $< -o $@
+	-$(LGCCAS) $(STATS) $(EXTRA_GCCAS_OPTIONS) $< -o $@
 
 $(PROGRAMS_TO_TEST:%=Output/%.llvm.stripped.bc): \
 Output/%.llvm.stripped.bc: Output/%.llvm.bc $(LOPT)
@@ -286,7 +286,7 @@
 
 # Targets to get the pass arguments that gccas and gccld are using...
 Output/gccas-pass-args: $(LGCCAS) Output/.dir
-	-$(LGCCAS) /dev/null -o /dev/null -debug-pass=Arguments > $@.1 2>&1
+	-$(LGCCAS) $(EXTRA_GCCAS_OPTIONS) /dev/null -o /dev/null -debug-pass=Arguments > $@.1 2>&1
 	sed 's/Pass Arguments: //' < $@.1 | sed 's/-emitbytecode//' > $@
 Output/gccld-pass-args: $(LGCCLDPROG) Output/.dir
 	$(LLVMAS) < /dev/null > Output/gccld.test.bc


Index: llvm-test/TEST.nightly.Makefile
diff -u llvm-test/TEST.nightly.Makefile:1.43 llvm-test/TEST.nightly.Makefile:1.44
--- llvm-test/TEST.nightly.Makefile:1.43	Sat Nov 25 02:53:53 2006
+++ llvm-test/TEST.nightly.Makefile	Thu Feb  1 17:46:22 2007
@@ -33,8 +33,8 @@
 $(PROGRAMS_TO_TEST:%=Output/%.nightly.compile.report.txt): \
 Output/%.nightly.compile.report.txt: Output/%.llvm.bc $(LGCCAS)
 	@echo > $@
-	@echo '$(LGCCAS) Output/$*.linked.rll -o /dev/null $(TIMEOPT) >>$@ 2>&1'
-	@-if ($(LGCCAS) Output/$*.linked.rll -o /dev/null $(TIMEOPT) >>$@ 2>&1)\
+	@echo '$(LGCCAS) Output/$*.linked.rll -o /dev/null $(TIMEOPT) $(EXTRA_GCCAS_OPTIONS)  >>$@ 2>&1'
+	@-if ($(LGCCAS) Output/$*.linked.rll -o /dev/null $(TIMEOPT) $(EXTRA_GCCAS_OPTIONS) >>$@ 2>&1)\
 	;then \
 	  echo "TEST-PASS: compile $(RELDIR)/$*" >> $@;\
 	  printf "TEST-RESULT-compile: " >> $@;\






More information about the llvm-commits mailing list