Revert dynamically linking ghc.
authorDavid Eichmann <EichmannD@gmail.com>
Tue, 11 Dec 2018 18:02:25 +0000 (13:02 -0500)
committerBen Gamari <ben@smart-cactus.org>
Tue, 11 Dec 2018 18:02:26 +0000 (13:02 -0500)
commit4efafe7e5288532b385bbfe3cd684ddcda0f3b0a
tree3d000528a60e64840fd5f84386ddc522b0172441
parent50f0cd4647ffc6300c762375419831a11f8648e6
Revert dynamically linking ghc.

Building a dynamically linked ghc is broken do to incorrectly building
and installing libffi. This disables building a dynamically linked ghc
and ghc-iserv-dyn while keeping most of the code in the relevant
commits: 79d5427e1 and 89fa34ecd

Test Plan:
Ensure build environment does NOT have a system libffi installed (you
may want to use a nix environment).
Then `hadrian/build.sh -c --flavour=default`.

Reviewers: bgamari, alpmestan

Reviewed By: alpmestan

Subscribers: rwbarton, carter

GHC Trac Issues: #15837

Differential Revision: https://phabricator.haskell.org/D5430
hadrian/src/Rules/Program.hs
hadrian/src/Rules/Test.hs
hadrian/src/Settings/Builders/Ghc.hs