[GHC] #16267: EXTRA_HC_OPTS workflow under hadrian.

GHC ghc-devs at haskell.org
Fri Feb 1 13:20:57 UTC 2019


#16267: EXTRA_HC_OPTS workflow under hadrian.
-------------------------------------+-------------------------------------
           Reporter:  AndreasK       |             Owner:  (none)
               Type:  feature        |            Status:  new
  request                            |
           Priority:  normal         |         Milestone:
          Component:  Build System   |           Version:  8.6.3
  (Hadrian)                          |
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 This allows passing of arbitrary flags to ghc from the command line.

 The main use case for me so far is to generate dumps for an arbitrary
 combination of dump flags.

 Sometimes I wanted to look at the simplifier output for a certain file.

 Sometimes I wanted to dump the asm code for all files to see how common
 certain patterns are. Sometimes the same for Cmm. Sometimes I want to dump
 two passes to be able to cross reference between them.

 These are usually on-off things and the exact flags often differ. So imo
 custom build profiles are not a good solution for this.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16267>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list