On Mon, Feb 23, 2009 at 6:32 PM, John Criswell <criswell at cs.uiuc.edu> wrote:> Aaron Gray wrote: > > I am trying to build llvm-test in a separate directory to the main llvm > tree. > > > > I have put llvm and llvm-gcc's bin directories on the path but think I am > missing a switch on the configure command. > > > You need to use --with-llvmsrc and --with-llvmobj to tell llvm-test > where it can find the LLVM source and object directories, respectively.with :- $ /usr/src/llvm-test-2.5/configure --with-llvmsrc=/usr/src/llvm-2.5 --with-llvmobj=/usr/build/llvm-2.5 I am getting :- ~~~ $ make all make[1]: Entering directory `/usr/src/llvm-test-2.5/SingleSource' make[2]: Entering directory `/usr/src/llvm-test-2.5/SingleSource/UnitTests' make[3]: Entering directory `/usr/src/llvm-test-2.5/SingleSource/UnitTests/Vector' make[4]: Entering directory `/usr/src/llvm-test-2.5/SingleSource/UnitTests/Vector/SSE' make[4]: *** No rule to make target `Output/sse.expandfft.linked.rbc', needed by `Output/sse.expandfft.linked.bc'. Stop. make[4]: Leaving directory `/usr/src/llvm-test-2.5/SingleSource/UnitTests/Vector/SSE' make[3]: *** [all] Error 1 make[3]: Leaving directory `/usr/src/llvm-test-2.5/SingleSource/UnitTests/Vector' make[2]: *** [all] Error 1 make[2]: Leaving directory `/usr/src/llvm-test-2.5/SingleSource/UnitTests' make[1]: *** [UnitTests/.makeall] Error 2 make[1]: Leaving directory `/usr/src/llvm-test-2.5/SingleSource' make: *** [SingleSource/.makeall] Error 2 ~~~ I don't have the external testsets installed. Hope you can help, Aaron -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090223/06f78ba9/attachment.html>
Anton Korobeynikov
2009-Feb-23 20:18 UTC
[LLVMdev] how to build llvm-test in separate directory
Hello, Aaron> I don't have the external testsets installed.Make sure you have llvm-gcc path properly specified to llvm configure. --- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University
Tanya M. Lattner
2009-Feb-23 20:24 UTC
[LLVMdev] how to build llvm-test in separate directory
> On Mon, Feb 23, 2009 at 6:32 PM, John Criswell <criswell at cs.uiuc.edu> wrote: > >> Aaron Gray wrote: >>> I am trying to build llvm-test in a separate directory to the main llvm >> tree. >>> >>> I have put llvm and llvm-gcc's bin directories on the path but think I am >> missing a switch on the configure command. >>> >> You need to use --with-llvmsrc and --with-llvmobj to tell llvm-test >> where it can find the LLVM source and object directories, respectively. > > > with :- > > $ /usr/src/llvm-test-2.5/configure --with-llvmsrc=/usr/src/llvm-2.5 > --with-llvmobj=/usr/build/llvm-2.5 > > I am getting :- > > ~~~ > $ make all > make[1]: Entering directory `/usr/src/llvm-test-2.5/SingleSource' > make[2]: Entering directory `/usr/src/llvm-test-2.5/SingleSource/UnitTests' > make[3]: Entering directory > `/usr/src/llvm-test-2.5/SingleSource/UnitTests/Vector' > make[4]: Entering directory > `/usr/src/llvm-test-2.5/SingleSource/UnitTests/Vector/SSE' > make[4]: *** No rule to make target `Output/sse.expandfft.linked.rbc', > needed by `Output/sse.expandfft.linked.bc'. Stop. > make[4]: Leaving directory > `/usr/src/llvm-test-2.5/SingleSource/UnitTests/Vector/SSE' > make[3]: *** [all] Error 1 > make[3]: Leaving directory > `/usr/src/llvm-test-2.5/SingleSource/UnitTests/Vector' > make[2]: *** [all] Error 1 > make[2]: Leaving directory `/usr/src/llvm-test-2.5/SingleSource/UnitTests' > make[1]: *** [UnitTests/.makeall] Error 2 > make[1]: Leaving directory `/usr/src/llvm-test-2.5/SingleSource' > make: *** [SingleSource/.makeall] Error 2 > ~~~ > > I don't have the external testsets installed. > > Hope you can help,That error means it could not find llvm-gcc. Did you reconfigure llvm with either llvm-gcc in your path or --with-llvmgccdir (or whatever it is)? -Tanya> > Aaron >
On Mon, Feb 23, 2009 at 8:18 PM, Anton Korobeynikov <anton at korobeynikov.info> wrote:> Hello, Aaron > > > I don't have the external testsets installed. > Make sure you have llvm-gcc path properly specified to llvm configure. >I had it on the path at second llvm make time. But not at make tools-only time. Should I do a second configure on LLVM proper with a after making llvm-gcc with a --with-llvmgccdir (or what ever it is) The basic proceedure I am using is here :- http://www.aarongray.org/LLVM/BuildingLLVMonCygwin.html Thanks, Aaron -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090223/5f8d37a2/attachment.html>