[LLVMdev] Problems with 'make check'

Ralph Corderoy ralph at inputplus.co.uk
Wed May 9 03:30:50 PDT 2007


Hi Reid,

> Please note that the path is (purposefully) not used to locate test
> executables. Many of us have many LLVM environments and using the path
> leads to confusion.  What the makefile is looking for is the LLVMGCC
> variable to be set. It wasn't so when substituted you get a null
> string which leads to attempting to execute "-emit-llvm" (the first
> argument after the null program name).  You can resolve this by using
> the --with-llvmgccdir option when configuring llvm.

Might the makefile have an early target that does the shell

    if test x$LLVMGCC = x; then echo error message >&2; exit 1; fi

in order to trap this common problem.

Cheers,


Ralph.




More information about the llvm-dev mailing list