hadrian.git
3 years agoBuild stage1 GHC only to fit into OS X time limit on Travis.
Andrey Mokhov [Sat, 9 Jan 2016 20:23:41 +0000 (20:23 +0000)] 
Build stage1 GHC only to fit into OS X time limit on Travis.

3 years agoAdd missing source Settings.Builders.Common
Andrey Mokhov [Sat, 9 Jan 2016 20:21:27 +0000 (20:21 +0000)] 
Add missing source Settings.Builders.Common

[skip ci]

3 years agoBuild stage1 GHC only on appveyor to fit into the time limit.
Andrey Mokhov [Sat, 9 Jan 2016 20:14:31 +0000 (20:14 +0000)] 
Build stage1 GHC only on appveyor to fit into the time limit.

See #110. [skip ci]

3 years agoRefactor generators, add makeExecutable action.
Andrey Mokhov [Sat, 9 Jan 2016 20:09:51 +0000 (20:09 +0000)] 
Refactor generators, add makeExecutable action.

3 years agoReset GHC_PACKAGE_PATH varialbe (5th try).
Andrey Mokhov [Sat, 9 Jan 2016 19:10:44 +0000 (19:10 +0000)] 
Reset GHC_PACKAGE_PATH varialbe (5th try).

See #110.

3 years agoReset GHC_PACKAGE_PATH varialbe (4th try).
Andrey Mokhov [Sat, 9 Jan 2016 18:15:23 +0000 (18:15 +0000)] 
Reset GHC_PACKAGE_PATH varialbe (4th try).

See #110. [skip ci]

3 years agoReset GHC_PACKAGE_PATH varialbe (3rd try).
Andrey Mokhov [Sat, 9 Jan 2016 18:07:22 +0000 (18:07 +0000)] 
Reset GHC_PACKAGE_PATH varialbe (3rd try).

See #110. [skip ci]

3 years agoDepend on ghc-split only when building with split objects.
Andrey Mokhov [Sat, 9 Jan 2016 17:09:03 +0000 (17:09 +0000)] 
Depend on ghc-split only when building with split objects.

See #81. [skip ci]

3 years agoReset GHC_PACKAGE_PATH varialbe (2nd try).
Andrey Mokhov [Sat, 9 Jan 2016 17:06:20 +0000 (17:06 +0000)] 
Reset GHC_PACKAGE_PATH varialbe (2nd try).

See #110. [skip ci]

3 years agoMove chunksOfSize to Settings/Builders/Ar.hs, add comments.
Andrey Mokhov [Sat, 9 Jan 2016 16:57:49 +0000 (16:57 +0000)] 
Move chunksOfSize to Settings/Builders/Ar.hs, add comments.

See #130. [skip ci]

3 years agoUnset GHC_PACKAGE_PATH before building.
Andrey Mokhov [Sat, 9 Jan 2016 16:33:13 +0000 (16:33 +0000)] 
Unset GHC_PACKAGE_PATH before building.

See #110. [skip ci]

3 years agoMerge pull request #142 from quchen/clone-from-github
Andrey Mokhov [Sat, 9 Jan 2016 14:40:58 +0000 (14:40 +0000)] 
Merge pull request #142 from quchen/clone-from-github

CI: Shallow clone GHC from Github instead of Haskell.org

3 years agoFix iosHost condition.
Andrey Mokhov [Sat, 9 Jan 2016 14:35:43 +0000 (14:35 +0000)] 
Fix iosHost condition.

See #138. [skip ci]

3 years agoAdd iosHost function.
Andrey Mokhov [Sat, 9 Jan 2016 14:33:51 +0000 (14:33 +0000)] 
Add iosHost function.

See #138. [skip ci]

3 years agoMerge pull request #138 from snowleopard/feature/UtilUnlit
Andrey Mokhov [Sat, 9 Jan 2016 14:08:26 +0000 (14:08 +0000)] 
Merge pull request #138 from snowleopard/feature/UtilUnlit

Add support for ghc-split, unlit and perl script rules.

3 years agoAdjust cmdLineLengthLimit for OS X
Moritz Angermann [Sat, 9 Jan 2016 13:45:08 +0000 (21:45 +0800)] 
Adjust cmdLineLengthLimit for OS X

This should fix #141.

3 years agoInclude PR Comments
Moritz Angermann [Sat, 9 Jan 2016 13:44:23 +0000 (21:44 +0800)] 
Include PR Comments

3 years agoDrop "ghs-split" builder
Moritz Angermann [Sat, 9 Jan 2016 13:16:20 +0000 (21:16 +0800)] 
Drop "ghs-split" builder

