[cfe-dev] Build clang for only one language and target

mats petersson via cfe-dev cfe-dev at lists.llvm.org
Tue Jan 5 10:20:25 PST 2016


Something like
-DLLVM_TARGETS_TO_BUILD=X86
on your cmake command line will restrict the targets. The different
flavours of C that clang supports are runtime-decissions, and can't be
enabled/disabled with macros, afaict.

--
Mats

On 5 January 2016 at 10:37, RĂ©gis Portalez <cfe-dev at lists.llvm.org> wrote:

> Hi.
>
> Is that possible to build cland.exe and opt.exe  with support for just
> c/c++ and x86/x64 as target?
>
> To make it short, is there a way to get rid of powerpc/mips... targets and
> cuda/opencl...  inputs in order to speed up build process?
>
> Many thanks,
>
> Regis
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160105/d2cb9f72/attachment.html>


More information about the cfe-dev mailing list