hadrian.git
22 months agoMinor revision, drop old TODO
Andrey Mokhov [Mon, 9 Oct 2017 23:37:42 +0000 (00:37 +0100)] 
Minor revision, drop old TODO

See #250

22 months agoImplement Stage1 GHC freezing
Andrey Mokhov [Mon, 9 Oct 2017 00:14:54 +0000 (01:14 +0100)] 
Implement Stage1 GHC freezing

See #250

22 months agoDrop the redundant build rule for literate Perl scripts
Andrey Mokhov [Sat, 7 Oct 2017 22:26:08 +0000 (23:26 +0100)] 
Drop the redundant build rule for literate Perl scripts

22 months agoDrop redundant code
Andrey Mokhov [Thu, 5 Oct 2017 19:08:35 +0000 (20:08 +0100)] 
Drop redundant code

See #314

22 months agoMinor revision
Andrey Mokhov [Thu, 5 Oct 2017 16:58:20 +0000 (17:58 +0100)] 
Minor revision

22 months agoUpdate docs
Andrey Mokhov [Thu, 5 Oct 2017 11:43:25 +0000 (12:43 +0100)] 
Update docs

See #314

22 months agoInstall python3 on Travis OS X
Andrey Mokhov [Thu, 5 Oct 2017 10:34:12 +0000 (11:34 +0100)] 
Install python3 on Travis OS X

See #314

22 months agoInstall python3 on CircleCI
Andrey Mokhov [Thu, 5 Oct 2017 10:15:17 +0000 (11:15 +0100)] 
Install python3 on CircleCI

See #314

22 months agoInstall python on CI
Andrey Mokhov [Thu, 5 Oct 2017 09:59:49 +0000 (10:59 +0100)] 
Install python on CI

See #314

22 months agoFix libffil build
Andrey Mokhov [Thu, 5 Oct 2017 09:50:56 +0000 (10:50 +0100)] 
Fix libffil build

See #426

22 months agoSwitch to the python based boot script
Andrey Mokhov [Wed, 4 Oct 2017 11:38:48 +0000 (12:38 +0100)] 
Switch to the python based boot script

See #314