3 years agoShallow clone GHC from Github instead of Haskell.org
David Luposchainsky [Sat, 9 Jan 2016 13:01:33 +0000 (14:01 +0100)] 
Shallow clone GHC from Github instead of Haskell.org

3 years agoMerge pull request #140 from snowleopard/feature/use-extra
Andrey Mokhov [Sat, 9 Jan 2016 12:15:46 +0000 (12:15 +0000)] 
Merge pull request #140 from snowleopard/feature/use-extra

Use Extra library

3 years agoUse Extra library
Moritz Angermann [Sat, 9 Jan 2016 09:04:58 +0000 (17:04 +0800)] 
Use Extra library

- replaces `wordsWhen` with `wordsBy`
- replaces `replace` with `replace`
Fixes #130

3 years agoAdds ghc-split generator, generateScripts and re-enables SplitObjects
Moritz Angermann [Sat, 9 Jan 2016 06:39:14 +0000 (14:39 +0800)] 
Adds ghc-split generator, generateScripts and re-enables SplitObjects

Fixes #84.

3 years agoAdds knowledge about Perl
Moritz Angermann [Sat, 9 Jan 2016 06:38:18 +0000 (14:38 +0800)] 
Adds knowledge about Perl

Fixes #82. Let's hope this is only a stop gap measure until we get rid of ghc-split as a perl script.

3 years agoAdds Unlit utility
Moritz Angermann [Fri, 8 Jan 2016 10:21:31 +0000 (18:21 +0800)] 
Adds Unlit utility

Adds the unlit utility to turn literate files into unliterate files.
Fixes #83

3 years agoFix terminal issue, build stage1 ghc only.
Andrey Mokhov [Sat, 9 Jan 2016 02:53:36 +0000 (02:53 +0000)] 
Fix terminal issue, build stage1 ghc only.

See #110. [skip ci]

3 years agoRun shake script via stack from shake-build folder.
Andrey Mokhov [Sat, 9 Jan 2016 02:19:18 +0000 (02:19 +0000)] 
Run shake script via stack from shake-build folder.

See #110. [skip ci]

3 years agoRun shake script via stack.
Andrey Mokhov [Fri, 8 Jan 2016 21:34:15 +0000 (21:34 +0000)] 
Run shake script via stack.

See #110. [skip ci]

3 years agoRun shake script outside bash.
Andrey Mokhov [Fri, 8 Jan 2016 20:52:02 +0000 (20:52 +0000)] 
Run shake script outside bash.

See #110. [skip ci]

3 years agoRun shake script from shake-build.
Andrey Mokhov [Fri, 8 Jan 2016 20:11:52 +0000 (20:11 +0000)] 
Run shake script from shake-build.

See #110. [skip ci]

3 years agoFix shake script path.
Andrey Mokhov [Fri, 8 Jan 2016 19:21:00 +0000 (19:21 +0000)] 
Fix shake script path.

See #110. [skip ci]

3 years agoCreate ghc-tarballs/perl folder.
Andrey Mokhov [Fri, 8 Jan 2016 18:32:47 +0000 (18:32 +0000)] 
Create ghc-tarballs/perl folder.

See #110. [skip ci]

3 years agoMerge pull request #136 from quchen/redundant-hiding
Andrey Mokhov [Fri, 8 Jan 2016 17:29:30 +0000 (17:29 +0000)] 
Merge pull request #136 from quchen/redundant-hiding

Fix unnecessary import hiding of "parallel" [skip ci]

3 years agoFix unnecessary import hiding
David Luposchainsky [Fri, 8 Jan 2016 17:23:46 +0000 (18:23 +0100)] 
Fix unnecessary import hiding

3 years agoCreate ghc-tarballs/mingw-w64/x86_64/ directory.
Andrey Mokhov [Fri, 8 Jan 2016 17:12:33 +0000 (17:12 +0000)] 
Create ghc-tarballs/mingw-w64/x86_64/ directory.

See #110. [skip ci]

3 years agoTry to use get-win32-tarballs.sh.
Andrey Mokhov [Fri, 8 Jan 2016 17:03:55 +0000 (17:03 +0000)] 
Try to use get-win32-tarballs.sh.

See #110. [skip ci]

3 years agoUse mingw64_shell.bat for running scripts.
Andrey Mokhov [Fri, 8 Jan 2016 16:47:17 +0000 (16:47 +0000)] 
Use mingw64_shell.bat for running scripts.

See #110. [skip ci]

3 years agoBring bash configure back.
Andrey Mokhov [Fri, 8 Jan 2016 04:13:50 +0000 (04:13 +0000)] 
Bring bash configure back.

