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

terrydang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 18 23:45:44 PDT 2023


terrydang created this revision.
terrydang added reviewers: hans, mehdi_amini, aaron.ballman, jhenderson, MaskRay, awarzynski.
Herald added a project: All.
terrydang requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D148688

Files:
  llvm/docs/GettingStarted.rst


Index: llvm/docs/GettingStarted.rst
===================================================================
--- llvm/docs/GettingStarted.rst
+++ llvm/docs/GettingStarted.rst
@@ -683,7 +683,7 @@
 
    .. 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:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148688.514835.patch
Type: text/x-patch
Size: 495 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230419/2457ca4f/attachment.bin>


More information about the llvm-commits mailing list