<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 20, 2020 at 12:05 PM Tom Stellard via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">On 11/20/20 2:44 PM, Michael Kruse via llvm-dev wrote:<br>
> Am Fr., 20. Nov. 2020 um 13:23 Uhr schrieb Philip Reames via llvm-dev<br>
> <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>>:<br>
>> Personally, I think we should either a) change the defaults or b) put a prominent warning in the docs.<br>
> <br>
> <a href="https://llvm.org/docs/GettingStarted.html#common-problems" rel="noreferrer" target="_blank">https://llvm.org/docs/GettingStarted.html#common-problems</a><br>
> <br>
> Should it be more prominent?<br>
> <br>
<br>
I don't think having this documented is all that helpful. I know that <br>
when I build a new project, if I see it has cmake, I just do cmake -G <br>
Ninja && ninja and don't bother reading the docs.<br>
<br>
I think it would make the most sense to change the default to be <br>
Release+Asserts, because this is the most likely configuration to work <br>
on the average system.<br></blockquote><div><br></div><div>Can you expand on why release+asserts and not just release?</div><div>I can imagine folks just wanting to try clang out of the box and finding it "slow" because they don't know that assertions have to be disabled explicitly for example.</div><div>Of course developers have to opt-in assertions, but they also have to think about opting in Debug info and sanitizers.</div><div><br></div><div>-- </div><div>Mehdi</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
<br>
-Tom<br>
<br>
> Michael<br>
> _______________________________________________<br>
> LLVM Developers mailing list<br>
> <a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
> <a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
> <br>
<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div></div>