1. 26 Aug, 2018 1 commit
    • Andrey Mokhov's avatar
      Clean up remaining bits related to ghc-cabal (#658) · 8dc4f73f
      Andrey Mokhov authored
      * Drop ghcCabal package
      * Merge GhcCabal and CabalFlags builders
      * Use more consistent naming
      * Resolve import cycle
      * Rename parseCabal to parseCabalFile
      * Remove outdated references to ghc-cabal from comments
      8dc4f73f
  2. 05 Aug, 2018 1 commit
  3. 20 Jun, 2018 1 commit
    • 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
  4. 15 Jun, 2018 1 commit
  5. 13 Jun, 2018 1 commit
  6. 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
  7. 17 Apr, 2018 1 commit
    • Alp Mestanogullari's avatar
      Generic library rules (#571) · d021ffc3
      Alp Mestanogullari authored
      * wip
      
      * debugging output
      
      * Compute ProjectVersion on demand ONLY!
      
      * remove debugging output, boot with --hadrian
      
      * go back to using -c everywhere in .travis.yml
      
      * prioritise libgmp.a rule over catch-all *.a rule, to avoid conflict
      
      * add missing import
      
      * tentative fix for the appveyor script
      
      * use backslashes in appveyor.yml
      
      * less 'cd'ing around in appveyor.yml
      
      * address most of @snowleopard's feedback
      
      * address last bit of feedback
      d021ffc3
  8. 03 Apr, 2018 3 commits
    • Alp Mestanogullari's avatar
      Preliminary bindist (#558) · 8219f6a4
      Alp Mestanogullari authored
      * Preliminary bindist rule
      
      For now, we only ship `<build root>/{bin, lib}` and the few make build system
      related files that are needed to support a simple
      
      ```
      ./configure [--prefix=PATH] && make install
      ```
      
      workflow. The current binary distributions of GHC support a wider range
      of parameters, but I figured it would be a good thing to start with this
      and enhance it as we all see fit and perhaps using feedback from GHC HQ
      (@bgamari in particular) and bindist users.
      
      * document binary distribution rule in README
      
      * sdist-ghc -> source-dist, Rules.Bindist -> Rules.BinaryDist
      
      * add missing src/Rules/BinaryDist.hs
      8219f6a4
    • Andrey Mokhov's avatar
      Revert "Preliminary bindist rule (#555)" (#557) · 8c2817a3
      Andrey Mokhov authored
      This reverts commit 15797302.
      8c2817a3
    • Alp Mestanogullari's avatar
      Preliminary bindist rule (#555) · 15797302
      Alp Mestanogullari authored
      * Preliminary bindist rule
      
      For now, we only ship `<build root>/{bin, lib}` and the few make build system
      related files that are needed to support a simple
      
      ```
      ./configure [--prefix=PATH] && make install
      ```
      
      workflow. The current binary distributions of GHC support a wider range
      of parameters, but I figured it would be a good thing to start with this
      and enhance it as we all see fit and perhaps using feedback from GHC HQ
      (@bgamari in particular) and bindist users.
      
      * document binary distribution rule in README
      
      * sdist-ghc -> source-dist, Rules.Bindist -> Rules.BinaryDist
      15797302
  9. 30 Mar, 2018 1 commit
    • Alp Mestanogullari's avatar
      Use Cabal directly in place of ghc-cabal + make build root configurable (#531) · 3a68f11c
      Alp Mestanogullari authored
      * Use Cabal directly in place of ghc-cabal; make build root configurable.
      
      This commit implements two significant changes (that were not easy to
      separate):
      
      - Don't use ghc-cabal anymore for getting information about Haskell packages.
        We now instead directly use Cabal-the-library.
      
      - Make the build root configurable. This effectively gets rid of the inplace
        logic and allows us to place _all_ build artefacts in some directory of
        our choice, by passing '--build-root <some path>' to hadrian.
      
      The code for this was mostly taken from #445.
      
      * fix documentation rules
      
      * remove some leftover unrelated, commented-out code
      
      * more documentation fixes, address some feedback
      
      * cleanup
      
      * more cleanup
      
      * boot and configure explicitly in travis CI scripts
      
      * update cabal/ghc versions in .travis.yml (8.0.x not supported anymore)
      
      * temporarily disable dynamic ways in Settings.Default
      
      * update appveyor script
      
      * travis: when booting with 8.2.2, build a complete stage2 compiler
      
      * Fix CI?
      
      Try to fix the CI by adding the `debug` rts way back in.
      
      * Update Quickest.hs
      
      Replicate the make build systems build flavours.
      
      * Update .travis.yml
      
      - Run selftest, and build in separate instances.
      - try with python2
      - and unify mac to stage2
      
      * Update .travis.yml
      
      upgrade python on mac
      
      * [travis] os x: test the freshly built ghc
      
      * Get rid of two unused GhcCabalMode constructors
      
      * fix ghc-split rule, get rid of Install/Wrappers rules
      
      * address more feedback
      
      * ConfiguredCabal -> PackageData, more comments, more feedback addressed
      
      * make the complete stage 2 build the default
      
      * use a dummy package instead of base in Rules.hs
      
      * update CI scripts
      
      * attempt at fixing hadrian's -c option
      
      * .travis.yml: use -c everywhere again
      
      * travis: back to explicit './boot && ./configure'
      
      * update README.md and doc/user-settings.md to reflect configurable build root
      
      * some more feedback
      3a68f11c
  10. 13 Mar, 2018 1 commit
  11. 05 Mar, 2018 1 commit
  12. 28 Feb, 2018 1 commit
  13. 19 Feb, 2018 1 commit
  14. 15 Feb, 2018 1 commit
  15. 07 Feb, 2018 1 commit
  16. 26 Jan, 2018 1 commit
    • Tao He's avatar
      [WIP] Support run GHC's test from hadrian. (#495) · 63a55638
      Tao He authored
      * Support run GHC's test from hadrian.
      
      1. Necessary command line arguments to run test driver.
         + `--test-only=<TEST_CASE>`
         + `--test-skip-perf`
         + `--test-summary=<SUMMARY_FILE>`
         + `--test-junit=<SUMMARY_FILE>`
         + `--test-config=<EXTRA_TEST_CONFIG>`
      2. Synchronize configurations from test.mk.
      3. Synchronize GHC's compilation flags from test.mk (that's very important).
      
      * The `RunTest` builder and `test` rule to run GHC's test.
      * Timeout rules.
      * Reduce boilerplate.
      * Fix warning.
      * Move getTestArgs into Settings.Builders.RunTest.
      * Drop `validate` related code to avoid confusion.
      * Replace explicit `chmod +x` with `makeExecutable`.
      * Fix executable's extension.
      63a55638
  17. 17 Dec, 2017 1 commit
  18. 19 Nov, 2017 2 commits
  19. 10 Nov, 2017 1 commit
  20. 06 Nov, 2017 1 commit
    • Andrey Mokhov's avatar
      Finalise warnings-related arguments (#448) · 438dc576
      Andrey Mokhov authored
      * Fix non-exhaustive pattern match warning
      
      * Move warnings-related settings to a separate module
      
      * Move defaultHsWarningsArgs to Settings.Warnings, add -Wcpp-undef
      
      * Use defaultGhcWarningsArgs in Settings.Builders.Ghc. Add -Wnoncanonical-monad-instances.
      
      * Add warnings for ghc-cabal
      
      * Add RTS warning flags
      
      * Fix build with integer-simple library
      
      * There are no tabs in xhtml
      438dc576
  21. 30 Oct, 2017 1 commit
  22. 29 Oct, 2017 1 commit
  23. 17 Oct, 2017 1 commit
  24. 10 Oct, 2017 1 commit
    • Ben Gamari's avatar
      Fix usage of -with-rtsopts (#429) · e4f98297
      Ben Gamari authored
      When I added `-qg` to the default RTS options in
      57cfa03c (#385) I neglected to consider that it
      the -with-rtsopts flag would override the previous flag setting `-I0`. This
      had the effect of reenabling idle GC, causing GC time to regress terribly. I
      likely didn't notice this since I had passed the flags directly to the `hadrian`
      executable with `+RTS` while testing.
      
      Moreover, I mistakenly wrote `-qg0`, which (somewhat confusingly)
      actually *enables* parallel GC. Instead I wanted to write `-qg`.
      e4f98297
  25. 07 Oct, 2017 1 commit
  26. 22 Sep, 2017 1 commit
  27. 16 Sep, 2017 1 commit
  28. 11 Sep, 2017 1 commit
  29. 02 Sep, 2017 1 commit
  30. 31 Aug, 2017 1 commit
  31. 28 Aug, 2017 1 commit
  32. 26 Aug, 2017 1 commit
  33. 19 Aug, 2017 1 commit
  34. 18 Aug, 2017 1 commit
  35. 17 Aug, 2017 2 commits
  36. 16 Aug, 2017 1 commit