Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
Source project has a limited visibility.
  • Matthew Pickering's avatar
    6c043187
    Generate build.mk for bindists · 6c043187
    Matthew Pickering authored and Marge Bot's avatar Marge Bot committed
    The config.mk.in script was relying on some variables which were
    supposed to be set by build.mk but therefore never were when used to
    install a bindist.
    
    Specifically
    
    * BUILD_PROF_LIBS to determine whether we had profiled libraries or not
    * DYNAMIC_GHC_PROGRAMS to determine whether we had shared libraries or
      not
    
    Not only were these never set but also not really accurate because you
    could have shared libaries but still statically linked ghc executable.
    
    In addition variables like GhcLibWays were just never used, so those
    have been deleted from the script.
    
    Now instead we generate a build.mk file which just directly specifies
    which RtsWays we have supplied in the bindist and whether we have
    DYNAMIC_GHC_PROGRAMS.
    6c043187
    History
    Generate build.mk for bindists
    Matthew Pickering authored and Marge Bot's avatar Marge Bot committed
    The config.mk.in script was relying on some variables which were
    supposed to be set by build.mk but therefore never were when used to
    install a bindist.
    
    Specifically
    
    * BUILD_PROF_LIBS to determine whether we had profiled libraries or not
    * DYNAMIC_GHC_PROGRAMS to determine whether we had shared libraries or
      not
    
    Not only were these never set but also not really accurate because you
    could have shared libaries but still statically linked ghc executable.
    
    In addition variables like GhcLibWays were just never used, so those
    have been deleted from the script.
    
    Now instead we generate a build.mk file which just directly specifies
    which RtsWays we have supplied in the bindist and whether we have
    DYNAMIC_GHC_PROGRAMS.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.