See #110. [skip ci]

3 years agoTry bash within stack to run configure.
Andrey Mokhov [Fri, 8 Jan 2016 03:49:14 +0000 (03:49 +0000)] 
Try bash within stack to run configure.

See #110. [skip ci]

3 years agoFix path to configure.
Andrey Mokhov [Fri, 8 Jan 2016 03:23:31 +0000 (03:23 +0000)] 
Fix path to configure.

See #110. [skip ci]

3 years agoDon't reinstall perl.
Andrey Mokhov [Fri, 8 Jan 2016 02:55:38 +0000 (02:55 +0000)] 
Don't reinstall perl.

See #110. [skip ci]

3 years agoRun boot & configure via stack exec.
Andrey Mokhov [Fri, 8 Jan 2016 02:51:51 +0000 (02:51 +0000)] 
Run boot & configure via stack exec.

See #110. [skip ci]

3 years agoDrop init script.
Andrey Mokhov [Fri, 8 Jan 2016 02:22:05 +0000 (02:22 +0000)] 
Drop init script.

See #110. [skip ci]

3 years agoClone ghc into ghc/tmp.
Andrey Mokhov [Fri, 8 Jan 2016 01:58:26 +0000 (01:58 +0000)] 
Clone ghc into ghc/tmp.

See #110. [skip ci]

3 years agoAdd APPVEYOR_BUILD_FOLDER to PATH, show versions of key binaries.
Andrey Mokhov [Fri, 8 Jan 2016 01:31:18 +0000 (01:31 +0000)] 
Add APPVEYOR_BUILD_FOLDER to PATH, show versions of key binaries.

See #110. [skip ci]

3 years agoAdd init script, fix path to stak.
Andrey Mokhov [Fri, 8 Jan 2016 01:18:48 +0000 (01:18 +0000)] 
Add init script, fix path to stak.

See #110. [skip ci]

3 years agoSpecify path to stack.
Andrey Mokhov [Thu, 7 Jan 2016 23:57:57 +0000 (23:57 +0000)] 
Specify path to stack.

See #110. [skip ci]

