[cfe-commits] [PATCH] get_started: Add hints for saving disc-usage and build-time
İsmail Dönmez
ismail at namtrac.org
Sat Apr 9 09:16:44 PDT 2011
Hi;
On Fri, Apr 8, 2011 at 7:10 PM, Sedat Dilek <sedat.dilek at googlemail.com>wrote:
>
> 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>
>
We want --enable-assertions too, otherwise debugging clang will be
impossible.
Regards,
ismail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110409/70d1c4e3/attachment.html>
More information about the cfe-commits
mailing list