[LLVMdev] how compile subproject

Tim Northover t.p.northover at gmail.com
Fri May 4 12:59:23 PDT 2012


> Neither worked. =(

Hmm. Something seems to have gone horribly wrong then. I've just
reproduced Peter's suggestion on the autoconf build and it worked
fine. Perhaps try a clean build out of tree:

CMake:

mkdir my_special_build_dir
cd my_special_build_dir
cmake $PATH_TO_LLVM_SOURCE
make llc

Autotools:
mkdir my_special_build_dir
cd my_special_build_dir
$PATH_TO_LLVM_SOURCE/configure
make ONLY_TOOLS=llc

Both of these have just worked for me, so if they don't work for you
we may need more details: your platform and the files you see but
expect not to if only llc is built are the most obvious ones.

Tim.



More information about the llvm-dev mailing list