Cabal compiling with profiling

Isaac Jones ijones at syntaxpolice.org
Tue Apr 19 12:30:03 EDT 2005


Krasimir Angelov <kr.angelov at gmail.com> writes:

> We need something more general in VSHaskell. Usually each project in
> the Visual Studio environment has two configurations "Debug" and
> "Release" but the user can define his own configurations. The only
> difference between each configuration is in the command line switches
> passed to the compiler.

Or to the configure step?

> For Haskell projects this mean that each configuration will have
> different HookedBuildInfo associated. The profiling can be
> implemented in this more general framework if we add "Profiling"
> configuration. I still don't have clear design for configurations in
> Cabal. My first thought was that I can do this on top of hooks API
> but I am not sure whether it will be flexible enough.

Can you flesh this out a bit?  What do you mean by "configurations in
cabal"?  What are the issues that you're facing with the hooks?  We
need good feedback on the hooks.


peace,

  isaac


More information about the Libraries mailing list