#200: Allow more convenient use of ghc profiling options -auto and -auto-all
----------------------------+-----------------------------------------------
Reporter: guest | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Cabal-1.8
Component: Cabal library | Version:
Severity: normal | Resolution:
Keywords: | Difficulty: easy (<4 hours)
Ghcversion: 6.8.2 | Platform:
----------------------------+-----------------------------------------------
Changes (by ganesh):
* cc: ganesh (added)
Comment:
I suggest {{{cabal configure --profile-this-library}}} to add {{{-auto-
all}}} to a library's profiling options, and {{{cabal configure --custom-
profiling}}} to remove it from an executable's profiling options.
If the GHC ways system ever supports it, I would also like to be able to
build a library both {{{-prof}}} and {{{-prof -auto-all}} for future use.
This would then require some interface to select which profiling versions
of libraries to use downstream.
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/200#comment:10>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects_______________________________________________
cabal-devel mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cabal-devel