diff options
author | Thomas Miedema <thomasmiedema@gmail.com> | 2016-02-09 11:06:13 +0100 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-02-09 11:06:24 +0100 |
commit | 04fb7813ab489b1d70a73351836950825b2ce4f7 (patch) | |
tree | b2dc315e19d7f1091302b85f8dc991a851978fd4 /boot | |
parent | 4ec61411930495fc109be27993c176fd7aaf486d (diff) | |
download | haskell-04fb7813ab489b1d70a73351836950825b2ce4f7.tar.gz |
Early error when crosscompiling + haddock/docs
When CrossCompiling=YES or Stage1Only=YES, building the haddocks and the
User's Guide should be skipped, because haddock and mkUserGuidePart
depend on the GHC API.
See Note [No stage2 packages when CrossCompiling or Stage1Only] for
details.
There are several places in the build system where the variables
HADDOCK_DOCS and BUILD_SPHINX_* are checked. Instead of also checking
for the variables CrossCompiling or Stage1Only in all those places,
`make` will now exit with a nice error message when the user requests
the impossible.
Reviewers: rwbarton, austin, bgamari
Reviewed By: bgamari
Differential Revision: https://phabricator.haskell.org/D1882
Diffstat (limited to 'boot')
0 files changed, 0 insertions, 0 deletions