hadrian.git
2 years agoFix merge conflicts
Andrey Mokhov [Wed, 16 Aug 2017 02:47:39 +0000 (03:47 +0100)] 
Fix merge conflicts

2 years agoMajor refactoring of path settings
Andrey Mokhov [Wed, 16 Aug 2017 02:45:51 +0000 (03:45 +0100)] 
Major refactoring of path settings

* Move buildRoot into the Action monad, so it can be configured from command line in future

* Move settings from Setting.Path to Base and Context

* Simplify build rule matching and prepare to factoring out common build rules into the library, #347

2 years agoMove need of inplaceLibCopyTargets to top-level (#388)
Zhen Zhang [Tue, 15 Aug 2017 12:34:32 +0000 (20:34 +0800)] 
Move need of inplaceLibCopyTargets to top-level (#388)

2 years agoRe-export Dynamic and Typeable bits
Andrey Mokhov [Tue, 15 Aug 2017 01:11:02 +0000 (02:11 +0100)] 
Re-export Dynamic and Typeable bits

2 years agoFix compile error on GHC 8.2+
Andrey Mokhov [Mon, 14 Aug 2017 23:44:24 +0000 (00:44 +0100)] 
Fix compile error on GHC 8.2+

2 years agoMove file system operations to the library
Andrey Mokhov [Mon, 14 Aug 2017 23:31:47 +0000 (00:31 +0100)] 
Move file system operations to the library

See #347

2 years agoRefactor command line arguments and flavours
Andrey Mokhov [Mon, 14 Aug 2017 22:12:52 +0000 (23:12 +0100)] 
Refactor command line arguments and flavours

* Get rid of unsafePerformIO using shakeExtra
* Move diagnostic info utilities to the library

See #347

2 years agoProvide more useful ToPredicate instances
Andrey Mokhov [Mon, 14 Aug 2017 22:07:05 +0000 (23:07 +0100)] 
Provide more useful ToPredicate instances

2 years agoClean up imports
Andrey Mokhov [Sun, 13 Aug 2017 23:05:10 +0000 (00:05 +0100)] 
Clean up imports

2 years agoAdd default extensions to .ghci
Andrey Mokhov [Sun, 13 Aug 2017 22:44:07 +0000 (23:44 +0100)] 
Add default extensions to .ghci

2 years agoMake most extensions default, minor clean up
Andrey Mokhov [Sun, 13 Aug 2017 22:30:16 +0000 (23:30 +0100)] 
Make most extensions default, minor clean up

2 years agoDrop Oracles.Dependencies moving code to the library and Utilities (former Util)
Andrey Mokhov [Sun, 13 Aug 2017 22:20:18 +0000 (23:20 +0100)] 
Drop Oracles.Dependencies moving code to the library and Utilities (former Util)

2 years agoExtend KeyValue oracle to handle lists of values
Andrey Mokhov [Sun, 13 Aug 2017 17:26:45 +0000 (18:26 +0100)] 
Extend KeyValue oracle to handle lists of values

2 years agoMerge Rules.Oracles into Rules
Andrey Mokhov [Sun, 13 Aug 2017 15:34:01 +0000 (16:34 +0100)] 
Merge Rules.Oracles into Rules

2 years agoRe-export basic data type definitions from Base
Andrey Mokhov [Sun, 13 Aug 2017 02:20:46 +0000 (03:20 +0100)] 
Re-export basic data type definitions from Base

2 years agoMove putColoured to the library
Andrey Mokhov [Sat, 12 Aug 2017 23:49:18 +0000 (00:49 +0100)] 
Move putColoured to the library

See #347

2 years agoFix package registration
Andrey Mokhov [Sat, 12 Aug 2017 21:27:54 +0000 (22:27 +0100)] 
Fix package registration

2 years agoMinor revision
Andrey Mokhov [Sat, 12 Aug 2017 20:51:16 +0000 (21:51 +0100)] 
Minor revision

2 years agoReplace Config oracle with generic key-value text file oracle
Andrey Mokhov [Wed, 9 Aug 2017 22:39:23 +0000 (23:39 +0100)] 
Replace Config oracle with generic key-value text file oracle

See #347

2 years agoSimplify oracles
Andrey Mokhov [Tue, 8 Aug 2017 21:53:25 +0000 (22:53 +0100)] 
Simplify oracles

2 years agoMove the Config oracle to the library
Andrey Mokhov [Mon, 7 Aug 2017 00:58:05 +0000 (01:58 +0100)] 
Move the Config oracle to the library

See #347

2 years agoMinor revision
Andrey Mokhov [Mon, 7 Aug 2017 00:19:34 +0000 (01:19 +0100)] 
Minor revision

2 years agoDrop append, simplify
Andrey Mokhov [Sun, 6 Aug 2017 23:25:42 +0000 (00:25 +0100)] 
Drop append, simplify

2 years agoFactor out generic predicates into the library
Andrey Mokhov [Sun, 6 Aug 2017 22:18:51 +0000 (23:18 +0100)] 
Factor out generic predicates into the library

See #347

2 years agoMerge Predicate into Expression
Andrey Mokhov [Sun, 6 Aug 2017 21:27:23 +0000 (22:27 +0100)] 
Merge Predicate into Expression

2 years agoMerge all generators into a single file, factor our common functionality into the...
Andrey Mokhov [Sun, 6 Aug 2017 13:17:06 +0000 (14:17 +0100)] 
Merge all generators into a single file, factor our common functionality into the library.

See #347

2 years agoFactor out general functionality of path oracles to the library
Andrey Mokhov [Sun, 6 Aug 2017 01:17:59 +0000 (02:17 +0100)] 
Factor out general functionality of path oracles to the library

See #347

2 years agoMove DirectoryContents oracle to the library
Andrey Mokhov [Sun, 6 Aug 2017 00:31:02 +0000 (01:31 +0100)] 
Move DirectoryContents oracle to the library

See #347

2 years agoMinor revision
Andrey Mokhov [Sun, 6 Aug 2017 00:24:06 +0000 (01:24 +0100)] 
Minor revision

2 years agoMove ArgsHash oracle to the library
Andrey Mokhov [Sat, 5 Aug 2017 23:55:44 +0000 (00:55 +0100)] 
Move ArgsHash oracle to the library

See #347

2 years agoUse Cabal build scripts on CI
Andrey Mokhov [Sat, 5 Aug 2017 10:34:34 +0000 (11:34 +0100)] 
Use Cabal build scripts on CI

2 years agoFactor out generic build infrastructure
Andrey Mokhov [Sat, 5 Aug 2017 00:02:57 +0000 (01:02 +0100)] 
Factor out generic build infrastructure

See #347

2 years agoFix warnings
Andrey Mokhov [Fri, 4 Aug 2017 20:15:29 +0000 (21:15 +0100)] 
Fix warnings

2 years agoDrop redundant line
Andrey Mokhov [Wed, 2 Aug 2017 10:39:41 +0000 (11:39 +0100)] 
Drop redundant line

See #386

2 years agocabal-install-2.x can new-build (#386)
Oleg Grenrus [Wed, 2 Aug 2017 10:33:09 +0000 (13:33 +0300)] 
cabal-install-2.x can new-build (#386)

2 years agoClean the source tree before building source distribution
Andrey Mokhov [Wed, 2 Aug 2017 01:51:38 +0000 (02:51 +0100)] 
Clean the source tree before building source distribution

See #384

2 years agoSwitch to building using GHC 8.0.2 and GHC 8.2.1 on Travis
Andrey Mokhov [Wed, 2 Aug 2017 00:02:58 +0000 (01:02 +0100)] 
Switch to building using GHC 8.0.2 and GHC 8.2.1 on Travis

2 years agoFix AppVeyor
Andrey Mokhov [Tue, 1 Aug 2017 23:56:08 +0000 (00:56 +0100)] 
Fix AppVeyor

See #336

2 years agoBump to lts-9.0
Andrey Mokhov [Tue, 1 Aug 2017 23:11:18 +0000 (00:11 +0100)] 
Bump to lts-9.0

See #292, #336

2 years agoFix profiled GHC context
Andrey Mokhov [Tue, 1 Aug 2017 00:39:38 +0000 (01:39 +0100)] 
Fix profiled GHC context

See #387

2 years agoUse GHC to compile C files (#380)
Zhen Zhang [Sat, 29 Jul 2017 10:37:58 +0000 (18:37 +0800)] 
Use GHC to compile C files (#380)

2 years agoDisable parallel garbage collection (#385)
Ben Gamari [Sat, 29 Jul 2017 10:28:14 +0000 (06:28 -0400)] 
Disable parallel garbage collection (#385)

This brings productivity from roughly 40% to 95%. With parallel GC we generally
spend much of our time synchronizing between the GC threads and relatively
little time doing productive work.

2 years agoDon't echo
Andrey Mokhov [Fri, 28 Jul 2017 21:22:18 +0000 (22:22 +0100)] 
Don't echo

2 years agoPart 1 of the Great Refactoring of the Expression
Andrey Mokhov [Thu, 27 Jul 2017 01:58:55 +0000 (02:58 +0100)] 
Part 1 of the Great Refactoring of the Expression

See #347

2 years agoBump Cabal library version, fix AppVeyor build
Andrey Mokhov [Wed, 26 Jul 2017 22:35:27 +0000 (23:35 +0100)] 
Bump Cabal library version, fix AppVeyor build

2 years agoDrop redundant imports
Andrey Mokhov [Wed, 26 Jul 2017 22:07:14 +0000 (23:07 +0100)] 
Drop redundant imports

2 years agoFix validate's hsc2hs dependency (#375) (#378)
Zhen Zhang [Sun, 23 Jul 2017 18:08:42 +0000 (02:08 +0800)] 
Fix validate's hsc2hs dependency (#375) (#378)

2 years agoFix validate's executable dependency (#375)
Zhen Zhang [Sun, 23 Jul 2017 12:37:29 +0000 (20:37 +0800)] 
Fix validate's executable dependency (#375)

2 years agoFix builder dependencies on generated files (#363)
Zhen Zhang [Thu, 20 Jul 2017 17:14:15 +0000 (01:14 +0800)] 
Fix builder dependencies on generated files (#363)

2 years agoNeed all top-level dependencies in one go for better parallelism. Minor revision.
Andrey Mokhov [Wed, 19 Jul 2017 23:28:33 +0000 (00:28 +0100)] 
Need all top-level dependencies in one go for better parallelism. Minor revision.

See #200.

2 years agoComments only
Andrey Mokhov [Wed, 19 Jul 2017 19:17:07 +0000 (20:17 +0100)] 
Comments only

See #345

2 years agoDrop language in Travis CI config (#372)
Zhen Zhang [Wed, 19 Jul 2017 18:25:36 +0000 (02:25 +0800)] 
Drop language in Travis CI config (#372)

2 years agoAdd an acknowledgement to Zhen Zhang
Andrey Mokhov [Wed, 19 Jul 2017 15:17:31 +0000 (16:17 +0100)] 
Add an acknowledgement to Zhen Zhang

Fix #371 [skip ci]

2 years agoMinor revision
Andrey Mokhov [Wed, 19 Jul 2017 15:03:35 +0000 (16:03 +0100)] 
Minor revision

2 years agoMake OS X build faster and Add GHC 8.0.2 build on Travis CI (#370)
Zhen Zhang [Wed, 19 Jul 2017 14:44:42 +0000 (22:44 +0800)] 
Make OS X build faster and Add GHC 8.0.2 build on Travis CI (#370)

2 years agoMinor revision
Andrey Mokhov [Wed, 19 Jul 2017 00:27:44 +0000 (01:27 +0100)] 
Minor revision

See #238

2 years agoLink to the projects webpage
Andrey Mokhov [Tue, 18 Jul 2017 23:32:51 +0000 (00:32 +0100)] 
Link to the projects webpage

[skip ci]

2 years agoFix typo in comment (#369)
Doug Wilson [Tue, 18 Jul 2017 18:57:15 +0000 (06:57 +1200)] 
Fix typo in comment (#369)

[skip ci]

2 years agoAdd ghc-iserv wrapper (#367)
Zhen Zhang [Tue, 18 Jul 2017 15:12:22 +0000 (23:12 +0800)] 
Add ghc-iserv wrapper (#367)

2 years agoFix on Windows install
Andrey Mokhov [Mon, 17 Jul 2017 23:12:29 +0000 (00:12 +0100)] 
Fix on Windows install

See #345

2 years agoUntrack copied artifacts (#365)
Zhen Zhang [Mon, 17 Jul 2017 21:26:00 +0000 (05:26 +0800)] 
Untrack copied artifacts (#365)

2 years agoAdd CircleCI badge
Andrey Mokhov [Mon, 17 Jul 2017 18:12:04 +0000 (19:12 +0100)] 
Add CircleCI badge

[skip ci]

2 years agoAdd CircleCI script (#364)
Zhen Zhang [Mon, 17 Jul 2017 17:05:45 +0000 (01:05 +0800)] 
Add CircleCI script (#364)

2 years agoUse mv command to move files
Andrey Mokhov [Mon, 17 Jul 2017 00:35:18 +0000 (01:35 +0100)] 
Use mv command to move files

See #345

2 years agoFix paths to install-related commands on Windows. Minor revision.
Andrey Mokhov [Mon, 17 Jul 2017 00:28:24 +0000 (01:28 +0100)] 
Fix paths to install-related commands on Windows. Minor revision.

See #345

2 years agoMinor revision
Andrey Mokhov [Sun, 16 Jul 2017 22:55:02 +0000 (23:55 +0100)] 
Minor revision

2 years agoFix validate's dependency on generated files (#362)
Zhen Zhang [Sat, 15 Jul 2017 13:02:05 +0000 (21:02 +0800)] 
Fix validate's dependency on generated files (#362)

2 years agoDon't optimize cabal stage0 build (#357)
Ben Gamari [Tue, 11 Jul 2017 21:24:01 +0000 (17:24 -0400)] 
Don't optimize cabal stage0 build (#357)

2 years agoFix warnings
Andrey Mokhov [Tue, 11 Jul 2017 17:07:53 +0000 (18:07 +0100)] 
Fix warnings

See #358

2 years agoUse correct ar for host/target (#356)
Ben Gamari [Mon, 10 Jul 2017 17:40:54 +0000 (13:40 -0400)] 
Use correct ar for host/target (#356)

Previously we would always use the ar of the target; this is incorrect.

Fixes #350.

2 years agoFix documentation rules (#324)
Zhen Zhang [Sun, 9 Jul 2017 10:21:31 +0000 (18:21 +0800)] 
Fix documentation rules (#324)

2 years agoUpdate flavours doc (#338)
Zhen Zhang [Sat, 8 Jul 2017 15:58:07 +0000 (23:58 +0800)] 
Update flavours doc (#338)

2 years agoUpdate README.md (#352)
Zhen Zhang [Sat, 8 Jul 2017 13:25:06 +0000 (21:25 +0800)] 
Update README.md (#352)

2 years agoBetter tracking of dependence in installation (#353)
Zhen Zhang [Sat, 8 Jul 2017 13:02:17 +0000 (21:02 +0800)] 
Better tracking of dependence in installation (#353)

2 years agoAutomate dependency analysis of installed packages (#342)
Zhen Zhang [Sat, 8 Jul 2017 12:35:23 +0000 (20:35 +0800)] 
Automate dependency analysis of installed packages (#342)

2 years agoAdd Stage1Only rule (#340)
Zhen Zhang [Thu, 6 Jul 2017 06:11:00 +0000 (14:11 +0800)] 
Add Stage1Only rule (#340)

2 years agoFix setup-config dependency (#334)
Zhen Zhang [Sun, 2 Jul 2017 20:05:13 +0000 (04:05 +0800)] 
Fix setup-config dependency (#334)

2 years agoVarious portability fixes (#331)
Ben Gamari [Fri, 30 Jun 2017 17:45:23 +0000 (13:45 -0400)] 
Various portability fixes (#331)

* Don't assume location of bash interpreter

* Pass curses library directory path to configure

2 years agoDon't pass gcc warning options to ghc (#329)
Ben Gamari [Wed, 28 Jun 2017 07:48:47 +0000 (03:48 -0400)] 
Don't pass gcc warning options to ghc (#329)

We would previously pass -Werror=unused-but-set-variable and -Wno-error=inline
to ghc, despite the fact that they are gcc flags.

2 years agoBuild dynamic libs (#325)
Zhen Zhang [Mon, 26 Jun 2017 06:47:18 +0000 (14:47 +0800)] 
Build dynamic libs (#325)

2 years agoAdd Install Rules (#312)
Zhen Zhang [Sun, 25 Jun 2017 17:37:20 +0000 (01:37 +0800)] 
Add Install Rules (#312)

2 years agoDrop dependency on hoopl (#328)
Zhen Zhang [Sun, 25 Jun 2017 09:02:16 +0000 (17:02 +0800)] 
Drop dependency on hoopl (#328)

2 years agoAdd binary wrappers for hp2ps, hpc, hsc2hs (#321)
Zhen Zhang [Wed, 7 Jun 2017 10:15:03 +0000 (18:15 +0800)] 
Add binary wrappers for hp2ps, hpc, hsc2hs (#321)

2 years agoFix implicit assumption about inplace installation etc. (#315)
Zhen Zhang [Wed, 7 Jun 2017 01:04:28 +0000 (09:04 +0800)] 
Fix implicit assumption about inplace installation etc. (#315)

2 years agoCompute cabalDeps in GhcCabal build (#320)
Zhen Zhang [Tue, 6 Jun 2017 15:46:11 +0000 (23:46 +0800)] 
Compute cabalDeps in GhcCabal build (#320)

2 years agoAdd more utilities including install and symbolic link (#316)
Zhen Zhang [Tue, 6 Jun 2017 00:53:14 +0000 (08:53 +0800)] 
Add more utilities including install and symbolic link (#316)

2 years agoFix CABAL_VERSION argument in building ghc-cabal (#319)
Zhen Zhang [Mon, 5 Jun 2017 10:54:54 +0000 (18:54 +0800)] 
Fix CABAL_VERSION argument in building ghc-cabal (#319)

2 years agoAdd copyFileUntracked (#313)
Zhen Zhang [Tue, 16 May 2017 20:13:17 +0000 (13:13 -0700)] 
Add copyFileUntracked (#313)

2 years agoAdd Werror to CC and HC (#309)
Zhen Zhang [Wed, 3 May 2017 15:58:34 +0000 (08:58 -0700)] 
Add Werror to CC and HC (#309)

2 years agoDisable some warnings (#307)
Zhen Zhang [Fri, 28 Apr 2017 15:28:04 +0000 (23:28 +0800)] 
Disable some warnings (#307)

2 years agoRename runHaskell wrapper to runGhc for consistency
Andrey Mokhov [Thu, 27 Apr 2017 20:39:41 +0000 (21:39 +0100)] 
Rename runHaskell wrapper to runGhc for consistency

See #305

2 years agoUse xcode8 image
Andrey Mokhov [Thu, 27 Apr 2017 00:08:41 +0000 (01:08 +0100)] 
Use xcode8 image

2 years agoGHC ticket 13583 has been resolved, so the workaround is no longer needed
Andrey Mokhov [Wed, 26 Apr 2017 23:43:14 +0000 (00:43 +0100)] 
GHC ticket 13583 has been resolved, so the workaround is no longer needed

See #276

2 years agoDrop package self-dependencies
Andrey Mokhov [Wed, 26 Apr 2017 23:20:42 +0000 (00:20 +0100)] 
Drop package self-dependencies

This occurs in iserv-bin package, which contains both a library and an executable.

See #12

2 years agoAllow cmm files in non-custom packages
Andrey Mokhov [Wed, 26 Apr 2017 00:53:28 +0000 (01:53 +0100)] 
Allow cmm files in non-custom packages

2 years agoAdd wrapper for Runhaskell, Fix #304 (#305)
Zhen Zhang [Sat, 15 Apr 2017 20:08:33 +0000 (04:08 +0800)] 
Add wrapper for Runhaskell, Fix #304 (#305)

2 years agoAdded a note about git line-ending settings (#303)
Ivan Poliakov [Fri, 31 Mar 2017 22:54:46 +0000 (23:54 +0100)] 
Added a note about git line-ending settings (#303)

2 years agoDrop repetition in the list of packages, fixing Hadrian's selftest
Andrey Mokhov [Thu, 16 Mar 2017 11:31:47 +0000 (11:31 +0000)] 
Drop repetition in the list of packages, fixing Hadrian's selftest

2 years agoRename readPackageDescription to readGenericPackageDescription to fix the warning
Andrey Mokhov [Thu, 16 Mar 2017 01:17:36 +0000 (01:17 +0000)] 
Rename readPackageDescription to readGenericPackageDescription to fix the warning

2 years agoRename compact to ghc-compact
Andrey Mokhov [Thu, 16 Mar 2017 01:17:01 +0000 (01:17 +0000)] 
Rename compact to ghc-compact