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

Régis Portalez via cfe-dev cfe-dev at lists.llvm.org
Tue Jan 5 12:35:00 PST 2016


Cool. Thanks.
A lot

-----Message d'origine-----
De : "mats petersson" <mats at planetcatfish.com>
Envoyé : ‎05/‎01/‎2016 19:20
À : "Régis Portalez" <regis.portalez at altimesh.com>
Cc : "cfe-dev" <cfe-dev at lists.llvm.org>
Objet : Re: [cfe-dev] Build clang for only one language and target

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/eaeb9e69/attachment.html>


More information about the cfe-dev mailing list