Skip to content
  • Matthew Pickering's avatar
    2b6c2179
    hadrian: Add bootstrap scripts for building without cabal-install · 2b6c2179
    Matthew Pickering authored and Marge Bot's avatar Marge Bot committed
    These scripts are originally from the cabal-install repo with a few
    small tweaks.
    
    This utility allows you to build hadrian without cabal-install, which can be useful
    for packagers. If you are a developer then build hadrian using cabal-install.
    
    If you want to bootstrap with ghc-8.10.5 then run the ./bootstrap script with the
    `plan-bootstrap-8.10.5.json` file.
    
        bootstrap.py -d plan-bootstrap-8.10.5.json -w /path/to-ghc
    
    The result of the bootstrap script will be a hadrian binary in
    `_build/bin/hadrian`.
    
    There is a script (using nix) which can be used to generate the bootstrap plans for the range
    of supported GHC versions using nix.
    
        generate_bootstrap_plans
    
    Otherwise you can run the commands in ./generate_bootstrap_plans directly.
    
    Fixes #17103
    2b6c2179
    hadrian: Add bootstrap scripts for building without cabal-install
    Matthew Pickering authored and Marge Bot's avatar Marge Bot committed
    These scripts are originally from the cabal-install repo with a few
    small tweaks.
    
    This utility allows you to build hadrian without cabal-install, which can be useful
    for packagers. If you are a developer then build hadrian using cabal-install.
    
    If you want to bootstrap with ghc-8.10.5 then run the ./bootstrap script with the
    `plan-bootstrap-8.10.5.json` file.
    
        bootstrap.py -d plan-bootstrap-8.10.5.json -w /path/to-ghc
    
    The result of the bootstrap script will be a hadrian binary in
    `_build/bin/hadrian`.
    
    There is a script (using nix) which can be used to generate the bootstrap plans for the range
    of supported GHC versions using nix.
    
        generate_bootstrap_plans
    
    Otherwise you can run the commands in ./generate_bootstrap_plans directly.
    
    Fixes #17103
Loading