1. 27 Aug, 2018 3 commits
  2. 26 Aug, 2018 2 commits
  3. 24 Aug, 2018 1 commit
    • Andrey Mokhov's avatar
      Fix package dependencies (#657) · a804d57a
      Andrey Mokhov authored
      This fixes #654.
      
      There are only two important changes.
      
      1) The first one fixes missing dependencies:
      
      ```diff
      -pkgDependencies = fmap (fmap PD.dependencies) . readPackageDataFile
      +pkgDependencies = fmap (fmap (map pkgName . packageDependencies)) . readCabalFile
      ```
      
      Here `PD.dependencies` returned versioned package names, e.g. `ghc-8.7`, which then failed to match with non-versioned package names such as `ghc` in `contextDependencies`. Switching from `PD.dependencies` to `packageDependencies` fixes this.
      
      2) I clearly remember that we didn't have this bug before, so I added some tests for our package dependency infrastructure to prevent such regressions in future:
      
      ```haskell
      testDependencies :: Action ()
      testDependencies = do
          putBuild "==== pkgDependencies"
          depLists <- mapM (pkgDependencies . vanillaContext Stage1) ghcPackages
          test $ and [ deps == sort deps | Just deps <- depLists ]
          putBuild "==== Dependencies of the 'ghc-bin' binary"
          ghcDeps <- pkgDependencies (vanillaContext Stage1 ghc)
          test $ isJust ghcDeps
          test $ pkgName compiler `elem` fromJust ghcDeps
          stage0Deps <- contextDependencies (vanillaContext Stage0 ghc)
          stage1Deps <- contextDependencies (vanillaContext Stage1 ghc)
          stage2Deps <- contextDependencies (vanillaContext Stage2 ghc)
          test $ vanillaContext Stage0 compiler `notElem` stage1Deps
          test $ vanillaContext Stage1 compiler `elem`    stage1Deps
          test $ vanillaContext Stage2 compiler `notElem` stage1Deps
          test $ stage1Deps /= stage0Deps
          test $ stage1Deps == stage2Deps
      ```
      
      Everything else are cosmetic changes, fixing minor issues in comments, and adding TODOs. To figure out the failure in #654 I had to read some code I didn't write and my hands were automatically fixing some style inconsistencies with the rest of the Hadrian code base. (I'd like to emphasise that I make no judgement about which style is better, it's merely an attempt to make the code base look more homogeneous, which I think is useful.)
      a804d57a
  4. 22 Aug, 2018 1 commit
  5. 05 Aug, 2018 1 commit
  6. 31 Jul, 2018 1 commit
  7. 20 Jul, 2018 1 commit
  8. 19 Jul, 2018 1 commit
  9. 27 Jun, 2018 2 commits
  10. 22 Jun, 2018 1 commit
  11. 20 Jun, 2018 2 commits
    • Chitrak Raj Gupta's avatar
      Add includes to bindist (#632) · 36c9781b
      Chitrak Raj Gupta authored
      * adding include directories
      
      * Adding includes
      
      * Shipping ghci
      36c9781b
    • Chitrak Raj Gupta's avatar
      Remove more validation errors (#628) · d4b9c1fb
      Chitrak Raj Gupta authored
      * Improved GhcCabal library arguments
      
      * setting enviornment for extra programs
      
      * Copied necessary programs
      
      * Added support to generate ghcconfig
        We will need it for properly configuring python command
      
      Some revisions
      
      * Using ghcconfig file for test parameters
      
      * minor changes
      
      * minor revision
      
      * Update Ghc.hs
      d4b9c1fb
  12. 18 Jun, 2018 3 commits
  13. 15 Jun, 2018 3 commits
  14. 14 Jun, 2018 2 commits
    • Chitrak Raj Gupta's avatar
      Add test compiler option to test (#621) · 0b35e12f
      Chitrak Raj Gupta authored
      * Rule for testsuite dependencies
      
      * Added RunTest config options
      
      * added support to set test speed with runtest
      
      * Added support for more testing features
      
      * Rectified Merge Errors
      
      * using all available threads
      
      * Minor Revision
      
      * Removed TestThread argument
      
      * Update Utilities.hs
      
      * Added support to choose test compiler
      
      * Minor Revision
      
      * Added comments
      
      * Update RunTest.hs
      
      * Update CommandLine.hs
      
      * Update RunTest.hs
      0b35e12f
    • Andrey Mokhov's avatar
      Minor revision (#619) · c8666605
      Andrey Mokhov authored
      See #540 
      c8666605
  15. 13 Jun, 2018 3 commits
    • sgillespie's avatar
      c51b92b5
    • Tao He's avatar
      Bump Shake version to 0.16.1. (#618) · ccf6453f
      Tao He authored
      The shake-0.16 can't be built with ghc-8.4.3, due to the
      Semigroup-Monoid-Proposal changes. shake-0.16.1 fixed that.
      ccf6453f
    • Chitrak Raj Gupta's avatar
      Added support for testsuite (#602) · ef4137d7
      Chitrak Raj Gupta authored
      * Rule for testsuite dependencies
      
      * Separated validate builder arguments
      
      * Added RunTest config options
      
      * added support to set test speed with runtest
      
      * Fixed minor bug with testConfigs
      
      Removed indentation error
      
      * Added support for more testing features
      
      * Rectified Merge Errors
      
      * Removed need rule for Hp2ps
      
      * using all available threads
      
      * Minor Revision
      
      * Removed TestThread argument
      
      * Update Utilities.hs
      ef4137d7
  16. 12 Jun, 2018 1 commit
  17. 10 Jun, 2018 1 commit
  18. 06 Jun, 2018 1 commit
  19. 25 May, 2018 1 commit
  20. 18 May, 2018 1 commit
  21. 17 May, 2018 1 commit
    • Alp Mestanogullari's avatar
      Preliminary nofib rule (#599) · d6c4e042
      Alp Mestanogullari authored
      * first draft of a nofib rule
      
      * address some of Andrey's feedback
      
      * refactor nofib into a proper Builder, now runs but one of the programs fails
      
      * more subtle error handling, docs
      
      * get rid of RunNofib builder, invoke commands directly
      d6c4e042
  22. 16 May, 2018 1 commit
  23. 11 May, 2018 2 commits
  24. 10 May, 2018 1 commit
  25. 27 Apr, 2018 3 commits