Skip to content
  • Matthew Pickering's avatar
    Add support for building profiled dynamic way · 145a6477
    Matthew Pickering authored and Marge Bot's avatar Marge Bot committed
    The main payload of this change is to hadrian.
    
    * Default settings will produced dynamic profiled objects
    * `-fexternal-interpreter` is turned on in some situations when there is
      an incompatibility between host GHC and the way attempting to be
      built.
    * Very few changes actually needed to GHC
    
    There are also necessary changes to the bootstrap plans to work with the
    vendored Cabal dependency. These changes should ideally be reverted by
    the next GHC release.
    
    In hadrian support is added for building profiled dynamic libraries
    (nothing too exciting to see there)
    
    Updates hadrian to use a vendored Cabal submodule, it is important that
    we replace this usage with a released version of Cabal library before
    the 9.12 release.
    
    Fixes #21594
    
    -------------------------
    Metric Increase:
        libdir
    -------------------------
    145a6477