[Hackage] #200: Allow more convenient use of ghc profiling options -auto and -auto-all

Hackage trac at galois.com
Thu Jun 19 20:44:17 EDT 2008

#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.6      
 Component:  Cabal library  |      Version:                 
  Severity:  normal         |   Resolution:                 
  Keywords:                 |   Difficulty:  easy (<4 hours)
Ghcversion:  6.8.2          |     Platform:                 
Comment (by duncan):

 So we want something like `--enable/disable-profiling-this-package`,
 though with a less silly name. It would modify the meaning of
 `--enable-library-profiling` and `--enable-executable-profiling` to add
 `-auto-all`. For libs the default would be disabled and for exes the
 default would be enabled.

 Hmm, if our defaults our different then we'd need different enable/disable
 flags for libs vs exes.

 I agree with bos and Ian that we can basically ignore `-auto` and `-caf-
 all`. On the other hand I think that if we use `-auto-all` by default for
 executables then we do need a way to let people not do that for the rare
 cases (though we don't need to support those cases specifically). The easy
 way to do that is just to have a corresponding disable flag.

Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/200#comment:7>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects

More information about the cabal-devel mailing list