Enhancement: Default cabal to `-p` profiling enabled

Petr Pudlák petr.mvd at gmail.com
Thu Jul 24 17:43:56 UTC 2014

I'd like to add that if you install vanilla cabal from the tarball, the
installation process already installs several libraries that need to be
reinstalled later with profiling enabled, even if you enable the
configuration flag. For this I found convenient to start the cabal
installation as

  EXTRA_CONFIGURE_OPTS="--enable-library-profiling" ./bootstrap.sh

Dne 24. 7. 2014 10:30 "Henning Thielemann" <schlepptop at henning-thielemann.de>

> Am 24.07.2014 01:18, schrieb Andrew Pennebaker:
>  Fortunately, cabal can reinstall a library with profiling support, with:
>> cabal install --reinstall -p <library>
>> Unfortunately, cabal is a bit of a simpleton, so this will fail unless
>> that libraries dependencies are also installed with profiling enabled:
>> cabal install --reinstall -p <libraryX> <libraryY> <libraryZ> ...
> You may obtain a list of dependent packages with ghc-pkg-dep from
>    http://hackage.haskell.org/package/cabal-sort
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://www.haskell.org/mailman/listinfo/libraries
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20140724/9b78cdd0/attachment.html>

More information about the Libraries mailing list