[cfe-commits] [PATCH] getting_started.html and cmake, and questions
ofv at wanadoo.es
Tue Nov 2 14:09:19 CDT 2010
<john.thompson.jtsoftware at gmail.com>
> Question: Why does the cmake build for Win32 only target Win32, whereas the
> default make build targets all platforms?
You mean "Why does the cmake build for Win32 only target X86"
For several reasons:
* Supposedly, most LLVM consumers on Windows are users, not LLVM
developers. The user is usually interested on the target architecture
where he builds LLVM.
* Build times on VC++ are significantly slower than on Linux. Enabling
only the target architecture that most Windows people will work with
reduces build times.
* Almost every LLVM developer works with gcc and this means that code
is committed without testing on VC++. Reducing the amount of code
from the default VC++ build will lessen the chance of hitting a
gcc/VC++ incompatibility that stops the build.
> Question: Does the buildbot build for Win32 build for all targets (in case
> I check in some platform-specific LLVM tests)?
> Here's a patch for the Getting Started page to tell people how to change the
LLVM_TARGETS_TO_BUILD is the first variable mentioned on
That page is referenced from
Why we should mention that option and not the others?
(And how does one access www/get_started.html from http://www.llvm.org ?)
More information about the cfe-commits