[cfe-dev] Stripped-down Clang/LLVM

Joe Groff arcata at gmail.com
Mon Mar 4 08:18:46 PST 2013

Removing targets from the LLVM build at least is easy—just specify
-DLLVM_TARGETS_TO_BUILD="X86" (or whatever target(s) you need) to your
CMake cache. (I don't know the equivalent configure flag off the top of my
head, but there is one.) I'm not sure whether the LLVM targets-to-build
propagates automatically to remove code from Clang, though.


On Mon, Mar 4, 2013 at 7:48 AM, Daniel Kudrow <dkudrow at gmail.com> wrote:

> Thanks Dimitri and John!
> You confirm what I suspected after a few weeks of reading through
> codebase. My primary concern at the moment is the time it takes to
> debug so I will begin by removing targets in the Makefile. I think my
> next step is going to be removing target specific code that I don't
> need (i.e. Hexagon, PPC, &c.). If I am able to do this, I will post my
> process/results to this thread.
> Thanks again,
> Dani
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130304/1b13bc06/attachment.html>

More information about the cfe-dev mailing list