[LLVMdev] Building LLVM/clang with LLVM/clang and LTO using cmake

ChanMaxthon xcvista at me.com
Mon Sep 16 06:50:39 PDT 2013


On my computer it is pain in the a** to build LLVM/clang with LLVM LTO on using cmake. I have to add -k to the make command and run ranlib from time to time. Anyway to fix this?

OS: Ubuntu 13.04 amd64
LLVM Version: LLVM 3.4 svn HEAD.

By the way, the resulting binary built with flags -Ofast -flto runs blazingly fast. I can compile entire GNUstep libraries in under a minute without parallelism.

Sent from my iPad



More information about the llvm-dev mailing list