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.
Thanks,
Aaron
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.
Thanks,
Aaron
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.
-- John T.
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 :-
Hello, Aaron
I don't have the external testsets installed.
Make sure you have llvm-gcc path properly specified to llvm configure.
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.5I 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
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