ghc.git
3 years ago#156, ensure the entire piece is under a removeFiles so we always clean up the garbage
Neil Mitchell [Tue, 12 Jan 2016 22:34:39 +0000 (22:34 +0000)] 
#156, ensure the entire piece is under a removeFiles so we always clean up the garbage

3 years agoUse removeDirectory where appropriate
Neil Mitchell [Tue, 12 Jan 2016 22:33:55 +0000 (22:33 +0000)] 
Use removeDirectory where appropriate

3 years agoSimplify fixLibffiMakefile, no need to chop into lines first
Neil Mitchell [Tue, 12 Jan 2016 22:33:42 +0000 (22:33 +0000)] 
Simplify fixLibffiMakefile, no need to chop into lines first

3 years agoAdd removeDirectory to Rules/Actions, seems to fit
Neil Mitchell [Tue, 12 Jan 2016 22:33:21 +0000 (22:33 +0000)] 
Add removeDirectory to Rules/Actions, seems to fit

3 years agoDon't move from a temporary directory.
Andrey Mokhov [Tue, 12 Jan 2016 22:22:34 +0000 (22:22 +0000)] 
Don't move from a temporary directory.

Fix #156.

3 years agoCreate .build/stage0 for libffi to be moved to.
Andrey Mokhov [Tue, 12 Jan 2016 21:54:53 +0000 (21:54 +0000)] 
Create .build/stage0 for libffi to be moved to.

Fix #160. [skip ci]

3 years agoAllow users to choose which 'make' to use.
Andrey Mokhov [Tue, 12 Jan 2016 18:12:14 +0000 (18:12 +0000)] 
Allow users to choose which 'make' to use.

Fix #157. [skip ci]

3 years agoMinor revision
Andrey Mokhov [Tue, 12 Jan 2016 17:37:02 +0000 (17:37 +0000)] 
Minor revision

[skip ci]

3 years agoAdd dependencies, fix #155.
Andrey Mokhov [Tue, 12 Jan 2016 17:25:00 +0000 (17:25 +0000)] 
Add dependencies, fix #155.

[skip ci]

3 years agoSwitch off -split-objs by default, fix #153.
Andrey Mokhov [Tue, 12 Jan 2016 02:08:58 +0000 (02:08 +0000)] 
Switch off -split-objs by default, fix #153.

3 years agoMerge pull request #152 from snowleopard/report-on-fix
Andrey Mokhov [Mon, 11 Jan 2016 17:51:16 +0000 (17:51 +0000)] 
Merge pull request #152 from snowleopard/report-on-fix

Report success on IRC only if the build was fixed [skip ci]

3 years agoReport success on IRC only if the build was fixed
David Luposchainsky [Mon, 11 Jan 2016 17:35:25 +0000 (18:35 +0100)] 
Report success on IRC only if the build was fixed

3 years agoFix parallel invocations of DeriveConstants builder.
Andrey Mokhov [Mon, 11 Jan 2016 16:06:21 +0000 (16:06 +0000)] 
Fix parallel invocations of DeriveConstants builder.

See #137.

3 years agoUse shallow git clone.
Andrey Mokhov [Mon, 11 Jan 2016 14:48:30 +0000 (14:48 +0000)] 
Use shallow git clone.

See #110. [skip ci]

3 years agoMerge pull request #151 from ndmitchell/master
Andrey Mokhov [Mon, 11 Jan 2016 14:29:39 +0000 (14:29 +0000)] 
Merge pull request #151 from ndmitchell/master

Add tests

3 years ago#151, add a call to selftest
Neil Mitchell [Mon, 11 Jan 2016 11:39:47 +0000 (11:39 +0000)] 
#151, add a call to selftest

3 years agoUpdate the docs for chunksOfSize
Neil Mitchell [Mon, 11 Jan 2016 11:14:12 +0000 (11:14 +0000)] 
Update the docs for chunksOfSize

