diff options
author | Alp Mestanogullari <alp@well-typed.com> | 2018-11-27 13:17:53 +0100 |
---|---|---|
committer | Alp Mestanogullari <alpmestan@gmail.com> | 2018-11-27 13:18:44 +0100 |
commit | 8f52ab9223544b756010a7a92ea52fffdf1d1c71 (patch) | |
tree | 6ac142ece5cd3d448ee1606ce8444b4b99761b25 /compiler/codeGen | |
parent | 984b75de7082689ebcc6e9d17b37f2c9b3702f71 (diff) | |
download | haskell-8f52ab9223544b756010a7a92ea52fffdf1d1c71.tar.gz |
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
Diffstat (limited to 'compiler/codeGen')
0 files changed, 0 insertions, 0 deletions