[PATCH] D127496: [NFC] Suggest Release mode in clang GettingStarted.html
Shivam Gupta via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 10 09:25:24 PDT 2022
xgupta updated this revision to Diff 435947.
xgupta added a comment.
Address comments
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D127496/new/
https://reviews.llvm.org/D127496
Files:
clang/www/get_started.html
Index: clang/www/get_started.html
===================================================================
--- clang/www/get_started.html
+++ clang/www/get_started.html
@@ -69,9 +69,13 @@
<li><tt>cd llvm-project</tt></li>
<li><tt>mkdir build</tt> (in-tree build is not supported)</li>
<li><tt>cd build</tt></li>
- <li><tt>cmake -DLLVM_ENABLE_PROJECTS=clang -G "Unix Makefiles" ../llvm</tt></li>
+ <li>This builds both LLVM and Clang for release mode. Alternatively if
+ you need a debug build, switch Release to Debug. See
+ <a href="ttps://llvm.org/docs/CMake.html#frequently-used-cmake-variables">frequently used cmake variables</a>
+ for more options.
+ </li>
+ <li><tt>cmake -DLLVM_ENABLE_PROJECTS=clang -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles" ../llvm</tt></li>
<li><tt>make</tt></li>
- <li>This builds both LLVM and Clang for debug mode.</li>
<li>Note: For subsequent Clang development, you can just run
<tt>make clang</tt>.</li>
<li>CMake allows you to generate project files for several IDEs: Xcode,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127496.435947.patch
Type: text/x-patch
Size: 1084 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220610/eebe4b99/attachment.bin>
More information about the cfe-commits
mailing list