hadrian.git
3 years agoMinor revision
Andrey Mokhov [Fri, 22 Jan 2016 12:18:22 +0000 (12:18 +0000)] 
Minor revision

[skip ci]

3 years agoAdd and link to important issues.
Andrey Mokhov [Fri, 22 Jan 2016 12:16:12 +0000 (12:16 +0000)] 
Add and link to important issues.

[skip ci]

3 years agoMinor revision
Andrey Mokhov [Fri, 22 Jan 2016 11:39:44 +0000 (11:39 +0000)] 
Minor revision

[skip ci]

3 years agoMajor rewrite before the first release
Andrey Mokhov [Fri, 22 Jan 2016 02:07:49 +0000 (02:07 +0000)] 
Major rewrite before the first release

3 years agoSwitch on ChangeModtimeAndDigest by default.
Andrey Mokhov [Thu, 21 Jan 2016 19:14:08 +0000 (19:14 +0000)] 
Switch on ChangeModtimeAndDigest by default.

3 years agoAdd full support for --configure command line flag.
Andrey Mokhov [Thu, 21 Jan 2016 17:36:50 +0000 (17:36 +0000)] 
Add full support for --configure command line flag.

3 years agoAdd initial support for --configure command line flag.
Andrey Mokhov [Thu, 21 Jan 2016 11:13:34 +0000 (11:13 +0000)] 
Add initial support for --configure command line flag.

3 years agoAdd support for --split-object command line flag.
Andrey Mokhov [Wed, 20 Jan 2016 01:00:50 +0000 (01:00 +0000)] 
Add support for --split-object command line flag.

See #132.

3 years agoMinor revision.
Andrey Mokhov [Wed, 20 Jan 2016 00:33:27 +0000 (00:33 +0000)] 
Minor revision.

[skip ci]

3 years agoRefactor CmdLineFlag.hs.
Andrey Mokhov [Wed, 20 Jan 2016 00:11:45 +0000 (00:11 +0000)] 
Refactor CmdLineFlag.hs.

3 years agoMerge pull request #185 from kgardas/fix_gmp_cabal_args
Andrey Mokhov [Tue, 19 Jan 2016 22:49:58 +0000 (22:49 +0000)] 
Merge pull request #185 from kgardas/fix_gmp_cabal_args

do not pass --with-intree-gmp to configure when system gmp is used

3 years agosimplify code and fix naming conventions based on Andrey's comments
Karel Gardas [Tue, 19 Jan 2016 21:27:36 +0000 (22:27 +0100)] 
simplify code and fix naming conventions based on Andrey's comments

3 years agoremove redundant Settings.Builders.Common import
Karel Gardas [Tue, 19 Jan 2016 21:06:12 +0000 (22:06 +0100)] 
remove redundant Settings.Builders.Common import

3 years agodo not pass --with-intree-gmp to configure when system gmp is used
Karel Gardas [Tue, 19 Jan 2016 20:42:08 +0000 (21:42 +0100)] 
do not pass --with-intree-gmp to configure when system gmp is used

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

[skip ci]

3 years agoDrop redundant case.
Andrey Mokhov [Tue, 19 Jan 2016 11:56:35 +0000 (11:56 +0000)] 
Drop redundant case.

[skip ci]

3 years agoFix CI regression, minor revision.
Andrey Mokhov [Tue, 19 Jan 2016 09:34:35 +0000 (09:34 +0000)] 
Fix CI regression, minor revision.

See #183.

3 years agoMerge pull request #183 from kgardas/fix_dirs_to_dir
Andrey Mokhov [Tue, 19 Jan 2016 08:54:29 +0000 (08:54 +0000)] 
Merge pull request #183 from kgardas/fix_dirs_to_dir

fix "dirs" to "dir" for gmp and iconv libraries

3 years agofix "dirs" to "dir" for gmp and iconv libraries
Karel Gardas [Tue, 19 Jan 2016 06:38:52 +0000 (07:38 +0100)] 
fix "dirs" to "dir" for gmp and iconv libraries

3 years agoCreate package database directories using oracles.
Andrey Mokhov [Tue, 19 Jan 2016 03:14:31 +0000 (03:14 +0000)] 
Create package database directories using oracles.

Fix #176.

3 years agoMerge pull request #182 from kgardas/fix_ffi_args
Andrey Mokhov [Mon, 18 Jan 2016 23:43:30 +0000 (23:43 +0000)] 
Merge pull request #182 from kgardas/fix_ffi_args

fix handling of FFI library configure params

3 years agofix tracking of changes to Libffi rules file
Karel Gardas [Mon, 18 Jan 2016 19:23:40 +0000 (20:23 +0100)] 
fix tracking of changes to Libffi rules file

3 years agopass ffi include/library directories to HsCpp
Karel Gardas [Mon, 18 Jan 2016 19:06:55 +0000 (20:06 +0100)] 
pass ffi include/library directories to HsCpp

3 years agoMerge branch 'master' into fix_ffi_args
Karel Gardas [Mon, 18 Jan 2016 11:49:15 +0000 (12:49 +0100)] 
Merge branch 'master' into fix_ffi_args

Conflicts:
cfg/system.config.in

3 years agochange from using "dirs" to "dir" for FFI library configuration
Karel Gardas [Mon, 18 Jan 2016 09:24:42 +0000 (10:24 +0100)] 
change from using "dirs" to "dir" for FFI library configuration

3 years agoRefactor Builder.hs.
Andrey Mokhov [Mon, 18 Jan 2016 01:31:06 +0000 (01:31 +0000)] 
Refactor Builder.hs.

Fix #124.

3 years agoCopy ghc-usage.txt and ghci-usage.txt.
Andrey Mokhov [Sun, 17 Jan 2016 23:37:01 +0000 (23:37 +0000)] 
Copy ghc-usage.txt and ghci-usage.txt.

Fix #181.

3 years agoBuild unlit.
Andrey Mokhov [Sun, 17 Jan 2016 23:33:28 +0000 (23:33 +0000)] 
Build unlit.

See #181. [skip ci]

3 years agouse flag instead of setting for use system ffi value
Karel Gardas [Sun, 17 Jan 2016 22:52:48 +0000 (23:52 +0100)] 
use flag instead of setting for use system ffi value

3 years agofix handling of FFI library configure params
Karel Gardas [Sun, 17 Jan 2016 21:55:57 +0000 (22:55 +0100)] 
fix handling of FFI library configure params

3 years agoFurther work on #174.
Andrey Mokhov [Sun, 17 Jan 2016 03:01:26 +0000 (03:01 +0000)] 
Further work on #174.

3 years agoRefactor ways, revise comments.
Andrey Mokhov [Sat, 16 Jan 2016 23:58:20 +0000 (23:58 +0000)] 
Refactor ways, revise comments.

See #100.

3 years agoMinor revision.
Andrey Mokhov [Sat, 16 Jan 2016 23:56:57 +0000 (23:56 +0000)] 
Minor revision.

[skip ci]

3 years agoMerge branch 'master' of github.com:snowleopard/shaking-up-ghc
Andrey Mokhov [Sat, 16 Jan 2016 18:10:49 +0000 (18:10 +0000)] 
Merge branch 'master' of github.com:snowleopard/shaking-up-ghc

3 years agoRefactor paths to auxiliary build files.
Andrey Mokhov [Sat, 16 Jan 2016 18:08:51 +0000 (18:08 +0000)] 
Refactor paths to auxiliary build files.

See #176.

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