hadrian.git
12 months agoDo not always add -Iincludes to C arguments (#610) upstream/master
Alp Mestanogullari [Wed, 6 Jun 2018 20:26:13 +0000 (22:26 +0200)] 
Do not always add -Iincludes to C arguments (#610)

12 months agoAdd ghc-heap
Andrey Mokhov [Fri, 25 May 2018 22:17:48 +0000 (00:17 +0200)] 
Add ghc-heap

13 months agoremove (unnecessary) recursive dependency involving ghcPath (#606)
Alp Mestanogullari [Fri, 18 May 2018 09:58:12 +0000 (11:58 +0200)] 
remove (unnecessary) recursive dependency involving ghcPath (#606)

13 months agoPreliminary nofib rule (#599)
Alp Mestanogullari [Thu, 17 May 2018 13:19:06 +0000 (15:19 +0200)] 
Preliminary nofib rule (#599)

* 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

13 months agoAdd dependency on the new "llvm-passes" file. (#604)
Kavon Farvardin [Wed, 16 May 2018 23:28:04 +0000 (18:28 -0500)] 
Add dependency on the new "llvm-passes" file. (#604)

For details, see https://phabricator.haskell.org/D4695

13 months agoAdd checkPpr package and infrastructure for testsuite packages (#596)
Andrey Mokhov [Fri, 11 May 2018 22:28:56 +0000 (00:28 +0200)] 
Add checkPpr package and infrastructure for testsuite packages (#596)

See #593

13 months agoFix redundant import, minor revision
Andrey Mokhov [Fri, 11 May 2018 20:33:17 +0000 (22:33 +0200)] 
Fix redundant import, minor revision

13 months agoFix unlit by placing it under lib/bin/ instead of bin/ (#591)
Alp Mestanogullari [Thu, 10 May 2018 22:29:34 +0000 (00:29 +0200)] 
Fix unlit by placing it under lib/bin/ instead of bin/ (#591)

A nicer fix would involve patching GHC to not just look under
$libexec/ but also under the directory where the GHC binary itself lives
(bin/ for hadrian), so that we can leave all binaries under bin/.

Addresses Trac #15132.

13 months agoAdd all the default-on extensions to build.global-db.bat (#587)
Neil Mitchell [Fri, 27 Apr 2018 21:52:49 +0000 (22:52 +0100)] 
Add all the default-on extensions to build.global-db.bat (#587)

13 months agoUpdate cross-compiling doc (#586)
Zhen Zhang [Fri, 27 Apr 2018 10:59:47 +0000 (18:59 +0800)] 
Update cross-compiling doc (#586)

13 months agoFix missing symbols when cross-compiling (#583)
Zhen Zhang [Fri, 27 Apr 2018 10:57:59 +0000 (18:57 +0800)] 
Fix missing symbols when cross-compiling (#583)

13 months agoLink to Quick Start guide
Andrey Mokhov [Tue, 24 Apr 2018 10:27:09 +0000 (11:27 +0100)] 
Link to Quick Start guide

13 months agoUpdate README.md (#578)
Alp Mestanogullari [Mon, 23 Apr 2018 12:21:55 +0000 (14:21 +0200)] 
Update README.md (#578)

I noticed that one sentence from the README is out of date, so here's a tentative wording that reflects the current state of things.

14 months agoFix AppVeyor (#577)
Andrey Mokhov [Wed, 18 Apr 2018 00:34:10 +0000 (01:34 +0100)] 
Fix AppVeyor (#577)

* Copy inplace/mingw to the build root

* Run Hadrian with -c on AppVeyor

14 months agoFix path to GHC
Andrey Mokhov [Tue, 17 Apr 2018 19:32:56 +0000 (20:32 +0100)] 
Fix path to GHC

See #541

14 months agoFix CircleCI
Andrey Mokhov [Tue, 17 Apr 2018 18:48:16 +0000 (19:48 +0100)] 
Fix CircleCI

14 months agoFix warning
Andrey Mokhov [Tue, 17 Apr 2018 18:47:29 +0000 (19:47 +0100)] 
Fix warning

14 months agoGeneric library rules (#571)
Alp Mestanogullari [Tue, 17 Apr 2018 17:03:36 +0000 (19:03 +0200)] 
Generic library rules (#571)

* 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

14 months agoSpeed up AppVeyor build
Andrey Mokhov [Tue, 17 Apr 2018 00:44:03 +0000 (01:44 +0100)] 
Speed up AppVeyor build

14 months agoFix lint error (#575)
Andrey Mokhov [Tue, 17 Apr 2018 00:31:33 +0000 (01:31 +0100)] 
Fix lint error (#575)

* Minor revision

* Use untracked doesFileExist

14 months agoFix missing libHSghc-8.5-0.a (#574)
Andrey Mokhov [Mon, 16 Apr 2018 22:29:25 +0000 (23:29 +0100)] 
Fix missing libHSghc-8.5-0.a (#574)

* Drop support for lib0 libraries

See #573

* Minor refactoring

14 months agoFix the path to touchy (#572)
Andrey Mokhov [Mon, 16 Apr 2018 19:01:00 +0000 (20:01 +0100)] 
Fix the path to touchy (#572)

* Fix the path to touchy

* Allow binaries to live in lib/bin

14 months agoFix integer-gmp build (#568)
Andrey Mokhov [Mon, 16 Apr 2018 01:10:17 +0000 (02:10 +0100)] 
Fix integer-gmp build (#568)

* Fix path to GMP's config.mk

* Minor revision

* Relocate GMP's build artefacts

14 months agoUndo fs*.h workaround
Andrey Mokhov [Fri, 13 Apr 2018 00:00:54 +0000 (01:00 +0100)] 
Undo fs*.h workaround

See #554

14 months agoFix copying of fs*.h files during RTS registration (#566)
Andrey Mokhov [Thu, 12 Apr 2018 01:32:31 +0000 (02:32 +0100)] 
Fix copying of fs*.h files during RTS registration (#566)

* Fix indentation

* Pass the verbosity setting to Cabal

* Add a workaround for missing fs.h files

14 months agoFix Windows build, improve error reporting (#565)
Andrey Mokhov [Wed, 11 Apr 2018 22:23:50 +0000 (23:23 +0100)] 
Fix Windows build, improve error reporting (#565)

* Print diagnostic info in verbose mode

* Try enable-distro-toolchain

* Improve error handling

14 months agoFix Windows build (#563)
Andrey Mokhov [Tue, 10 Apr 2018 02:22:31 +0000 (03:22 +0100)] 
Fix Windows build (#563)

Fix copyFile failure on Windows plus minor revision

14 months agoFix boot and configure on AppVeyor (#561)
Andrey Mokhov [Sun, 8 Apr 2018 19:53:49 +0000 (20:53 +0100)] 
Fix boot and configure on AppVeyor  (#561)

* 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

14 months agoPreliminary bindist (#558)
Alp Mestanogullari [Tue, 3 Apr 2018 19:42:39 +0000 (21:42 +0200)] 
Preliminary bindist (#558)

* 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

14 months agoRevert "Preliminary bindist rule (#555)" (#557)
Andrey Mokhov [Tue, 3 Apr 2018 16:53:28 +0000 (17:53 +0100)] 
Revert "Preliminary bindist rule (#555)" (#557)

This reverts commit 15797302751614fba8da15f59de588be7841dd27.

14 months agoPreliminary bindist rule (#555)
Alp Mestanogullari [Tue, 3 Apr 2018 16:22:55 +0000 (18:22 +0200)] 
Preliminary bindist rule (#555)

* 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

14 months agoUnregister stage0 package first if it needs to be cloned (#552)
Zhen Zhang [Tue, 3 Apr 2018 13:33:03 +0000 (21:33 +0800)] 
Unregister stage0 package first if it needs to be cloned (#552)

Fixes #543

14 months agoFix Circle CI (#553)
Zhen Zhang [Tue, 3 Apr 2018 08:52:20 +0000 (16:52 +0800)] 
Fix Circle CI (#553)

14 months agoFix warnings (#547)
Andrey Mokhov [Tue, 3 Apr 2018 08:45:05 +0000 (09:45 +0100)] 
Fix warnings (#547)

* Fix warnings

* Link to GitHub issues

See #544

14 months agoMerge pull request #542 from Mistuke/fix-specific-file
Moritz Angermann [Sat, 31 Mar 2018 04:58:55 +0000 (12:58 +0800)] 
Merge pull request #542 from Mistuke/fix-specific-file

Move rts I/O Functions in different namespace.

14 months agoUse Cabal directly in place of ghc-cabal + make build root configurable (#531)
Alp Mestanogullari [Fri, 30 Mar 2018 18:31:03 +0000 (20:31 +0200)] 
Use Cabal directly in place of ghc-cabal + make build root configurable (#531)

* 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

14 months agofix end
Tamar Christina [Tue, 27 Mar 2018 23:53:12 +0000 (00:53 +0100)] 
fix end

14 months agoAdd user-defined flavour example for turning off dynamic linking (#535)
Alp Mestanogullari [Thu, 22 Mar 2018 00:38:11 +0000 (01:38 +0100)] 
Add user-defined flavour example for turning off dynamic linking (#535)

See #534 and https://ghc.haskell.org/trac/ghc/ticket/10536

14 months agoAdd clean routines for fs (#533)
Tamar Christina [Tue, 20 Mar 2018 08:51:53 +0000 (08:51 +0000)] 
Add clean routines for fs (#533)

15 months agoAdd 'git' to nativeBuildInputs in shell.nix (#530)
Vladislav Zavialov [Mon, 19 Mar 2018 13:41:26 +0000 (16:41 +0300)] 
Add 'git' to nativeBuildInputs in shell.nix (#530)

15 months agoAdd extra include paths when invoking ghc-cabal (#526)
Andrey Mokhov [Wed, 14 Mar 2018 19:34:29 +0000 (19:34 +0000)] 
Add extra include paths when invoking ghc-cabal (#526)

See #523

15 months agoMerge pull request #528 from snowleopard/bump-cabal
Andrey Mokhov [Tue, 13 Mar 2018 21:36:42 +0000 (21:36 +0000)] 
Merge pull request #528 from snowleopard/bump-cabal

Bump Cabal version

15 months agoBump Cabal version
Andrey Mokhov [Tue, 13 Mar 2018 21:21:03 +0000 (21:21 +0000)] 
Bump Cabal version

See #527

15 months agoMerge pull request #521 from snowleopard/drop-chmod
Andrey Mokhov [Mon, 5 Mar 2018 03:17:48 +0000 (03:17 +0000)] 
Merge pull request #521 from snowleopard/drop-chmod

Drop the no longer necessary chmod

15 months agoFix Hadrian after Cabal changes
Andrey Mokhov [Mon, 5 Mar 2018 02:43:47 +0000 (02:43 +0000)] 
Fix Hadrian after Cabal changes

15 months agoDrop the no longer necessary chmod
Andrey Mokhov [Mon, 5 Mar 2018 02:08:14 +0000 (02:08 +0000)] 
Drop the no longer necessary chmod

See #517

15 months agoChange permission bits for build.cabal.sh, fixes #517 (#520)
Zhen Zhang [Mon, 5 Mar 2018 01:59:05 +0000 (09:59 +0800)] 
Change permission bits for build.cabal.sh, fixes #517 (#520)

15 months agoPin nixpkgs and all-cabal-hashes in shell.nix (#511)
Matthew Pickering [Wed, 28 Feb 2018 18:09:34 +0000 (18:09 +0000)] 
Pin nixpkgs and all-cabal-hashes in shell.nix (#511)

* Pin shell.nix

Also adds a new option to build `cabal-install` HEAD which is
sometimes useful.

* Bump QuickCheck bound

* Remove cabal-install which snuck in

15 months agoAdd troubleshooting section
Andrey Mokhov [Tue, 27 Feb 2018 12:44:21 +0000 (12:44 +0000)] 
Add troubleshooting section

See #308

15 months agoMake shell.nix less broken (#510) upstream/ghc-8.4
Sebastian Graf [Fri, 23 Feb 2018 15:50:23 +0000 (16:50 +0100)] 
Make shell.nix less broken (#510)

* shell.nix: Use ghc822 (ghc821 is no longer available)

* shell.nix: It's nativeBuildInputs now

* shell.nix: ./validate needs sphinx to be available

15 months agoAdd --configure flag to the script
Andrey Mokhov [Thu, 22 Feb 2018 18:55:36 +0000 (18:55 +0000)] 
Add --configure flag to the script

See #508

15 months agoUndo iserv changes (#507)
Andrey Mokhov [Tue, 20 Feb 2018 21:05:09 +0000 (21:05 +0000)] 
Undo iserv changes (#507)

* Undo iserv changes

See #504 and https://phabricator.haskell.org/D4377

* Update comments

15 months agoFix ghc-cabal: Parsec modules are now found in libraries/parsec/src (#506)
Ben Gamari [Tue, 20 Feb 2018 14:05:55 +0000 (09:05 -0500)] 
Fix ghc-cabal: Parsec modules are now found in libraries/parsec/src (#506)

This has been the case since haskell/parsec@89d4541.

15 months agoMove a bunch of types into dedicated modules (#502)
Alp Mestanogullari [Mon, 19 Feb 2018 20:23:10 +0000 (21:23 +0100)] 
Move a bunch of types into dedicated modules (#502)

* move a bunch of types into dedicated modules

* address review feedback

* do away with Hadrian.Builder.Mode for now

15 months agoAdd --quickjump to Haddock (#505)
Andrey Mokhov [Sun, 18 Feb 2018 20:17:11 +0000 (20:17 +0000)] 
Add --quickjump to Haddock (#505)

Also reorder other flags as in the Make build system

See https://phabricator.haskell.org/D4365

16 months agoAdd iserv library (#504)
Andrey Mokhov [Sat, 17 Feb 2018 00:18:01 +0000 (00:18 +0000)] 
Add iserv library (#504)

See https://phabricator.haskell.org/D4377

16 months agoMerge pull request #503 from snowleopard/angerman-patch-1
Andrey Mokhov [Thu, 15 Feb 2018 11:48:57 +0000 (11:48 +0000)] 
Merge pull request #503 from snowleopard/angerman-patch-1

Relax Cabal constraint

16 months agoRelax Cabal constraint
Moritz Angermann [Thu, 15 Feb 2018 10:29:19 +0000 (18:29 +0800)] 
Relax Cabal constraint

As the Cabal 2.2 release branch has been cut, we need to relax the constraint on Cabal in hadrian.

16 months agoMerge pull request #500 from snowleopard/runtime-deps
Andrey Mokhov [Fri, 9 Feb 2018 11:22:05 +0000 (11:22 +0000)] 
Merge pull request #500 from snowleopard/runtime-deps

Add support for runtime dependencies

16 months agoAdd unlit to GHC's runtime dependencies
Andrey Mokhov [Fri, 9 Feb 2018 02:30:00 +0000 (02:30 +0000)] 
Add unlit to GHC's runtime dependencies

16 months agoMinor revision
Andrey Mokhov [Fri, 9 Feb 2018 02:23:44 +0000 (02:23 +0000)] 
Minor revision

16 months agoAdd support for runtime dependencies
Andrey Mokhov [Fri, 9 Feb 2018 01:32:55 +0000 (01:32 +0000)] 
Add support for runtime dependencies

16 months agoFix Hadrian after Cabal changes (#498)
Andrey Mokhov [Wed, 7 Feb 2018 02:50:26 +0000 (02:50 +0000)] 
Fix Hadrian after Cabal changes (#498)

* Fix Hadrian after Cabal changes

* Bump Cabal's lower bound

16 months agoDrop custom logic for Scav_thr and Evac_thr (#497)
Andrey Mokhov [Sun, 4 Feb 2018 02:31:10 +0000 (02:31 +0000)] 
Drop custom logic for Scav_thr and Evac_thr (#497)

See https://phabricator.haskell.org/D3237

16 months agoFix Haddock (#496)
Andrey Mokhov [Sat, 3 Feb 2018 01:56:47 +0000 (01:56 +0000)] 
Fix Haddock (#496)

See #492.

16 months ago[WIP] Support run GHC's test from hadrian. (#495)
HE, Tao [Fri, 26 Jan 2018 13:10:48 +0000 (07:10 -0600)] 
[WIP] Support run GHC's test from hadrian. (#495)

* 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.

18 months agoFix broken colours with `-j` (#484)
Patrick Dougherty [Sun, 17 Dec 2017 02:25:50 +0000 (20:25 -0600)] 
Fix broken colours with `-j` (#484)

* Fix colours

* Simplify data types

* Fix doc typo

18 months agoDrop redundant dependencies on in-tree packages (#491)
Andrey Mokhov [Thu, 14 Dec 2017 02:32:37 +0000 (02:32 +0000)] 
Drop redundant dependencies on in-tree packages (#491)

See #481

18 months agoFix CI (#489)
Andrey Mokhov [Mon, 11 Dec 2017 21:43:25 +0000 (21:43 +0000)] 
Fix CI (#489)

Delete the .git folder explicitly

18 months agoAdd a free ACM download link for the paper
Andrey Mokhov [Mon, 11 Dec 2017 19:43:31 +0000 (19:43 +0000)] 
Add a free ACM download link for the paper

Fix #488

18 months agoDrop -Werror (#487)
Andrey Mokhov [Tue, 5 Dec 2017 23:40:06 +0000 (23:40 +0000)] 
Drop -Werror (#487)

* Drop -Werror from default arguments

See #483, #485.

18 months agoExtend ghcHEAD derivation rather than make a new derivation (#486)
Matthew Pickering [Tue, 5 Dec 2017 21:23:50 +0000 (21:23 +0000)] 
Extend ghcHEAD derivation rather than make a new derivation (#486)

This allows you to use configurePhase/buildPhase as usual and
set the right configureFlags rather than end up with a broken
executable.

18 months agoFollow GHC changes (#479)
Andrey Mokhov [Mon, 20 Nov 2017 22:51:40 +0000 (22:51 +0000)] 
Follow GHC changes (#479)

18 months agoAdd ways to build hadrian using nix (#473)
Moritz Angermann [Mon, 20 Nov 2017 20:06:25 +0000 (04:06 +0800)] 
Add ways to build hadrian using nix (#473)

* Add ways to build hadrian using nix

This adds two new files to the hadrian directory

    shell.nix sets up the build envrionment you need to build ghc
    build-nix is a simple wrapper which invokes hadrian in the correct environment

Note: this patch was authored by @mpickering, however it ended up on phabricator due to the subtree as https://phabricator.haskell.org/D4207.

* Comments and renamed build-nix

18 months agoDo not depend on the in-tree filepath library (#478)
Andrey Mokhov [Mon, 20 Nov 2017 05:00:22 +0000 (05:00 +0000)] 
Do not depend on the in-tree filepath library (#478)

See #465, #466

18 months agoFix dependencies (#477)
Andrey Mokhov [Mon, 20 Nov 2017 03:26:15 +0000 (03:26 +0000)] 
Fix dependencies (#477)

See #464

* Drop non-source dependencies during compilation

* Drop duplicated dependencies on package configuration

* Compute transitive closure of context dependencies

* Don't depend on a temporary file

18 months agoBring mtl dependency back
Andrey Mokhov [Sun, 19 Nov 2017 16:50:58 +0000 (16:50 +0000)] 
Bring mtl dependency back

18 months agoMinor clean up of Hadrian dependencies
Andrey Mokhov [Sun, 19 Nov 2017 15:25:26 +0000 (15:25 +0000)] 
Minor clean up of Hadrian dependencies

18 months agoFix Windows build
Andrey Mokhov [Sun, 19 Nov 2017 01:17:15 +0000 (01:17 +0000)] 
Fix Windows build

See https://phabricator.haskell.org/D4121#117481

19 months agoUnbreak `cabal new-build` (#466)
Herbert Valerio Riedel [Thu, 16 Nov 2017 13:33:12 +0000 (14:33 +0100)] 
Unbreak `cabal new-build` (#466)

Using a local `filepath` forces new-build to build the
non-local build-tool `alex` as in-place which however isn't supported properly
by `cabal new-build` yet (this will be fixed at the earliest in cabal 2.2) and thus
breaks `hadrian/build.sh` for me.

19 months agohadrian: Disable -Wno-undef in files which include ffi.h (#459)
Ben Gamari [Tue, 14 Nov 2017 17:15:42 +0000 (12:15 -0500)] 
hadrian: Disable -Wno-undef in files which include ffi.h (#459)

As pointed out in D4181, these headers refer to undefined macros.

19 months agoDo not run configure by default (#458)
Andrey Mokhov [Sun, 12 Nov 2017 11:51:25 +0000 (11:51 +0000)] 
Do not run configure by default (#458)

See #457

* Do not run configure by default

* Enable automated configure on CI

* Update docs

19 months agoFix AppVeyor cache failure (#456)
Andrey Mokhov [Sat, 11 Nov 2017 17:23:14 +0000 (17:23 +0000)] 
Fix AppVeyor cache failure (#456)

19 months agoFix ghc-cabal build (#455)
Andrey Mokhov [Sat, 11 Nov 2017 14:47:51 +0000 (14:47 +0000)] 
Fix ghc-cabal build (#455)

See #395, #453

19 months agoFix CI scripts (#454)
Andrey Mokhov [Sat, 11 Nov 2017 02:57:38 +0000 (02:57 +0000)] 
Fix CI scripts (#454)

See #453

19 months agoWiden bounds on Cabal (#452)
Ben Gamari [Fri, 10 Nov 2017 19:46:15 +0000 (14:46 -0500)] 
Widen bounds on Cabal (#452)

GHC's `master` branch now sits on a snapshot of Cabal 2.1.0.0

19 months agoDrop GccLtXX flags, require GCC > 4.7 and up (#450)
Zhen Zhang [Tue, 7 Nov 2017 15:14:45 +0000 (23:14 +0800)] 
Drop GccLtXX flags, require GCC > 4.7 and up (#450)

See https://github.com/snowleopard/hadrian/issues/449.

19 months agoFinalise warnings-related arguments (#448)
Andrey Mokhov [Mon, 6 Nov 2017 01:28:34 +0000 (01:28 +0000)] 
Finalise warnings-related arguments (#448)

* 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

19 months agoUpdate stage1Only docs
Andrey Mokhov [Sun, 5 Nov 2017 13:40:47 +0000 (13:40 +0000)] 
Update stage1Only docs

See #440

19 months agoUpdate documentation
Andrey Mokhov [Sun, 5 Nov 2017 13:13:04 +0000 (13:13 +0000)] 
Update documentation

See #347, #440

19 months agoAdd a note on doc/flavours.md
Andrey Mokhov [Sun, 5 Nov 2017 00:50:14 +0000 (00:50 +0000)] 
Add a note on doc/flavours.md

19 months agoThreaded is no longer conditional in the quickest flavour
Andrey Mokhov [Sun, 5 Nov 2017 00:40:54 +0000 (00:40 +0000)] 
Threaded is no longer conditional in the quickest flavour

See #414

19 months agoFinalise documentation build rule (#447)
Andrey Mokhov [Sat, 4 Nov 2017 23:30:56 +0000 (23:30 +0000)] 
Finalise documentation build rule (#447)

* Drop --haddock flag and always build Haddock and xthml

See #414

* Reorder imports

* Update README

See #414

19 months agoRemove the git clone step, preparing for the merge
Andrey Mokhov [Sat, 4 Nov 2017 00:04:47 +0000 (00:04 +0000)] 
Remove the git clone step, preparing for the merge

See #440

[skip ci]

19 months agoMake sure build scripts can be run from outside Hadrian directory
Andrey Mokhov [Fri, 3 Nov 2017 23:24:53 +0000 (23:24 +0000)] 
Make sure build scripts can be run from outside Hadrian directory

See #440

19 months agoAdd a note on building documentation
Andrey Mokhov [Wed, 1 Nov 2017 12:03:12 +0000 (12:03 +0000)] 
Add a note on building documentation

See #414

19 months agoUpdate cross-compile.md
Andrey Mokhov [Mon, 30 Oct 2017 03:19:55 +0000 (03:19 +0000)] 
Update cross-compile.md

[skip ci]

See #428

19 months agoUpdate README.md
Andrey Mokhov [Mon, 30 Oct 2017 03:14:53 +0000 (03:14 +0000)] 
Update README.md

[skip ci]

See #428

19 months agoMove Sphinx builder into the library
Andrey Mokhov [Mon, 30 Oct 2017 02:03:32 +0000 (02:03 +0000)] 
Move Sphinx builder into the library

See #347

19 months agoMove Tar builder into the library
Andrey Mokhov [Sun, 29 Oct 2017 22:21:56 +0000 (22:21 +0000)] 
Move Tar builder into the library

See #347