Hadrian: fix dynamicGhcPrograms value for the quickest flavour
authorAlp Mestanogullari <alp@well-typed.com>
Sat, 8 Dec 2018 04:20:23 +0000 (23:20 -0500)
committerBen Gamari <ben@smart-cactus.org>
Sat, 8 Dec 2018 04:20:24 +0000 (23:20 -0500)
commit7d96d2816d11bc067ce5b7d68b4a6f0fb1cf0259
treede7fb9eb9ef44db811fe89866aa7b64a9c4e0667
parent38edeea990b455fa8bf201bb9190a0719663bf76
Hadrian: fix dynamicGhcPrograms value for the quickest flavour

Quickest does not build anything in a dynamic way, so that
flavour should default to not building "ghc programs" dynamically.

I ran into this problem by building the 'docs' target with quickest,
which failed because at some point we run a haddock command in a
context whose Way is sensitive to dynamicGhcPrograms, and it
started looking for dyn interface files when it shouldn't have.

Test Plan: hadrian/build.sh --flavour=quickest docs

Reviewers: snowleopard, bgamari

Reviewed By: snowleopard

Subscribers: rwbarton, carter

Differential Revision: https://phabricator.haskell.org/D5419
hadrian/src/Settings/Flavours/Quickest.hs