[commit: hadrian] master: Preliminary bindist (#558) (8219f6a)

git at git.haskell.org git at git.haskell.org
Wed Apr 25 23:20:40 UTC 2018


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

On branch  : master
Link       : http://git.haskell.org/hadrian.git/commitdiff/8219f6a48280b962b2de28b757b45b70b38d0523

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

commit 8219f6a48280b962b2de28b757b45b70b38d0523
Author: Alp Mestanogullari <alpmestan at gmail.com>
Date:   Tue Apr 3 21:42:39 2018 +0200

    Preliminary bindist (#558)
    
    * Preliminary bindist rule
    
    For now, we only ship `<build root>/{bin, lib}` and the few make build system
    related files that are needed to support a simple
    
    ```
    ./configure [--prefix=PATH] && make install
    ```
    
    workflow. The current binary distributions of GHC support a wider range
    of parameters, but I figured it would be a good thing to start with this
    and enhance it as we all see fit and perhaps using feedback from GHC HQ
    (@bgamari in particular) and bindist users.
    
    * document binary distribution rule in README
    
    * sdist-ghc -> source-dist, Rules.Bindist -> Rules.BinaryDist
    
    * add missing src/Rules/BinaryDist.hs


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

8219f6a48280b962b2de28b757b45b70b38d0523
 README.md               |  13 +++++-
 cfg/system.config.in    |   1 +
 hadrian.cabal           |   1 +
 src/Builder.hs          |   4 ++
 src/Builder.hs-boot     |   1 +
 src/Rules.hs            |   6 ++-
 src/Rules/BinaryDist.hs | 121 ++++++++++++++++++++++++++++++++++++++++++++++++
 src/Rules/SourceDist.hs |   2 +-
 8 files changed, 145 insertions(+), 4 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 8219f6a48280b962b2de28b757b45b70b38d0523


More information about the ghc-commits mailing list