1. 09 Feb, 2016 1 commit
    • Thomas Miedema's avatar
      Early error when crosscompiling + haddock/docs · 04fb7813
      Thomas Miedema authored and Ben Gamari's avatar Ben Gamari committed
      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
      04fb7813
  2. 09 Oct, 2015 1 commit
  3. 03 Oct, 2015 1 commit
  4. 08 Sep, 2015 1 commit
    • Thomas Miedema's avatar
      Build system: make *-cross BuildFlavours consistent (#10223) · 330fbbda
      Thomas Miedema authored
      This is a follow up to 841924c9,
      where `-fllvm` was explicitly removed from GhcStage1HcOpts for
      perf-cross.
      
      After removing -fllvm from GhcStage1HcOpts, it should be removed from
      SRC_HC_OPTS as well, because SRC_HC_OPTS are added to every Haskell
      compilation. That's what this patch does.
      
      BuildFlavour bench-cross (added in ddf79ebf),
      is probably never used. But for consistency, also use -fllvm here, for
      building stage2 and the libraries.
      
      Reviewed by: austin
      
      Differential Revision: https://phabricator.haskell.org/D1228
      330fbbda
  5. 07 Sep, 2015 1 commit