[LLVMdev] Optional Target Builds

Chris Lattner sabre at nondot.org
Fri Apr 22 08:18:32 PDT 2005


On Fri, 22 Apr 2005, Al Stone wrote:
>> Actually, the options have to be expressed as "enable-something" so
>> I've opted for "--enable-target-this" to enable just the $host target.
>> if you specify --disable-target-this (the default) then you get
>> whatever platforms you specify with --enable-target-{targetname}
>>
>> Does that make sense or do you have a better idea?
>
> What I would prefer (for what that's worth) is that by default,
> only the host target is enabled.  That will speed up my builds
> a bit and keep sizes a bit smaller.  If I then had an option so
> I could do something like '--enable-arch=ppc,x86_64,ia64', I
> could build whatever cross-targets I wanted for a particular
> package.

Would passing one option, "--enable-arch=host", be ok?

-Chris

-- 
http://nondot.org/sabre/
http://llvm.cs.uiuc.edu/




More information about the llvm-dev mailing list