Hi, I'm following http://llvm.org/docs/SourceLevelDebugging.html#debugopt to do the dbgopt testing. But seems, there is something wrong with the Makefile, it told me : llvm-gcc sse.expandfft.c -g --emit-llvm -c -o Output/sse.expandfft.bc llvm-gcc: sse.expandfft.c: No such file or directory llvm-gcc: no input files Am I missing something, like the configure option? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090204/cb8b2766/attachment.html>
On Feb 3, 2009, at 11:33 PM, Zhou Sheng wrote:> Hi, > > I'm following http://llvm.org/docs/SourceLevelDebugging.html#debugopt > to do the dbgopt testing. But seems, there is something wrong with > the Makefile, it told me : > > llvm-gcc sse.expandfft.c -g --emit-llvm -c -o Output/sse.expandfft.bc > llvm-gcc: sse.expandfft.c: No such file or directory > llvm-gcc: no input files > > > Am I missing something, like the configure option?Are you able to run nightly test ? Here is what I see... $ make TEST=dbgopt /Developer/usr/bin//llvm-gcc sse.expandfft.c -g --emit-llvm -c -o Output/sse.expandfft.bc /Volumes/Nanpura/mainline/llvm/Debug/bin/opt Output/sse.expandfft.bc - strip-nondebug -strip-debug -std-compile-opts -strip -f -o Output/ sse.expandfft.t.bc /Volumes/Nanpura/mainline/llvm/Debug/bin/llvm-dis Output/ sse.expandfft.t.bc -f -o Output/sse.expandfft.first.ll /Volumes/Nanpura/mainline/llvm/Debug/bin/opt Output/sse.expandfft.bc - strip-nondebug -std-compile-opts -strip-debug -strip -f -o Output/ sse.expandfft.t.bc /Volumes/Nanpura/mainline/llvm/Debug/bin/llvm-dis Output/ sse.expandfft.t.bc -f -o Output/sse.expandfft.second.ll --------- TEST-PASS: sse.expandfft - Devang -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090204/b31904cc/attachment.html>
This is a long-standing quirk of the test-suite Makefiles. When you run the main llvm configure script, you need to have an llvm-gcc in your path. Building and testing llvm on a platform that doesn't already have an llvm-gcc seems to require this sequence: build llvm build and install llvm-gcc rerun llvm's configure script, with llvm-gcc in PATH build test-suite Dan On Feb 3, 2009, at 11:33 PM, Zhou Sheng wrote:> Hi, > > I'm following http://llvm.org/docs/SourceLevelDebugging.html#debugopt > to do the dbgopt testing. But seems, there is something wrong with > the Makefile, it told me : > > llvm-gcc sse.expandfft.c -g --emit-llvm -c -o Output/sse.expandfft.bc > llvm-gcc: sse.expandfft.c: No such file or directory > llvm-gcc: no input files > > > Am I missing something, like the configure option? > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev