[cfe-commits] [PATCH] get_started: Add hints for saving disc-usage and build-time
Sedat Dilek
sedat.dilek at googlemail.com
Sat Apr 9 10:38:54 PDT 2011
On Sat, Apr 9, 2011 at 7:36 PM, Sedat Dilek <sedat.dilek at googlemail.com> wrote:
> On Sat, Apr 9, 2011 at 6:16 PM, İsmail Dönmez <ismail at namtrac.org> wrote:
>> 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
>>
>
> I did not mention --enable-assertions as it is default, but yeah I can
> add that hint.
>
> - Sedat -
>
Oops, more Turkish Cay :-)!
I will send a v2 with corrections (hint enable assertions plus correct
configure-option for release build).
Thanks for your review.
- Sedat -
More information about the cfe-commits
mailing list