[commit: ghc] master: Hadrian: improve bindist rule (8f52ab9)

git at git.haskell.org git at git.haskell.org
Tue Nov 27 12:19:21 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/8f52ab9223544b756010a7a92ea52fffdf1d1c71/ghc

>---------------------------------------------------------------

commit 8f52ab9223544b756010a7a92ea52fffdf1d1c71
Author: Alp Mestanogullari <alp at well-typed.com>
Date:   Tue Nov 27 13:17:53 2018 +0100

    Hadrian: improve bindist rule
    
    As outlined in #15925, hadrian bindists had not made a clear choice with
    respect to relocatable GHCs and wrapper scripts. This commit implements
    the policy described in the ticket. That is:
    
    - the bindists ship {bin, lib} as they are, modulo the addition of
      haddock from stage2/bin
    - we now _always_ generate wrapper scripts for all the programs that
      are in the bindist's bin/ directory
    
    The idea being that anyone on Linux/Windows/OS X can just unpack
    the binary distribution anywhere and start using bin/ghc, while the
    installation process systematicaly generates wrapper scripts.
    
    Test Plan: hadrian/build.sh binary-dist ; cd
    _build/bindist/ghc-X.Y.Z-arch/; configure --prefix=/tmp/foo && make
    install
    
    Reviewers: snowleopard, bgamari, angerman
    
    Reviewed By: snowleopard, bgamari, angerman
    
    Subscribers: rwbarton, carter
    
    GHC Trac Issues: #15925
    
    Differential Revision: https://phabricator.haskell.org/D5371


>---------------------------------------------------------------

8f52ab9223544b756010a7a92ea52fffdf1d1c71
 hadrian/src/Rules/BinaryDist.hs | 149 ++++++++++++++++++++++++++++++----------
 1 file changed, 111 insertions(+), 38 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 8f52ab9223544b756010a7a92ea52fffdf1d1c71


More information about the ghc-commits mailing list