[cfe-dev] Building without ARC

Douglas Gregor dgregor at apple.com
Thu Sep 15 07:41:26 PDT 2011


On Sep 14, 2011, at 10:54 PM, Seo Sanghyeon wrote:

> Clang's ARC(Automatic Reference Counting) support is completely
> useless to me, since I don't use Objective-C.
> 
> So I made a patch to build without ARC (which turned out to be quite
> simple.) If you are in the same situation you could use it to save some
> disk space and build time.
> 
> http://sparcs.kaist.ac.kr/~tinuviel/devel/llvm/no-arc
> 
> Not sure how to turn that to proper build option. Hope it helps though.

Ah, you're talking about the ARC migrator. FWIW, we plan to move the ARC migrator out of the main Clang and turn it into a separate plugin, which will save most people a bunch of build time. I don't know when it'll actually happen, though.

	- Doug



More information about the cfe-dev mailing list