Paul Goyette <p...@whooppee.com> wrote: >I am curious why we need to apparently build all of the LLVM stuff for a >release? If LLVM is needed as part of the build, it should be built as >host tools; I don't understand why we _also_ need to build LLVM for the >target machine. (And, if the answer to this is YES, we should probably >find a way to build-and-install a minimal subset, not the whole thing!)
LLVM generates code that runs on the GPU, it is only used on the target machine. It is already fairly stripped down, only a couple of the code generation targets are built. I don't know if we could leave out X86 as well if doing a gcc build. It doesn't help that we build it twice for amd64, building with MKCOMPAT=no will be faster.