ghc.git
3 years agoMake the build badges follow the master branch only
Andrey Mokhov [Sat, 16 Jan 2016 15:40:59 +0000 (15:40 +0000)] 
Make the build badges follow the master branch only

[skip ci]

3 years agoFix lint error on doesFileExist 'config.mk'.
Andrey Mokhov [Sat, 16 Jan 2016 12:16:29 +0000 (12:16 +0000)] 
Fix lint error on doesFileExist 'config.mk'.

3 years agoSwitch compileInterfaceFilesSeparately off by default.
Andrey Mokhov [Sat, 16 Jan 2016 03:12:55 +0000 (03:12 +0000)] 
Switch compileInterfaceFilesSeparately off by default.

See #174.

3 years agoAdd support for separate interface file compilation.
Andrey Mokhov [Sat, 16 Jan 2016 03:11:31 +0000 (03:11 +0000)] 
Add support for separate interface file compilation.

See #174.

3 years agoDon't rerun configure for integerGmp package.
Andrey Mokhov [Sat, 16 Jan 2016 03:10:54 +0000 (03:10 +0000)] 
Don't rerun configure for integerGmp package.

[skip ci]

3 years agoUndo irrelevant changes in previous commit.
Andrey Mokhov [Sat, 16 Jan 2016 00:56:11 +0000 (00:56 +0000)] 
Undo irrelevant changes in previous commit.

See #167.

3 years agoDon't need make (fails on Windows).
Andrey Mokhov [Sat, 16 Jan 2016 00:51:33 +0000 (00:51 +0000)] 
Don't need make (fails on Windows).

See #167.

3 years agoDrop makeCommand, use make detected by configure.
Andrey Mokhov [Fri, 15 Jan 2016 23:57:49 +0000 (23:57 +0000)] 
Drop makeCommand, use make detected by configure.

Fix #167.

3 years agoAdd Make builder.
Andrey Mokhov [Fri, 15 Jan 2016 23:13:05 +0000 (23:13 +0000)] 
Add Make builder.

See #167.

3 years agoDon't track integer-gmp.buildinfo.
Andrey Mokhov [Fri, 15 Jan 2016 16:07:28 +0000 (16:07 +0000)] 
Don't track integer-gmp.buildinfo.

See #173.

3 years agoMake error message more helpful.
Andrey Mokhov [Fri, 15 Jan 2016 14:48:29 +0000 (14:48 +0000)] 
Make error message more helpful.

[skip ci]

3 years agoMerge pull request #171 from snowleopard/angerman/feature/advanced-render-box
Andrey Mokhov [Fri, 15 Jan 2016 13:41:06 +0000 (13:41 +0000)] 
Merge pull request #171 from snowleopard/angerman/feature/advanced-render-box

advanced render box, fix #134 [skip ci]

3 years agoMove rendering to Actions.
Moritz Angermann [Fri, 15 Jan 2016 13:36:36 +0000 (21:36 +0800)] 
Move rendering to Actions.

3 years agoMerge remote-tracking branch 'snowleopard/master' into angerman/feature/advanced...
Moritz Angermann [Fri, 15 Jan 2016 07:59:02 +0000 (15:59 +0800)] 
Merge remote-tracking branch 'snowleopard/master' into angerman/feature/advanced-render-box

# Conflicts:
# src/Base.hs

3 years agoadds putBuildInfo
Moritz Angermann [Fri, 15 Jan 2016 07:31:23 +0000 (15:31 +0800)] 
adds putBuildInfo

3 years agoSpace leak.
Moritz Angermann [Fri, 15 Jan 2016 07:23:21 +0000 (15:23 +0800)] 
Space leak.

3 years agoDrops dot, adds none; renames pony to unicorn
Moritz Angermann [Fri, 15 Jan 2016 07:22:17 +0000 (15:22 +0800)] 
Drops dot, adds none; renames pony to unicorn

3 years agoDetermine system GMP library name and pass it via -optl.
Andrey Mokhov [Fri, 15 Jan 2016 01:11:36 +0000 (01:11 +0000)] 
Determine system GMP library name and pass it via -optl.

See #173.

3 years agoDetect the right patch command and use it when building gmp.
Andrey Mokhov [Thu, 14 Jan 2016 23:41:31 +0000 (23:41 +0000)] 
Detect the right patch command and use it when building gmp.

See #158.

3 years agoFix comments.
Andrey Mokhov [Thu, 14 Jan 2016 17:59:21 +0000 (17:59 +0000)] 
Fix comments.

[skip ci]

3 years agoPrint out system.config when running CI.
Andrey Mokhov [Thu, 14 Jan 2016 17:53:50 +0000 (17:53 +0000)] 
Print out system.config when running CI.

3 years agoFix formatting in renderAction.
Andrey Mokhov [Thu, 14 Jan 2016 14:19:54 +0000 (14:19 +0000)] 
Fix formatting in renderAction.

[skip ci]

3 years agoDon't use system GMP on Windows.
Andrey Mokhov [Thu, 14 Jan 2016 13:22:16 +0000 (13:22 +0000)] 
Don't use system GMP on Windows.

