[LLVMdev] how to build llvm-test in separate directory

Aaron Gray aaronngray.lists at googlemail.com
Mon Feb 23 11:45:20 PST 2009


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>


More information about the llvm-dev mailing list