[cfe-commits] [PATCH] getting_started.html and cmake, and questions
Óscar Fuentes
ofv at wanadoo.es
Tue Nov 2 12:09:19 PDT 2010
John Thompson
<john.thompson.jtsoftware at gmail.com>
writes:
> 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)?
Dunno.
> Here's a patch for the Getting Started page to tell people how to change the
> targets:
LLVM_TARGETS_TO_BUILD is the first variable mentioned on
http://www.llvm.org/docs/CMake.html#llvmvars
That page is referenced from
http://www.llvm.org/docs/GettingStartedVS.html
Why we should mention that option and not the others?
(And how does one access www/get_started.html from http://www.llvm.org ?)
[snip]
More information about the cfe-commits
mailing list