22 months agoBuild man page (#424)
Zhen Zhang [Sat, 30 Sep 2017 21:01:28 +0000 (05:01 +0800)] 
Build man page (#424)

22 months agoFix missing dependency on package configuration
Andrey Mokhov [Thu, 28 Sep 2017 23:37:35 +0000 (00:37 +0100)] 
Fix missing dependency on package configuration

Also a minor revision.

See #421

22 months agoSwitch to isWindows
Andrey Mokhov [Thu, 28 Sep 2017 22:49:12 +0000 (23:49 +0100)] 
Switch to isWindows

22 months agoDrop checkApiAnnotations utility
Andrey Mokhov [Wed, 27 Sep 2017 22:36:24 +0000 (23:36 +0100)] 
Drop checkApiAnnotations utility

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

22 months agoMove ffiIncludeDir to C arguments
Andrey Mokhov [Tue, 26 Sep 2017 18:56:28 +0000 (20:56 +0200)] 
Move ffiIncludeDir to C arguments

22 months agoClean up RTS arguments
Andrey Mokhov [Tue, 26 Sep 2017 18:48:21 +0000 (20:48 +0200)] 
Clean up RTS arguments

22 months agoDrop outdated RTS arguments, fix Windows build
Andrey Mokhov [Tue, 26 Sep 2017 18:17:50 +0000 (20:17 +0200)] 
Drop outdated RTS arguments, fix Windows build

22 months agoAdd RTS args related to libffi
Andrey Mokhov [Mon, 25 Sep 2017 20:27:47 +0000 (22:27 +0200)] 
Add RTS args related to libffi

23 months agoDrop redundant import
Andrey Mokhov [Sat, 23 Sep 2017 21:06:26 +0000 (23:06 +0200)] 
Drop redundant import

23 months agoComplete RTS compiler args (#418)
Zhen Zhang [Sat, 23 Sep 2017 19:55:22 +0000 (03:55 +0800)] 
Complete RTS compiler args (#418)

23 months agoUpdate shake and add stm to stage1 packages (#419)
Zhen Zhang [Fri, 22 Sep 2017 09:53:09 +0000 (17:53 +0800)] 
Update shake and add stm to stage1 packages (#419)

* Update shake

* Add stm to Stage 1 packages

23 months agoFix Config.hs to import GhcPrelude (#417)
Zhen Zhang [Wed, 20 Sep 2017 16:47:21 +0000 (00:47 +0800)] 
Fix Config.hs to import GhcPrelude (#417)

23 months agoAvoid running commands with the Shell option, which breaks due to spaces in paths
Andrey Mokhov [Sat, 16 Sep 2017 23:41:12 +0000 (00:41 +0100)] 
Avoid running commands with the Shell option, which breaks due to spaces in paths

* Fixes the docs build rule on Windows

See #414

23 months agoImplement documentation building (#413)
Patrick Dougherty [Sat, 16 Sep 2017 12:14:30 +0000 (07:14 -0500)] 
Implement documentation building (#413)

* Implement documentation building

* Clean up for merge

23 months agoUpdate docs to list -H64m
Andrey Mokhov [Fri, 15 Sep 2017 00:24:53 +0000 (01:24 +0100)] 
Update docs to list -H64m

[skip ci]

23 months agoOptimise stage1 compiler
Andrey Mokhov [Thu, 14 Sep 2017 23:46:38 +0000 (00:46 +0100)] 
Optimise stage1 compiler

See #393

23 months agoNeed rts at the top-level to allow more parallelism
Andrey Mokhov [Thu, 14 Sep 2017 17:23:47 +0000 (18:23 +0100)] 
Need rts at the top-level to allow more parallelism

See #393

23 months agoAdd missing dependency of hsc2hs on template-hsc.h
Andrey Mokhov [Thu, 14 Sep 2017 11:54:59 +0000 (12:54 +0100)] 
Add missing dependency of hsc2hs on template-hsc.h

23 months agoFix performance bug: Stage0 packages do not depend on inplaceLibCopyTargets
Andrey Mokhov [Thu, 14 Sep 2017 00:13:37 +0000 (01:13 +0100)] 
Fix performance bug: Stage0 packages do not depend on inplaceLibCopyTargets

See #393

23 months agoRefine cross-compilation implementation (#410)
Zhen Zhang [Mon, 11 Sep 2017 16:54:29 +0000 (00:54 +0800)] 
Refine cross-compilation implementation (#410)

* Update minimum heap size

* Refine cross-compilation implementation

23 months agoDrop cabal_macros_boot.h
Andrey Mokhov [Sun, 10 Sep 2017 23:03:59 +0000 (00:03 +0100)] 
Drop cabal_macros_boot.h

23 months agoDrop support for -this-package-key
Andrey Mokhov [Sun, 10 Sep 2017 22:45:34 +0000 (23:45 +0100)] 
Drop support for -this-package-key

23 months agoAdd support for llvm-targets
Andrey Mokhov [Sat, 9 Sep 2017 10:39:57 +0000 (11:39 +0100)] 
Add support for llvm-targets

See #412

23 months agoMark as temporarily out-of-date
Andrey Mokhov [Fri, 8 Sep 2017 22:38:45 +0000 (23:38 +0100)] 
Mark as temporarily out-of-date

23 months agoAdd ArMode to distinguish packing and unpacking of archives
Andrey Mokhov [Sun, 3 Sep 2017 12:31:00 +0000 (13:31 +0100)] 
Add ArMode to distinguish packing and unpacking of archives

23 months agoFactor out common Ar functionality into the library
Andrey Mokhov [Sat, 2 Sep 2017 23:38:06 +0000 (00:38 +0100)] 
Factor out common Ar functionality into the library

See #347

23 months agoMinor revision: move builder-related functionality to Builder modules
Andrey Mokhov [Fri, 1 Sep 2017 22:31:38 +0000 (23:31 +0100)] 
Minor revision: move builder-related functionality to Builder modules

23 months agoFactor out common builder-related functionality into the library
Andrey Mokhov [Thu, 31 Aug 2017 02:24:11 +0000 (03:24 +0100)] 
Factor out common builder-related functionality into the library

See #347

23 months agoDrop dll-split related arguments to ghc-cabal
Andrey Mokhov [Wed, 30 Aug 2017 09:47:16 +0000 (10:47 +0100)] 
Drop dll-split related arguments to ghc-cabal

See #404

23 months agoDrop dll-split
Andrey Mokhov [Wed, 30 Aug 2017 01:13:03 +0000 (02:13 +0100)] 
Drop dll-split

See #404

23 months agoMinor revision
Andrey Mokhov [Wed, 30 Aug 2017 00:29:03 +0000 (01:29 +0100)] 
Minor revision

See #403

23 months agoFix wrapper build rules
Andrey Mokhov [Tue, 29 Aug 2017 09:23:52 +0000 (10:23 +0100)] 
Fix wrapper build rules

See #403

23 months agoRefactor program build rules
Andrey Mokhov [Tue, 29 Aug 2017 03:02:10 +0000 (04:02 +0100)] 
Refactor program build rules

See #403

23 months agoFix wrapper build
Andrey Mokhov [Mon, 28 Aug 2017 23:46:19 +0000 (00:46 +0100)] 
Fix wrapper build

See #403

23 months agoMinor revision of install stages
Andrey Mokhov [Mon, 28 Aug 2017 23:28:55 +0000 (00:28 +0100)] 
Minor revision of install stages

See #403

23 months agoMinor refactoring: re-export Context and GHC from Expression
Andrey Mokhov [Mon, 28 Aug 2017 17:12:39 +0000 (18:12 +0100)] 
Minor refactoring: re-export Context and GHC from Expression

23 months agoAdd cross compilation (#401)
Zhen Zhang [Mon, 28 Aug 2017 10:26:27 +0000 (18:26 +0800)] 
Add cross compilation (#401)

Tested with arm-linux-gnueabihf.

23 months agoRefactor GHC/user packages, move builder-specific functions into Builder
Andrey Mokhov [Mon, 28 Aug 2017 00:56:06 +0000 (01:56 +0100)] 
Refactor GHC/user packages, move builder-specific functions into Builder

See #403

23 months agoSimplify package lists
Andrey Mokhov [Sun, 27 Aug 2017 02:08:20 +0000 (03:08 +0100)] 
Simplify package lists

See #403

23 months agoDo not run CI in verbose mode
Andrey Mokhov [Sat, 26 Aug 2017 23:47:05 +0000 (00:47 +0100)] 
Do not run CI in verbose mode

23 months agoDifferentiate between C and Haskell package
Andrey Mokhov [Sat, 26 Aug 2017 22:31:31 +0000 (23:31 +0100)] 
Differentiate between C and Haskell package

23 months agoDrop mkUserGuidePart
Andrey Mokhov [Sat, 26 Aug 2017 16:34:23 +0000 (17:34 +0100)] 
Drop mkUserGuidePart

See #402

23 months agoRemove unnecessary use of -DGENERICS flag (#402)
Ryan Scott [Sat, 26 Aug 2017 15:16:04 +0000 (11:16 -0400)] 
Remove unnecessary use of -DGENERICS flag (#402)

Mirroring a change made to GHC in
http://git.haskell.org/ghc.git/commit/a28a55211d6fb8d3182b0a9e47656ff9ca8a3766

2 years agoDrop defaultDestDir and use Shake's verbosity to control verbose commands (#400)
Zhen Zhang [Wed, 23 Aug 2017 18:44:47 +0000 (02:44 +0800)] 
Drop defaultDestDir and use Shake's verbosity to control verbose commands (#400)

2 years agoInstall rule: copy gmp header (#398)
Zhen Zhang [Wed, 23 Aug 2017 10:51:25 +0000 (18:51 +0800)] 
Install rule: copy gmp header (#398)

2 years agoCompute package synopsis directly from Cabal files
Andrey Mokhov [Sun, 20 Aug 2017 16:58:01 +0000 (17:58 +0100)] 
Compute package synopsis directly from Cabal files

2 years agoSwitch to computing package version only through the Cabal library
Andrey Mokhov [Sun, 20 Aug 2017 16:05:30 +0000 (17:05 +0100)] 
Switch to computing package version only through the Cabal library

2 years agoMinor revision
Andrey Mokhov [Sun, 20 Aug 2017 14:23:24 +0000 (15:23 +0100)] 
Minor revision

2 years agoAdd DESTDIR to command line arguments (#397)
Zhen Zhang [Sun, 20 Aug 2017 11:29:36 +0000 (19:29 +0800)] 
Add DESTDIR to command line arguments (#397)

2 years agodelete cfg/config.h.in (#390)
Zhen Zhang [Sun, 20 Aug 2017 11:09:47 +0000 (19:09 +0800)] 
delete cfg/config.h.in (#390)

2 years agoFix performance bug: do not call ghc-cabal to determine package targets
Andrey Mokhov [Sun, 20 Aug 2017 00:12:39 +0000 (01:12 +0100)] 
Fix performance bug: do not call ghc-cabal to determine package targets

See #393

2 years agoAdd ghcid.txt
Andrey Mokhov [Sat, 19 Aug 2017 15:22:54 +0000 (16:22 +0100)] 
Add ghcid.txt

2 years agoFix MonadFail warning
Andrey Mokhov [Sat, 19 Aug 2017 15:21:27 +0000 (16:21 +0100)] 
Fix MonadFail warning

2 years agoMinor revision
Andrey Mokhov [Sat, 19 Aug 2017 12:12:09 +0000 (13:12 +0100)] 
Minor revision

2 years agoMerge branch 'master' of https://github.com/snowleopard/hadrian
Andrey Mokhov [Sat, 19 Aug 2017 02:45:40 +0000 (03:45 +0100)] 
Merge branch 'master' of https://github.com/snowleopard/hadrian

2 years agoImprove infrastructure for Cabal file parsing
Andrey Mokhov [Sat, 19 Aug 2017 02:45:33 +0000 (03:45 +0100)] 
Improve infrastructure for Cabal file parsing

2 years agoFix install rules by untracking copy files and use relative path (#396)
Zhen Zhang [Sat, 19 Aug 2017 01:39:25 +0000 (09:39 +0800)] 
Fix install rules by untracking copy files and use relative path (#396)

2 years agoDrop double installation of Hadrian dependencies
Andrey Mokhov [Fri, 18 Aug 2017 23:39:20 +0000 (00:39 +0100)] 
Drop double installation of Hadrian dependencies

See #393

2 years agoMinor revision
Andrey Mokhov [Fri, 18 Aug 2017 23:31:39 +0000 (00:31 +0100)] 
Minor revision

2 years agoAdd mtl, parsec and text as Stage0 packages
Andrey Mokhov [Fri, 18 Aug 2017 22:41:24 +0000 (23:41 +0100)] 
Add mtl, parsec and text as Stage0 packages

See #393, #395

2 years agoFix Travis
Andrey Mokhov [Fri, 18 Aug 2017 10:33:04 +0000 (11:33 +0100)] 
Fix Travis

See #393

2 years agoRun ranlib directly
Andrey Mokhov [Fri, 18 Aug 2017 01:59:59 +0000 (02:59 +0100)] 
Run ranlib directly

2 years agoFix Travis timeout
Andrey Mokhov [Fri, 18 Aug 2017 01:50:01 +0000 (02:50 +0100)] 
Fix Travis timeout

See #393

2 years agoMove RTS-specific paths to Settings.Packages.Rts
Andrey Mokhov [Fri, 18 Aug 2017 01:46:30 +0000 (02:46 +0100)] 
Move RTS-specific paths to Settings.Packages.Rts

2 years agoSimplify Package data type
Andrey Mokhov [Fri, 18 Aug 2017 01:37:00 +0000 (02:37 +0100)] 
Simplify Package data type

2 years agoMake Package datatype abstract
Andrey Mokhov [Fri, 18 Aug 2017 00:03:42 +0000 (01:03 +0100)] 
Make Package datatype abstract

2 years agoMove Package to the library
Andrey Mokhov [Thu, 17 Aug 2017 23:56:33 +0000 (00:56 +0100)] 
Move Package to the library

See #347

2 years ago.bat file tidy up plus shake-0.16 compatibility (#392)
Neil Mitchell [Thu, 17 Aug 2017 23:07:13 +0000 (00:07 +0100)] 
.bat file tidy up plus shake-0.16 compatibility (#392)

* Switch from @ to @echo off in the batch files

* Make sure the .bat files do setlocal - ensures if it fails you don't keep the directory change

* Give RuleResult instances to all the oracles, as required by the forthcoming shake-0.16

2 years agoBuild with '--integer-simple' on Linux GHC 8.0.2 CI
Andrey Mokhov [Thu, 17 Aug 2017 21:06:32 +0000 (22:06 +0100)] 
Build with '--integer-simple' on Linux GHC 8.0.2 CI

2 years agoFix overlapping build rules and generalise the pattern
Andrey Mokhov [Thu, 17 Aug 2017 18:59:54 +0000 (19:59 +0100)] 
Fix overlapping build rules and generalise the pattern

See #391

2 years agoFactor out file cache functionality into the library
Andrey Mokhov [Thu, 17 Aug 2017 01:16:45 +0000 (02:16 +0100)] 
Factor out file cache functionality into the library

See #347

2 years agoAdd docs, minor revision
Andrey Mokhov [Wed, 16 Aug 2017 22:15:34 +0000 (23:15 +0100)] 
Add docs, minor revision

2 years agoSwitch to MIT license
Andrey Mokhov [Wed, 16 Aug 2017 22:04:59 +0000 (23:04 +0100)] 
Switch to MIT license

2 years agoFactor out cabal parsing functionality into the library
Andrey Mokhov [Wed, 16 Aug 2017 21:18:45 +0000 (22:18 +0100)] 
Factor out cabal parsing functionality into the library

See #347

2 years agoMove systemBuilderPath to GHC
Andrey Mokhov [Wed, 16 Aug 2017 14:24:08 +0000 (15:24 +0100)] 
Move systemBuilderPath to GHC

2 years agoMinor revision
Andrey Mokhov [Wed, 16 Aug 2017 12:33:16 +0000 (13:33 +0100)] 
Minor revision

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