3 years ago#146, add tests for chunksOfSize
Neil Mitchell [Mon, 11 Jan 2016 11:06:54 +0000 (11:06 +0000)] 
#146, add tests for chunksOfSize

3 years ago#146, add a test helper
Neil Mitchell [Mon, 11 Jan 2016 11:06:40 +0000 (11:06 +0000)] 
#146, add a test helper

3 years agoRewrite chunksOfSize so it doesn't go pear shaped on long inputs
Neil Mitchell [Mon, 11 Jan 2016 11:06:18 +0000 (11:06 +0000)] 
Rewrite chunksOfSize so it doesn't go pear shaped on long inputs

3 years ago#146, run the tests on Appveyor
Neil Mitchell [Mon, 11 Jan 2016 10:47:49 +0000 (10:47 +0000)] 
#146, run the tests on Appveyor

3 years ago#146, add a Test module with selftest
Neil Mitchell [Mon, 11 Jan 2016 10:47:41 +0000 (10:47 +0000)] 
#146, add a Test module with selftest

3 years agoMerge pull request #150 from snowleopard/angerman-patch-1
Andrey Mokhov [Mon, 11 Jan 2016 03:31:50 +0000 (03:31 +0000)] 
Merge pull request #150 from snowleopard/angerman-patch-1

Update Setting.hs

3 years agoUpdate Setting.hs
Moritz Angermann [Mon, 11 Jan 2016 03:19:18 +0000 (11:19 +0800)] 
Update Setting.hs

Set a sensible default `cmdLineLengthLimit` for os x.

3 years agoMove bootstrapping.conf to .build.
Andrey Mokhov [Mon, 11 Jan 2016 01:29:35 +0000 (01:29 +0000)] 
Move bootstrapping.conf to .build.

See #113.

3 years agoAdd -fno-warn-name-shadowing to cabal file.
Andrey Mokhov [Mon, 11 Jan 2016 00:49:50 +0000 (00:49 +0000)] 
Add -fno-warn-name-shadowing to cabal file.

See #143. [skip ci]

3 years agoFix formatting.
Andrey Mokhov [Sun, 10 Jan 2016 23:37:20 +0000 (23:37 +0000)] 
Fix formatting.

3 years agoRevert changes in Way.hs from #144.
Andrey Mokhov [Sun, 10 Jan 2016 23:34:10 +0000 (23:34 +0000)] 
Revert changes in Way.hs from #144.

3 years agoMerge pull request #144 from ndmitchell/master
Andrey Mokhov [Sun, 10 Jan 2016 22:54:19 +0000 (22:54 +0000)] 
Merge pull request #144 from ndmitchell/master

General refactorings

3 years agoMove gmp build results to buildRootPath.
Andrey Mokhov [Sun, 10 Jan 2016 22:52:19 +0000 (22:52 +0000)] 
Move gmp build results to buildRootPath.

See #113.

3 years agoMake build.bat work regardless of your current directory, so you can invoke it from...
Neil Mitchell [Sun, 10 Jan 2016 22:31:38 +0000 (22:31 +0000)] 
Make build.bat work regardless of your current directory, so you can invoke it from the root directory

3 years agoRemove an unnecessary hiding after disabling name shadow warning
Neil Mitchell [Sun, 10 Jan 2016 20:34:32 +0000 (20:34 +0000)] 
Remove an unnecessary hiding after disabling name shadow warning

3 years ago#143, turn of name shadowing warning
Neil Mitchell [Sun, 10 Jan 2016 20:34:15 +0000 (20:34 +0000)] 
#143, turn of name shadowing warning

3 years agoComment as to why we disable a warning
Neil Mitchell [Sun, 10 Jan 2016 20:32:04 +0000 (20:32 +0000)] 
Comment as to why we disable a warning

3 years agoRemove qualification on parallel identifiers
Neil Mitchell [Sun, 10 Jan 2016 20:31:37 +0000 (20:31 +0000)] 
Remove qualification on parallel identifiers

