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. 07 Feb, 2016 1 commit
    • Ömer Sinan Ağacan's avatar
      validate: enable -DDEBUG in stage 1 by default · 66fa0ed7
      Ömer Sinan Ağacan authored
      Since the whole point of validation is to test the compiler, assertions
      should be enabled at least for some part of the build. Previously
      assertions were only enabled (1) in stage 2 compiler (2) when "slow"
      setting is used. With this patch we enable assertions in stage 1
      compiler in all settings, to test them on (1) the compiler itself (2)
      the libraries, even with the "fast" setting.
      
      This will make "fast" setting slower, but the difference should be quite
      modest - I didn't realize a significant difference in validation times.
      
      Reviewers: bgamari, austin, thomie
      
      Reviewed By: thomie
      
      Differential Revision: https://phabricator.haskell.org/D1890
      66fa0ed7
  3. 27 Jan, 2016 2 commits
  4. 03 Oct, 2015 1 commit
  5. 08 Sep, 2015 1 commit
  6. 07 Sep, 2015 1 commit