3 years agoAdd build rules for *.S sources, add rts/*.S files.
Andrey Mokhov [Thu, 7 Jan 2016 23:53:44 +0000 (23:53 +0000)] 
Add build rules for *.S sources, add rts/*.S files.

See #126.

3 years agoTry fetching ghc-tarballs via stack exec.
Andrey Mokhov [Thu, 7 Jan 2016 23:23:10 +0000 (23:23 +0000)] 
Try fetching ghc-tarballs via stack exec.

See #110. [skip ci]

3 years agoMake build badges more informative
Andrey Mokhov [Thu, 7 Jan 2016 23:13:16 +0000 (23:13 +0000)] 
Make build badges more informative

[skip ci]

3 years agoMinor revision (comments, whitespace).
Andrey Mokhov [Thu, 7 Jan 2016 22:52:46 +0000 (22:52 +0000)] 
Minor revision (comments, whitespace).

[skip ci]

3 years agoAdd missing package Settings.Packages.Touchy.
Andrey Mokhov [Thu, 7 Jan 2016 22:31:45 +0000 (22:31 +0000)] 
Add missing package Settings.Packages.Touchy.

See #125. [skip ci]

3 years agoMerge pull request #122 from quchen/housekeeping
Andrey Mokhov [Thu, 7 Jan 2016 20:17:40 +0000 (20:17 +0000)] 
Merge pull request #122 from quchen/housekeeping

Add documentation, small refactorings

3 years agoRevert "Document the provenance of the Main functions in the code rather than in...
Andrey Mokhov [Thu, 7 Jan 2016 20:16:57 +0000 (20:16 +0000)] 
Revert "Document the provenance of the Main functions in the code rather than in comments"

This reverts commit c573af06514bb073cb76918343303b9a2c043160.

3 years agoDocument the provenance of the Main functions in the code rather than in comments
Neil Mitchell [Thu, 7 Jan 2016 18:30:03 +0000 (18:30 +0000)] 
Document the provenance of the Main functions in the code rather than in comments

3 years agoMake imports fully qualified
David Luposchainsky [Thu, 7 Jan 2016 18:12:17 +0000 (19:12 +0100)] 
Make imports fully qualified

3 years agoAdd missing Haddock header
David Luposchainsky [Thu, 7 Jan 2016 17:19:18 +0000 (18:19 +0100)] 
Add missing Haddock header

3 years agoAdd Haddocks to Base.hs
David Luposchainsky [Wed, 6 Jan 2016 15:00:06 +0000 (16:00 +0100)] 
Add Haddocks to Base.hs

3 years agoAdd Haddocks to GHC.hs
David Luposchainsky [Wed, 6 Jan 2016 14:45:48 +0000 (15:45 +0100)] 
Add Haddocks to GHC.hs

3 years agoFix bad imports
David Luposchainsky [Wed, 6 Jan 2016 14:45:34 +0000 (15:45 +0100)] 
Fix bad imports

3 years agoAdd cabal configure to CI
David Luposchainsky [Wed, 6 Jan 2016 14:39:33 +0000 (15:39 +0100)] 
Add cabal configure to CI

3 years agoFix type error
David Luposchainsky [Wed, 6 Jan 2016 14:35:22 +0000 (15:35 +0100)] 
Fix type error

3 years agoHaddocks for Way.hs
David Luposchainsky [Wed, 6 Jan 2016 14:31:55 +0000 (15:31 +0100)] 
Haddocks for Way.hs

3 years agoAdd Haddocks to Target.hs
David Luposchainsky [Wed, 6 Jan 2016 14:14:08 +0000 (15:14 +0100)] 
Add Haddocks to Target.hs

3 years agoExplain stages
David Luposchainsky [Wed, 6 Jan 2016 14:05:37 +0000 (15:05 +0100)] 
Explain stages

3 years agoAdd Haddock build to CI
David Luposchainsky [Wed, 6 Jan 2016 14:01:20 +0000 (15:01 +0100)] 
Add Haddock build to CI

3 years agoSplit up definitions in Rules.hs
David Luposchainsky [Wed, 6 Jan 2016 13:49:58 +0000 (14:49 +0100)] 
Split up definitions in Rules.hs

3 years agoAdd Haddock comments in Predicates.hs
David Luposchainsky [Wed, 6 Jan 2016 13:31:37 +0000 (14:31 +0100)] 
Add Haddock comments in Predicates.hs

3 years agoMake value sources more explicit
David Luposchainsky [Tue, 5 Jan 2016 15:44:06 +0000 (16:44 +0100)] 
Make value sources more explicit

[skip ci]

Rather than relying on comments, move the documentation
into the source, so it's checked by the compiler automatically

3 years agoMove copyRules to Rules/Generate.hs, add missing generated dependencies.
Andrey Mokhov [Thu, 7 Jan 2016 17:02:35 +0000 (17:02 +0000)] 
Move copyRules to Rules/Generate.hs, add missing generated dependencies.

3 years agoRename replaceIf -> replaceWhen to match wordsWhen, clean up.
Andrey Mokhov [Thu, 7 Jan 2016 16:52:25 +0000 (16:52 +0000)] 
Rename replaceIf -> replaceWhen to match wordsWhen, clean up.

[skip ci]

3 years agoCreate ghc-tarballs folder.
Andrey Mokhov [Thu, 7 Jan 2016 16:35:01 +0000 (16:35 +0000)] 
Create ghc-tarballs folder.

See #110. [skip ci]

3 years agoBuild only stage1 base library to fit into Travis 50 min limit for OSX.
Andrey Mokhov [Thu, 7 Jan 2016 15:43:14 +0000 (15:43 +0000)] 
Build only stage1 base library to fit into Travis 50 min limit for OSX.

3 years agoMerge pull request #129 from snowleopard/angerman-patch-2
Andrey Mokhov [Thu, 7 Jan 2016 13:52:04 +0000 (13:52 +0000)] 
Merge pull request #129 from snowleopard/angerman-patch-2

Update README.md [skip ci]

3 years agoUpdate README.md
Moritz Angermann [Thu, 7 Jan 2016 13:48:28 +0000 (21:48 +0800)] 
Update README.md

Drop `shake` requirement, as it applies to windows as well and is not exhaustive.
[skip ci]

3 years agoUpdate README.md
Moritz Angermann [Thu, 7 Jan 2016 13:37:46 +0000 (21:37 +0800)] 
Update README.md

- Trying to unify Linux / OS X / Windows build steps.
- Added note about `src/Settings/User.hs`.
[skip ci]

3 years agoBuild touchy only on Windows, see #125.
Andrey Mokhov [Thu, 7 Jan 2016 13:35:09 +0000 (13:35 +0000)] 
Build touchy only on Windows, see #125.

3 years agoMerge pull request #123 from angerman/feature/fix-clang
Andrey Mokhov [Thu, 7 Jan 2016 13:14:07 +0000 (13:14 +0000)] 
Merge pull request #123 from angerman/feature/fix-clang

Feature/fix clang

3 years agoDownload ghc-tarballs manually.
Andrey Mokhov [Thu, 7 Jan 2016 13:11:16 +0000 (13:11 +0000)] 
Download ghc-tarballs manually.

See #110. [skip ci]

3 years agoBuild touchy, fix #125.
Andrey Mokhov [Thu, 7 Jan 2016 12:59:47 +0000 (12:59 +0000)] 
Build touchy, fix #125.

3 years agoMakes wordsWhen more generic.
Moritz Angermann [Thu, 7 Jan 2016 12:38:11 +0000 (20:38 +0800)] 
Makes wordsWhen more generic.

3 years agoRenames absoluteCommand to lookupInPath
Moritz Angermann [Thu, 7 Jan 2016 12:37:59 +0000 (20:37 +0800)] 
Renames absoluteCommand to lookupInPath

3 years agoMoves wordsWhen into Base, and adjusts names and types to be more descriptive.
Moritz Angermann [Thu, 7 Jan 2016 12:17:23 +0000 (20:17 +0800)] 
Moves wordsWhen into Base, and adjusts names and types to be more descriptive.

3 years agoBring bash quoting back.
Andrey Mokhov [Thu, 7 Jan 2016 12:17:15 +0000 (12:17 +0000)] 
Bring bash quoting back.

See #110. [skip ci]

3 years agoFix missing generated dependencies for rts, see #123.
Andrey Mokhov [Thu, 7 Jan 2016 11:20:36 +0000 (11:20 +0000)] 
Fix missing generated dependencies for rts, see #123.

3 years agoCall bash with single quotes.
Andrey Mokhov [Thu, 7 Jan 2016 11:15:24 +0000 (11:15 +0000)] 
Call bash with single quotes.

See #110. [skip ci]

3 years agoEscape echo quotes.
Andrey Mokhov [Thu, 7 Jan 2016 10:54:09 +0000 (10:54 +0000)] 
Escape echo quotes.

See #110. [skip ci]

3 years agoAdds Oracle
Moritz Angermann [Thu, 7 Jan 2016 10:47:46 +0000 (18:47 +0800)] 
Adds Oracle

3 years agoPrepend to configure.
Andrey Mokhov [Thu, 7 Jan 2016 10:12:13 +0000 (10:12 +0000)] 
Prepend  to configure.

See #110. [skip ci]

3 years agoImprove needBuilder, see #124.
Andrey Mokhov [Thu, 7 Jan 2016 09:37:52 +0000 (09:37 +0000)] 
Improve needBuilder, see #124.

3 years agoRestore install argument to stack.
Andrey Mokhov [Thu, 7 Jan 2016 09:37:20 +0000 (09:37 +0000)] 
Restore install argument to stack.

See #110. [skip ci]

3 years agoFix the old-time issue.
Andrey Mokhov [Thu, 7 Jan 2016 09:24:05 +0000 (09:24 +0000)] 
Fix the old-time issue.

See #110. [skip ci]

3 years ago:+1:
Moritz Angermann [Thu, 7 Jan 2016 05:51:30 +0000 (13:51 +0800)] 
:+1:

3 years ago:(
Moritz Angermann [Thu, 7 Jan 2016 05:02:51 +0000 (13:02 +0800)] 
:(

3 years agoShow the candidates.
Moritz Angermann [Thu, 7 Jan 2016 03:30:05 +0000 (11:30 +0800)] 
Show the candidates.

3 years agoTake 2
Moritz Angermann [Thu, 7 Jan 2016 03:06:37 +0000 (11:06 +0800)] 
Take 2

3 years agoInstall shake, mtl and ansi-terminal.
Andrey Mokhov [Thu, 7 Jan 2016 02:40:43 +0000 (02:40 +0000)] 
Install shake, mtl and ansi-terminal.

See #110. [skip ci]

3 years agoFix paths.
Andrey Mokhov [Thu, 7 Jan 2016 02:23:41 +0000 (02:23 +0000)] 
Fix paths.

See #110. [skip ci]

3 years agoAdd appveyor badge
Andrey Mokhov [Thu, 7 Jan 2016 02:21:18 +0000 (02:21 +0000)] 
Add appveyor badge

See #110. [skip ci]

3 years agoCreate /home/ghc/tmp, add stack install dir to PATH.
Andrey Mokhov [Thu, 7 Jan 2016 02:10:08 +0000 (02:10 +0000)] 
Create /home/ghc/tmp, add stack install dir to PATH.

See #110. [skip ci]

3 years agoDrop extra flags to stack install.
Andrey Mokhov [Thu, 7 Jan 2016 01:59:39 +0000 (01:59 +0000)] 
Drop extra flags to stack install.

See #110. [skip ci]