[cfe-commits] [PATCH] getting_started.html and cmake, and questions

John Thompson john.thompson.jtsoftware at gmail.com
Tue Nov 2 11:54:44 PDT 2010


Question:  Why does the cmake build for Win32 only target Win32, whereas the
default make build targets all platforms?

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
targets:

Index: www/get_started.html
===================================================================
--- www/get_started.html (revision 117673)
+++ www/get_started.html (working copy)
@@ -145,6 +145,10 @@
     <li><tt>cd ..</tt>  (Change directory back to the llvm top.)</li>
     <li>If you are using Visual Studio 2005:  <tt>cmake .</tt></li>
     <li>Or if you are using Visual Studio 2008:  <tt>cmake -G "Visual
Studio 9 2008" .</tt></li>
+    <li>By default, cmake will target LLVM to X86.  If you want all targets
+        (needed if you want to run the LLVM tests), add the
<tt>-DLLVM_TARGETS_TO_BUILD=all</tt> option to the
+        cmake command line.  Or specify a target from the
LLVM_TARGETS_TO_BUILD
+        definition in CMakeLists.txt.</li>
     <li>The above, if successful, will have created an LLVM.sln file in the
        llvm directory.
   </ul>
May I check it in?

-John

-- 
John Thompson
John.Thompson.JTSoftware at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20101102/8d854053/attachment.html>


More information about the cfe-commits mailing list