
#200: Allow more convenient use of ghc profiling options -auto and -auto-all ----------------------------+----------------------------------------------- Reporter: guest | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Component: Cabal library | Version: 1.2.3.0 Severity: normal | Resolution: Keywords: | Difficulty: normal Ghcversion: 6.8.2 | Platform: ----------------------------+----------------------------------------------- Comment (by guest): I think the best way is to pretend `-auto` and `-caf-all` don't exist. They are relatively rarely used, and when they are they can be passed with `--ghc-option=`, right? For whether or not to use `-auto-all`, the portable distinction is whether we are compiling in order to support profiling something else, or to profile this code in particular. How about `--enable-library-profiling` for `-prof -auto-all`, and `--enable-library-profiling-support` for `-prof`? Better (shorter!) names welcomed; bonus marks if you can make `--enable-library-profiling` keep its current meaning without sounding too forced. For other implementations both flags might have the same effect. Ian Lynagh -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/200#comment:2 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects