Skip to content
Snippets Groups Projects
  1. Apr 08, 2018
    • Andrey Mokhov's avatar
      Fix boot and configure on AppVeyor (#561) · 3465caf8
      Andrey Mokhov authored
      * Call the boot script using the right Python interpreter
      
      * Install Python3
      
      * Call boot and configure from Stack environment
      
      * Stay in Hadrian directory
      
      * Fix path to Stack
      
      * Fix slashes
      
      * Use bash to run configure
      3465caf8
  2. Apr 03, 2018
    • Alp Mestanogullari's avatar
      Preliminary bindist (#558) · 8219f6a4
      Alp Mestanogullari authored and Andrey Mokhov's avatar Andrey Mokhov committed
      * 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 and Andrey Mokhov's avatar Andrey Mokhov committed
      * 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
    • Zhen Zhang's avatar
      Unregister stage0 package first if it needs to be cloned (#552) · a8ad5af8
      Zhen Zhang authored and Andrey Mokhov's avatar Andrey Mokhov committed
      Fixes #543
      a8ad5af8
    • Zhen Zhang's avatar
      Fix Circle CI (#553) · 591c4252
      Zhen Zhang authored and Andrey Mokhov's avatar Andrey Mokhov committed
      591c4252
    • Andrey Mokhov's avatar
      Fix warnings (#547) · 659b18d5
      Andrey Mokhov authored
      * Fix warnings
      
      * Link to GitHub issues
      
      See #544
      659b18d5
  3. Mar 31, 2018
  4. Mar 30, 2018
    • Alp Mestanogullari's avatar
      Use Cabal directly in place of ghc-cabal + make build root configurable (#531) · 3a68f11c
      Alp Mestanogullari authored and Andrey Mokhov's avatar Andrey Mokhov committed
      * 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
  5. Mar 27, 2018
  6. Mar 22, 2018
  7. Mar 20, 2018
  8. Mar 19, 2018
  9. Mar 14, 2018
  10. Mar 13, 2018
  11. Mar 05, 2018
  12. Feb 28, 2018
  13. Feb 27, 2018
  14. Feb 23, 2018
  15. Feb 22, 2018
  16. Feb 20, 2018
  17. Feb 19, 2018
  18. Feb 18, 2018
  19. Feb 17, 2018
  20. Feb 15, 2018
  21. Feb 09, 2018
  22. Feb 07, 2018
  23. Feb 04, 2018
  24. Feb 03, 2018
  25. Jan 26, 2018
    • Tao He's avatar
      [WIP] Support run GHC's test from hadrian. (#495) · 63a55638
      Tao He authored and Andrey Mokhov's avatar Andrey Mokhov committed
      * 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
  26. Dec 17, 2017
Loading