See #168.

3 years agoUse doesDirectoryExist to workaround a getDirectoryContents bug.
Andrey Mokhov [Thu, 14 Jan 2016 13:01:48 +0000 (13:01 +0000)] 
Use doesDirectoryExist to workaround a getDirectoryContents bug.

See #168.

3 years agoMerge pull request #168 from kgardas/fix_gmp_args
Andrey Mokhov [Thu, 14 Jan 2016 12:32:46 +0000 (12:32 +0000)] 
Merge pull request #168 from kgardas/fix_gmp_args

fix handling of --with-gmp-* configure arguments [skip ci]

3 years agoRefinements.
Moritz Angermann [Thu, 14 Jan 2016 06:19:23 +0000 (14:19 +0800)] 
Refinements.

3 years agoComplete Advanced Render Box
Moritz Angermann [Thu, 14 Jan 2016 06:16:41 +0000 (14:16 +0800)] 
Complete Advanced Render Box

Should fix #134 for good.

3 years agoProper support for `dot`
Moritz Angermann [Thu, 14 Jan 2016 06:03:05 +0000 (14:03 +0800)] 
Proper support for `dot`

Adds support for `dot`, by conditionally switching between `BS.putStr`
and `BS.putStrLn` depending on the msg.

The additional imports are part of shake anyway.

Fixes #134, dot support for good :)

3 years agoDrops 'none'
Moritz Angermann [Thu, 14 Jan 2016 06:02:51 +0000 (14:02 +0800)] 
Drops 'none'

shake has `-q` already, which is identical.

3 years agosimplify configureIntGmpArguments based on idea provided by Gabor Greif
Karel Gardas [Wed, 13 Jan 2016 22:31:29 +0000 (23:31 +0100)] 
simplify configureIntGmpArguments based on idea provided by Gabor Greif

3 years agomerge GMP library and framework GMP checks together
Karel Gardas [Wed, 13 Jan 2016 22:03:08 +0000 (23:03 +0100)] 
merge GMP library and framework GMP checks together

3 years agofix handling of --with-gmp-* configure arguments
Karel Gardas [Wed, 13 Jan 2016 21:24:38 +0000 (22:24 +0100)] 
fix handling of --with-gmp-* configure arguments

3 years agoMerge pull request #162 from ndmitchell/master
Andrey Mokhov [Wed, 13 Jan 2016 09:15:24 +0000 (09:15 +0000)] 
Merge pull request #162 from ndmitchell/master

#155, fix the name of the QuickCheck package [skip ci]

3 years ago#155, fix the name of the QuickCheck package (it doesn't follow the convention all...
Neil Mitchell [Wed, 13 Jan 2016 08:47:25 +0000 (08:47 +0000)] 
#155, fix the name of the QuickCheck package (it doesn't follow the convention all the others do)

3 years agoMerge pull request #161 from ndmitchell/master
Andrey Mokhov [Tue, 12 Jan 2016 22:46:47 +0000 (22:46 +0000)] 
Merge pull request #161 from ndmitchell/master

Cleanups in libffi

3 years ago#156, remove the directory if it already exists
Neil Mitchell [Tue, 12 Jan 2016 22:43:24 +0000 (22:43 +0000)] 
#156, remove the directory if it already exists

3 years agoIn the removeDirectory operation, use removeIfExists
Neil Mitchell [Tue, 12 Jan 2016 22:43:01 +0000 (22:43 +0000)] 
In the removeDirectory operation, use removeIfExists

3 years agoMerge pull request #154 from snowleopard/angerman/feature/build-info-flags
Andrey Mokhov [Tue, 12 Jan 2016 22:41:37 +0000 (22:41 +0000)] 
Merge pull request #154 from snowleopard/angerman/feature/build-info-flags

Add Advanced render box styles [skip ci]

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 agoReplace Oracle with IO Ref
Moritz Angermann [Tue, 12 Jan 2016 10:03:59 +0000 (18:03 +0800)] 
Replace Oracle with IO Ref

3 years agoAdds Pony
Moritz Angermann [Tue, 12 Jan 2016 07:42:56 +0000 (15:42 +0800)] 
Adds Pony

This fixes #92 for good.
Together this fixes #134 almost entirely.

3 years agoFix Merge.
Moritz Angermann [Tue, 12 Jan 2016 07:41:55 +0000 (15:41 +0800)] 
Fix Merge.

3 years agoMerge branch 'master' into angerman/feature/build-info-flags
Moritz Angermann [Tue, 12 Jan 2016 06:57:35 +0000 (14:57 +0800)] 
Merge branch 'master' into angerman/feature/build-info-flags

# Conflicts:
# src/Main.hs

3 years agoPreliminary working state
Moritz Angermann [Tue, 12 Jan 2016 06:56:53 +0000 (14:56 +0800)] 
Preliminary working state

This almost works. Yet we run into:
```
Build system error - cannot currently call askOracle:
  Reason:          Within withResource using Resource ghc-cabal
  Question type:   OracleQ CmdLineFlags
  Question value:  OracleQ (CmdLineFlags ())
Move the askOracle call earlier/later
```

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.