[cfe-commits] [PATCH] get_started: Add hints for saving disc-usage and build-time

Sedat Dilek sedat.dilek at googlemail.com
Fri Apr 8 10:10:28 PDT 2011


Signed-off-by: Sedat Dilek <sedat.dilek at gmail.com>
---
 www/get_started.html |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/www/get_started.html b/www/get_started.html
index f8745f9..566a32a 100644
--- a/www/get_started.html
+++ b/www/get_started.html
@@ -64,6 +64,12 @@ follows:</p>
     <li><tt>../llvm/configure</tt></li>
     <li><tt>make</tt></li>
     <li>This builds both LLVM and Clang for debug mode.</li>
+    <li><b>WARNING:</b> SVN checkouts turn Debug builds on by default which
+    require high resources (e.g. harddisk and swap space).</li>
+    <li>Switch to Release build which saves enormous disc-usage:</li>
+    <li><tt>../llvm/configure --enable-optimize</tt></li>
+    <li>Hint: Speedup the build by only allowing host-only targets:</li>
+    <li><tt>../llvm/configure --enable-optimize --enable-targets=host-only</tt></li>
     <li>Note: For subsequent Clang development, you can just do make at the
     clang directory level.</li>
   </ul>
-- 
1.7.4.4




More information about the cfe-commits mailing list