[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 06:20:56 PDT 2022
xgupta created this revision.
xgupta added reviewers: thieta, aaron.ballman.
Herald added a project: All.
xgupta requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
This fix https://github.com/llvm/llvm-project/issues/23841.
Lots of beginners are not of aware of this option do suggesting it here
would be helpful.
Repository:
rG LLVM Github Monorepo
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,9 @@
<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>This builds both LLVM and Clang for debug mode and takes a lot of time and space. Alternatively -DCMAKE_BUILD_TYPE=Release" can be use to make a release build.</li>
<li><tt>cmake -DLLVM_ENABLE_PROJECTS=clang -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.435892.patch
Type: text/x-patch
Size: 849 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220610/0c4097a8/attachment.bin>
More information about the cfe-commits
mailing list