<div dir="ltr">Thanks for the .cabal/config tip! I'll also enable library-coverage as well :)</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 23, 2014 at 6:48 PM, Niklas Hambüchen <span dir="ltr"><<a href="mailto:mail@nh2.me" target="_blank">mail@nh2.me</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Cabal is not necessarily for developers: For many users it is the way to<br>
obtain a recent version of programs like pandoc. Those don't really need<br>
profiling libs enabled.<br>
<br>
If you are a developer, I recommend setting `library-profiling: True` in<br>
~/.cabal/config once and forever, wiping ~/.ghc and reinstalling everything.<br>
<br>
That said, I agree that the current way to deal with missing<br>
profiling/shared/whatever libs is a total pain.<br>
<br>
A great solution would be if Cabal could simply install development<br>
libraries of the existing libraries recursively when a package demands<br>
them, just like it installs dependencies recursively in the normal way.<br>
<div><div class="h5"><br>
On 24/07/14 01:39, Evan Laforge wrote:<br>
> On Wed, Jul 23, 2014 at 4:18 PM, Andrew Pennebaker<br>
> <<a href="mailto:andrew.pennebaker@gmail.com">andrew.pennebaker@gmail.com</a>> wrote:<br>
>> It can take a while to get a list of this long, full dependency chain. It<br>
>> would be much easier if cabal simply enabled `-p` by default, so we didn't<br>
>> have to think about it.<br>
>><br>
>> What do you think?<br>
><br>
> I'm all for it, I always have to remember to go set profiling true in<br>
> new cabal installs.  If I forget, I just wipe out everything and start<br>
> again from scratch.<br>
><br>
> Compile time is 2x, which is crummy, but cabal is for developers, and<br>
> developers should be profiling, right?<br>
</div></div>> _______________________________________________<br>
> Libraries mailing list<br>
> <a href="mailto:Libraries@haskell.org">Libraries@haskell.org</a><br>
> <a href="http://www.haskell.org/mailman/listinfo/libraries" target="_blank">http://www.haskell.org/mailman/listinfo/libraries</a><br>
><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div></div>Cheers,<div><br></div><div>Andrew Pennebaker</div><div><a href="http://www.yellosoft.us" target="_blank">www.yellosoft.us</a></div>
</div>