3 years agoHide parallel when importing from Development.Shake
Neil Mitchell [Sun, 10 Jan 2016 20:31:24 +0000 (20:31 +0000)] 
Hide parallel when importing from Development.Shake

3 years agoMerge branch 'master' of https://github.com/snowleopard/shaking-up-ghc
Neil Mitchell [Sun, 10 Jan 2016 20:28:45 +0000 (20:28 +0000)] 
Merge branch 'master' of https://github.com/snowleopard/shaking-up-ghc

3 years agoPostprocess inplace-pkg-config files.
Andrey Mokhov [Sun, 10 Jan 2016 14:24:58 +0000 (14:24 +0000)] 
Postprocess inplace-pkg-config files.

See #113 and #148.

3 years agoFix include paths.
Andrey Mokhov [Sun, 10 Jan 2016 12:11:11 +0000 (12:11 +0000)] 
Fix include paths.

See #145.

3 years agoMove build artefacts to .build/ directory.
Andrey Mokhov [Sun, 10 Jan 2016 05:02:18 +0000 (05:02 +0000)] 
Move build artefacts to .build/ directory.

See #113.

3 years agoAttempt to build stage1 GHC.
Andrey Mokhov [Sun, 10 Jan 2016 02:20:00 +0000 (02:20 +0000)] 
Attempt to build stage1 GHC.

See #110. [skip ci]

3 years agoQuote cache path.
Andrey Mokhov [Sun, 10 Jan 2016 00:42:55 +0000 (00:42 +0000)] 
Quote cache path.

See #110. [skip ci]

3 years agoSwitch to a more ambitious build target.
Andrey Mokhov [Sun, 10 Jan 2016 00:30:03 +0000 (00:30 +0000)] 
Switch to a more ambitious build target.

See #110. [skip ci]

3 years agoBuild ghc-cabal only, add cache.
Andrey Mokhov [Sat, 9 Jan 2016 23:35:04 +0000 (23:35 +0000)] 
Build ghc-cabal only, add cache.

See #110. [skip ci]

3 years agoUse splitOn to parse the Way
Neil Mitchell [Sat, 9 Jan 2016 21:47:47 +0000 (21:47 +0000)] 
Use splitOn to parse the Way

3 years agoExport Data.List.Extra from Base, rather than importing Extra in each module (seems...
Neil Mitchell [Sat, 9 Jan 2016 21:47:34 +0000 (21:47 +0000)] 
Export Data.List.Extra from Base, rather than importing Extra in each module (seems to fit with the general style)

3 years agoAvoid using Traversable to get at forM
Neil Mitchell [Sat, 9 Jan 2016 21:46:52 +0000 (21:46 +0000)] 
Avoid using Traversable to get at forM

3 years agoRewrite digest, avoid using list (to avoid a shadow warning), and avoid using head...
Neil Mitchell [Sat, 9 Jan 2016 21:46:36 +0000 (21:46 +0000)] 
Rewrite digest, avoid using list (to avoid a shadow warning), and avoid using head (partial function)

3 years agoRefactor getSingleton to avoid using list, otherwise an import of Data.Extra.List...
Neil Mitchell [Sat, 9 Jan 2016 21:45:53 +0000 (21:45 +0000)] 
Refactor getSingleton to avoid using list, otherwise an import of Data.Extra.List causes shadowing issues

3 years agoAdd a .ghci file, useful for experimenting and using ghcid
Neil Mitchell [Sat, 9 Jan 2016 21:33:21 +0000 (21:33 +0000)] 
Add a .ghci file, useful for experimenting and using ghcid

3 years agoDon't conflict with parallel in the latest Shake, provides a warning free way to...
Neil Mitchell [Sat, 9 Jan 2016 21:33:02 +0000 (21:33 +0000)] 
Don't conflict with parallel in the latest Shake, provides a warning free way to be forward and backward compatible with Shake (albeit not pretty)

3 years agoDrop exe extension.
Andrey Mokhov [Sat, 9 Jan 2016 20:38:42 +0000 (20:38 +0000)] 
Drop exe extension.

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]