[PATCH] Updating GettingStarted documentation to reference CMake as the preferred way to build LLVM.

Alexey Samsonov vonosmas at gmail.com
Tue Mar 3 15:12:27 PST 2015


================
Comment at: docs/GettingStarted.rst:715
@@ +714,3 @@
++-----------------------+------------------------------------------------------+
+| CMAKE_CXX_COMPILER    | Tells ``cmake`` which C++ compiler to use.  By       |
+|                       | default, this will be /usr/bin/c++.                  |
----------------
This variable is already mentioned above.

================
Comment at: docs/GettingStarted.rst:721
@@ +720,3 @@
++-----------------------+------------------------------------------------------+
+| LLVM_TARGEST_TO_BUILD | Controls which targets will be built and linked into |
+|                       | llc. This is equivolent to the ``--enable-targets``  |
----------------
Probably, we should specifiy that this is a semicolon-separated list of strings.

================
Comment at: docs/GettingStarted.rst:722
@@ +721,3 @@
+| LLVM_TARGEST_TO_BUILD | Controls which targets will be built and linked into |
+|                       | llc. This is equivolent to the ``--enable-targets``  |
+|                       | option in the configure script. The default value is |
----------------
s/equivolent/equivalent

================
Comment at: docs/GettingStarted.rst:730
@@ +729,3 @@
++-----------------------+------------------------------------------------------+
+| LLVM_ENABLE_DOXYGEN   | Look for the doxygen program nad enable construction |
+|                       | of the doxygen-based documentation from the soruce   |
----------------
s/nad/and

================
Comment at: docs/GettingStarted.rst:735
@@ +734,3 @@
++-----------------------+------------------------------------------------------+
+| LLVM_ENABLE_SPHINX    | Look for the sphinx program nad enable construction  |
+|                       | of the sphinx-based documentation from the soruce    |
----------------
s/nad/and

================
Comment at: docs/GettingStarted.rst:876
@@ -947,2 +875,3 @@
 
-    ``OBJ_ROOT/Profile/lib``
+The LLVM build will create a structure underneath *OBJ_ROOT* that matches the
+LLVM source tree. At each level where source files are present in the source
----------------
I feel like example will be better. 
  $ cd llvm_build_dir
  $ find lib/Support/ -name APFloat*
  lib/Support/CMakeFiles/LLVMSupport.dir/APFloat.cpp.o

http://reviews.llvm.org/D8046

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list