[llvm] 3a44c57 - [docs] Fix the CMAKE_BUILD_TYPE option in the cmake command in GettingStarted.rst

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 19 01:59:34 PDT 2023


Author: terrydang
Date: 2023-04-19T09:46:29+01:00
New Revision: 3a44c576b146521d14f71fa50e071871623e6655

URL: https://github.com/llvm/llvm-project/commit/3a44c576b146521d14f71fa50e071871623e6655
DIFF: https://github.com/llvm/llvm-project/commit/3a44c576b146521d14f71fa50e071871623e6655.diff

LOG: [docs] Fix the CMAKE_BUILD_TYPE option in the cmake command in GettingStarted.rst

The cmake command contained a duplicate CMAKE_BUILD_TYPE option in the
section "Compiling the LLVM Suite Source Code".

Added: 
    

Modified: 
    llvm/docs/GettingStarted.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/GettingStarted.rst b/llvm/docs/GettingStarted.rst
index fffbbe66c56a..2324d5a9eba5 100644
--- a/llvm/docs/GettingStarted.rst
+++ b/llvm/docs/GettingStarted.rst
@@ -683,7 +683,7 @@ invocation:
 
    .. code-block:: console
 
-     % cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=<type> -DCMAKE_BUILD_TYPE=type SRC_ROOT
+     % cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=<type> SRC_ROOT
 
 Between runs, CMake preserves the values set for all options. CMake has the
 following build types defined:


        


More information about the llvm-commits mailing list