This is what I get while trying to run 'make TEST=libcalls' in the top dir of test-suite: make[1]: Entering directory `/home/gregory/thesis/llvm/projects/test-suite/SingleSource' make[2]: Entering directory `/home/gregory/thesis/llvm/projects/test-suite/SingleSource/UnitTests' make[3]: Entering directory `/home/gregory/thesis/llvm/projects/test-suite/SingleSource/UnitTests/Vector' make[4]: Entering directory `/home/gregory/thesis/llvm/projects/test-suite/SingleSource/UnitTests/Vector/SSE' make[4]: *** No rule to make target `@', needed by `Output/sse.expandfft.libcalls.report.txt'. Stop. make[4]: Leaving directory `/home/gregory/thesis/llvm/projects/test-suite/SingleSource/UnitTests/Vector/SSE' make[3]: *** [test] Error 1 make[3]: Leaving directory `/home/gregory/thesis/llvm/projects/test-suite/SingleSource/UnitTests/Vector' make[2]: *** [test] Error 1 make[2]: Leaving directory `/home/gregory/thesis/llvm/projects/test-suite/SingleSource/UnitTests' make[1]: *** [UnitTests/.maketest] Error 2 make[1]: Leaving directory `/home/gregory/thesis/llvm/projects/test-suite/SingleSource' make: *** [SingleSource/.maketest] Error 2 'make TEST=example' works, 'make TEST=jit' and 'make' work too. Any ideas about what is going wrong here? Gregory
Gregory Petrosyan
2010-Jan-05 14:22 UTC
[LLVMdev] [PATCH] test-suite/libcalls: unbreak build
On Tue, Jan 05, 2010 at 04:43:33PM +0300, Gregory Petrosyan wrote:> 'make TEST=example' works, 'make TEST=jit' and 'make' work too. Any ideas about what is going wrong here?No idea why this stuff was there... Index: TEST.libcalls.Makefile ==================================================================--- TEST.libcalls.Makefile (revision 92512) +++ TEST.libcalls.Makefile (working copy) @@ -21,12 +21,11 @@ @cat $< $(PROGRAMS_TO_TEST:%=Output/%.$(TEST).report.txt): \ -Output/%.$(TEST).report.txt: Output/%.linked.rbc $(LOPT) \ +Output/%.$(TEST).report.txt: Output/%.linked.rbc $(LOPT) $(VERB) $(RM) -f $@ @echo "---------------------------------------------------------------" >> $@ @echo ">>> ========= '$(RELDIR)/$*' Program" >> $@ @echo "---------------------------------------------------------------" >> $@ - $(PROJ_SRC_ROOT)/TEST.libcalls.Makefile @-$(LOPT) -simplify-libcalls -stats -debug-only=simplify-libcalls \ -time-passes -disable-output $< 2>>$@ summary:
On Jan 5, 2010, at 6:22 AM, Gregory Petrosyan wrote:> On Tue, Jan 05, 2010 at 04:43:33PM +0300, Gregory Petrosyan wrote: >> 'make TEST=example' works, 'make TEST=jit' and 'make' work too. Any >> ideas about what is going wrong here? > > No idea why this stuff was there...looks like some lines got moved, fixed on mainline, thanks. -Chris> > Index: TEST.libcalls.Makefile > ==================================================================> --- TEST.libcalls.Makefile (revision 92512) > +++ TEST.libcalls.Makefile (working copy) > @@ -21,12 +21,11 @@ > @cat $< > > $(PROGRAMS_TO_TEST:%=Output/%.$(TEST).report.txt): \ > -Output/%.$(TEST).report.txt: Output/%.linked.rbc $(LOPT) \ > +Output/%.$(TEST).report.txt: Output/%.linked.rbc $(LOPT) > $(VERB) $(RM) -f $@ > @echo > "---------------------------------------------------------------" >> > $@ > @echo ">>> ========= '$(RELDIR)/$*' Program" >> $@ > @echo > "---------------------------------------------------------------" >> > $@ > - $(PROJ_SRC_ROOT)/TEST.libcalls.Makefile > @-$(LOPT) -simplify-libcalls -stats -debug-only=simplify-libcalls \ > -time-passes -disable-output $< 2>>$@ > summary: > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev