hadrian.git
3 years agoRun configure via stack exec.
Andrey Mokhov [Mon, 2 May 2016 03:10:18 +0000 (04:10 +0100)] 
Run configure via stack exec.

3 years agoMerge branch 'master' of git://github.com/snowleopard/hadrian
Andrey Mokhov [Mon, 2 May 2016 03:00:12 +0000 (04:00 +0100)] 
Merge branch 'master' of git://github.com/snowleopard/hadrian

3 years agoMove gmp library instead of copying it. Add moveFile.
Andrey Mokhov [Mon, 2 May 2016 02:59:52 +0000 (03:59 +0100)] 
Move gmp library instead of copying it. Add moveFile.

See #163.

3 years agoPrint version info before running configure
Andrey Mokhov [Mon, 2 May 2016 02:45:49 +0000 (03:45 +0100)] 
Print version info before running configure

3 years agoDo putInfo even in verbose mode, minor revision.
Andrey Mokhov [Mon, 2 May 2016 02:08:10 +0000 (03:08 +0100)] 
Do putInfo even in verbose mode, minor revision.

3 years agoTurn Configure into a Builder.
Andrey Mokhov [Mon, 2 May 2016 01:49:30 +0000 (02:49 +0100)] 
Turn Configure into a Builder.

3 years agoUse in-tree Cabal library.
Andrey Mokhov [Sat, 30 Apr 2016 23:40:08 +0000 (00:40 +0100)] 
Use in-tree Cabal library.

See #228.

3 years agoMove Shake files into _build/hadrian
Andrey Mokhov [Sat, 30 Apr 2016 22:04:41 +0000 (23:04 +0100)] 
Move Shake files into _build/hadrian

3 years agoMove Hadrian executable to /hadrian.
Andrey Mokhov [Sat, 30 Apr 2016 13:35:22 +0000 (14:35 +0100)] 
Move Hadrian executable to /hadrian.

3 years agoFix Travis CI.
Andrey Mokhov [Sat, 30 Apr 2016 12:03:56 +0000 (13:03 +0100)] 
Fix Travis CI.

3 years agoFix Appveyor CI.
Andrey Mokhov [Sat, 30 Apr 2016 12:01:49 +0000 (13:01 +0100)] 
Fix Appveyor CI.

3 years agoBuild Hadrian in _build.
Andrey Mokhov [Sat, 30 Apr 2016 01:40:55 +0000 (02:40 +0100)] 
Build Hadrian in _build.

3 years agoUpdate CI links
Andrey Mokhov [Thu, 28 Apr 2016 23:01:49 +0000 (00:01 +0100)] 
Update CI links

3 years agoRename build directory
Andrey Mokhov [Thu, 28 Apr 2016 22:43:28 +0000 (23:43 +0100)] 
Rename build directory

3 years agoRename shakePath to hadrian.
Andrey Mokhov [Tue, 26 Apr 2016 23:59:24 +0000 (00:59 +0100)] 
Rename shakePath to hadrian.

[skip ci]

3 years agoAdd TODOs.
Andrey Mokhov [Tue, 26 Apr 2016 23:58:40 +0000 (00:58 +0100)] 
Add TODOs.

[skip ci]

3 years agoRename project executable to hadrian.
Andrey Mokhov [Tue, 26 Apr 2016 23:50:27 +0000 (00:50 +0100)] 
Rename project executable to hadrian.

3 years agoRename to Hadrian.
Andrey Mokhov [Tue, 26 Apr 2016 23:45:38 +0000 (00:45 +0100)] 
Rename to Hadrian.

[skip ci]

3 years agoRename to Hadrian
Andrey Mokhov [Tue, 26 Apr 2016 23:39:10 +0000 (00:39 +0100)] 
Rename to Hadrian

[skip ci]

3 years agoRename to Hadrian
Andrey Mokhov [Tue, 26 Apr 2016 23:37:25 +0000 (00:37 +0100)] 
Rename to Hadrian

[skip ci]

3 years agoRename to Hadrian.
Andrey Mokhov [Tue, 26 Apr 2016 23:34:46 +0000 (00:34 +0100)] 
Rename to Hadrian.

[skip ci]

3 years agoRename to Hadrian
Andrey Mokhov [Tue, 26 Apr 2016 23:10:35 +0000 (00:10 +0100)] 
Rename to Hadrian

[skip ci]

3 years agoDrop laxDependencies. To be replaced by Shake's skip feature.
Andrey Mokhov [Tue, 26 Apr 2016 08:44:41 +0000 (09:44 +0100)] 
Drop laxDependencies. To be replaced by Shake's skip feature.

3 years agoAdd comment on unicode build info.
Andrey Mokhov [Tue, 26 Apr 2016 00:42:15 +0000 (01:42 +0100)] 
Add comment on unicode build info.

[skip ci]

3 years agoDrop workaround a Shake getDirectoryFiles bug.
Andrey Mokhov [Tue, 26 Apr 2016 00:28:55 +0000 (01:28 +0100)] 
Drop workaround a Shake getDirectoryFiles bug.

3 years agoMerge builder, stagedBuilder, builderGhc/Cc into builder.
Andrey Mokhov [Tue, 26 Apr 2016 00:04:04 +0000 (01:04 +0100)] 
Merge builder, stagedBuilder, builderGhc/Cc into builder.

See #223.

3 years agoMinor revision.
Andrey Mokhov [Mon, 25 Apr 2016 23:46:58 +0000 (00:46 +0100)] 
Minor revision.

3 years agoDrop experimental code for #174.
Andrey Mokhov [Mon, 25 Apr 2016 23:25:12 +0000 (00:25 +0100)] 
Drop experimental code for #174.

3 years agoAdd CompilerMode Link.
Andrey Mokhov [Mon, 25 Apr 2016 22:51:58 +0000 (23:51 +0100)] 
Add CompilerMode Link.

See #223.

3 years agoTweak shake constraint.
Andrey Mokhov [Fri, 22 Apr 2016 18:47:18 +0000 (19:47 +0100)] 
Tweak shake constraint.

See #230.

3 years agoMerge pull request #230 from cocreature/stack-shake-0.15.6
Andrey Mokhov [Fri, 22 Apr 2016 18:44:30 +0000 (19:44 +0100)] 
Merge pull request #230 from cocreature/stack-shake-0.15.6

Add shake-0.15.6 to stack extra-deps

3 years agoAdd shake-0.15.6 to stack extra-deps
Moritz Kiefer [Fri, 22 Apr 2016 16:24:35 +0000 (18:24 +0200)] 
Add shake-0.15.6 to stack extra-deps

3 years agoSwitch to shake-0.15.6.
Andrey Mokhov [Fri, 22 Apr 2016 16:05:28 +0000 (17:05 +0100)] 
Switch to shake-0.15.6.

3 years agoTry full build on Mac OS X.
Andrey Mokhov [Fri, 22 Apr 2016 12:47:29 +0000 (13:47 +0100)] 
Try full build on Mac OS X.

3 years agoDon't use Docker on Travis.
Andrey Mokhov [Fri, 22 Apr 2016 12:08:07 +0000 (13:08 +0100)] 
Don't use Docker on Travis.

See #229.

3 years agoRun ghc-pkg list through stack
Andrey Mokhov [Fri, 22 Apr 2016 12:04:44 +0000 (13:04 +0100)] 
Run ghc-pkg list through stack

3 years agoList installed packages in CI
Andrey Mokhov [Fri, 22 Apr 2016 11:21:26 +0000 (12:21 +0100)] 
List installed packages in CI

3 years agoAdd a note on cabalDeps list.
Andrey Mokhov [Mon, 18 Apr 2016 09:16:13 +0000 (10:16 +0100)] 
Add a note on cabalDeps list.

See #215. [skip ci]

3 years agoKeep up with recent GHC changes, see #215.
Andrey Mokhov [Mon, 18 Apr 2016 00:19:21 +0000 (01:19 +0100)] 
Keep up with recent GHC changes, see #215.

3 years agoMerge pull request #225 from hvr/pr/systemcfg-fixes
Andrey Mokhov [Sun, 17 Apr 2016 16:00:15 +0000 (17:00 +0100)] 
Merge pull request #225 from hvr/pr/systemcfg-fixes

Misc `system.config.in` fixes

3 years agoConvert cfg/system.config.in to use unix line-endings
Herbert Valerio Riedel [Sun, 17 Apr 2016 13:46:57 +0000 (15:46 +0200)] 
Convert cfg/system.config.in to use unix line-endings

3 years agoAdapt to @WhatIsGcc@ being renamed to @CC@ in GHC HEAD
Herbert Valerio Riedel [Sun, 17 Apr 2016 13:46:06 +0000 (15:46 +0200)] 
Adapt to @WhatIsGcc@ being renamed to @CC@ in GHC HEAD

3 years agoAdd CompilerMode to Cc and Ghc builders.
Andrey Mokhov [Fri, 15 Apr 2016 01:23:37 +0000 (02:23 +0100)] 
Add CompilerMode to Cc and Ghc builders.

See #223.

3 years agoRename Gcc(M) to Cc(M).
Andrey Mokhov [Thu, 14 Apr 2016 00:41:02 +0000 (01:41 +0100)] 
Rename Gcc(M) to Cc(M).

See #222, #223.

3 years agoDon't add exe extension to builder paths on Windows.
Andrey Mokhov [Tue, 12 Apr 2016 17:45:50 +0000 (18:45 +0100)] 
Don't add exe extension to builder paths on Windows.

See #221, #222.

3 years agoMinor tweaks
Andrey Mokhov [Tue, 12 Apr 2016 00:04:31 +0000 (01:04 +0100)] 
Minor tweaks

3 years agoPass conf-cc-args-stageN to Gcc builder.
Andrey Mokhov [Mon, 11 Apr 2016 22:18:19 +0000 (23:18 +0100)] 
Pass conf-cc-args-stageN to Gcc builder.

See #221.

3 years agoInstall alex and happy using cabal to fix Travis failure
Andrey Mokhov [Sun, 10 Apr 2016 23:43:59 +0000 (00:43 +0100)] 
Install alex and happy using cabal to fix Travis failure

3 years agoAdd -threaded to ghc options.
Andrey Mokhov [Sun, 10 Apr 2016 23:27:21 +0000 (00:27 +0100)] 
Add -threaded to ghc options.

3 years agoMerge branch 'master' of git://github.com/snowleopard/shaking-up-ghc
Andrey Mokhov [Thu, 10 Mar 2016 12:37:03 +0000 (12:37 +0000)] 
Merge branch 'master' of git://github.com/snowleopard/shaking-up-ghc

3 years agoExperiment with a more efficient version of -/- in Settings.Paths
Andrey Mokhov [Thu, 10 Mar 2016 12:34:51 +0000 (12:34 +0000)] 
Experiment with a more efficient version of -/- in Settings.Paths

See #218.

3 years agoUpdate limitations
Andrey Mokhov [Thu, 10 Mar 2016 11:57:53 +0000 (11:57 +0000)] 
Update limitations

See #219. [skip ci]

3 years agoWe can now build profiling way
Andrey Mokhov [Thu, 10 Mar 2016 00:26:04 +0000 (00:26 +0000)] 
We can now build profiling way

See #186. [skip ci]

3 years agoQuick flavour now disables library profiling
Andrey Mokhov [Thu, 10 Mar 2016 00:01:55 +0000 (00:01 +0000)] 
Quick flavour now disables library profiling

See #188. [skip ci]

3 years agoBuild profiled libraries by default.
Andrey Mokhov [Wed, 9 Mar 2016 23:49:48 +0000 (23:49 +0000)] 
Build profiled libraries by default.

See #186, #218.

3 years agoAllow build flavours to control Ways.
Andrey Mokhov [Wed, 9 Mar 2016 23:48:54 +0000 (23:48 +0000)] 
Allow build flavours to control Ways.

See #188, #218.

3 years agoDisable library profiling in quick build flavour.
Andrey Mokhov [Wed, 9 Mar 2016 23:47:34 +0000 (23:47 +0000)] 
Disable library profiling in quick build flavour.

See #188.

3 years agoHash Target inputs in ArgsHashOracle.
Andrey Mokhov [Tue, 8 Mar 2016 01:35:17 +0000 (01:35 +0000)] 
Hash Target inputs in ArgsHashOracle.

See #217.

3 years agoSplit buildPackageData rule.
Andrey Mokhov [Sat, 5 Mar 2016 14:07:47 +0000 (14:07 +0000)] 
Split buildPackageData rule.

See #206.

3 years agoMake Objdump builder optional.
Andrey Mokhov [Sat, 5 Mar 2016 13:17:23 +0000 (13:17 +0000)] 
Make Objdump builder optional.

See #211.

3 years agoError when a non-optional builder is not specified.
Andrey Mokhov [Fri, 4 Mar 2016 01:43:30 +0000 (01:43 +0000)] 
Error when a non-optional builder is not specified.

See #211.

3 years agoMinor revision
Andrey Mokhov [Fri, 4 Mar 2016 00:20:39 +0000 (00:20 +0000)] 
Minor revision

[skip ci]

3 years agoLink to Stack-based build instructions for Windows.
Andrey Mokhov [Fri, 4 Mar 2016 00:18:18 +0000 (00:18 +0000)] 
Link to Stack-based build instructions for Windows.

3 years agoMerge pull request #212 from ndmitchell/master
Andrey Mokhov [Thu, 3 Mar 2016 23:40:30 +0000 (23:40 +0000)] 
Merge pull request #212 from ndmitchell/master

Add docs for how to compile on Windows [skip ci]

3 years agoAdd a note on how to install Happy/Alex better
Neil Mitchell [Thu, 3 Mar 2016 23:18:44 +0000 (23:18 +0000)] 
Add a note on how to install Happy/Alex better

3 years agoAdd docs for how to compile on Windows, with a list of complete instructions
Neil Mitchell [Thu, 3 Mar 2016 20:52:50 +0000 (20:52 +0000)] 
Add docs for how to compile on Windows, with a list of complete instructions

3 years agoFix haddock.
Andrey Mokhov [Mon, 29 Feb 2016 02:02:53 +0000 (02:02 +0000)] 
Fix haddock.

3 years agoAdd missing arguments for rts package.
Andrey Mokhov [Sun, 28 Feb 2016 23:47:46 +0000 (23:47 +0000)] 
Add missing arguments for rts package.

3 years agoUse default project name on AppVeyor.
Andrey Mokhov [Fri, 26 Feb 2016 22:55:25 +0000 (22:55 +0000)] 
Use default project name on AppVeyor.

3 years agoDrop redundant 'build' component in build paths, rename contextPath to buildPath.
Andrey Mokhov [Fri, 26 Feb 2016 22:36:38 +0000 (22:36 +0000)] 
Drop redundant 'build' component in build paths, rename contextPath to buildPath.

3 years agoAdd comments.
Andrey Mokhov [Fri, 26 Feb 2016 19:00:31 +0000 (19:00 +0000)] 
Add comments.

See #55.

3 years agoFix outdated comments.
Andrey Mokhov [Fri, 26 Feb 2016 15:47:56 +0000 (15:47 +0000)] 
Fix outdated comments.

See #210.

3 years agoUse (Stage, Package) as the key for moduleFilesOracle.
Andrey Mokhov [Fri, 26 Feb 2016 13:35:33 +0000 (13:35 +0000)] 
Use (Stage, Package) as the key for moduleFilesOracle.

See #210.

3 years agoAdd comments.
Andrey Mokhov [Fri, 26 Feb 2016 12:09:40 +0000 (12:09 +0000)] 
Add comments.

See #210.

3 years agoUse conventional whitespacing for @.
Andrey Mokhov [Fri, 26 Feb 2016 11:37:47 +0000 (11:37 +0000)] 
Use conventional whitespacing for @.

See #210.

3 years agoMinor revision.
Andrey Mokhov [Fri, 26 Feb 2016 11:37:00 +0000 (11:37 +0000)] 
Minor revision.

See #210.

3 years agoUse Context as key to moduleFilesOracle.
Andrey Mokhov [Fri, 26 Feb 2016 03:37:22 +0000 (03:37 +0000)] 
Use Context as key to moduleFilesOracle.

See #210.

3 years agoDrop testModuleFilesOracle.
Andrey Mokhov [Fri, 26 Feb 2016 03:36:31 +0000 (03:36 +0000)] 
Drop testModuleFilesOracle.

See #210.

3 years agoAdd findGenerator, refactor Oracles.ModuleFiles.
Andrey Mokhov [Fri, 26 Feb 2016 02:25:44 +0000 (02:25 +0000)] 
Add findGenerator, refactor Oracles.ModuleFiles.

See #210.

3 years agoMinor revision.
Andrey Mokhov [Fri, 26 Feb 2016 01:54:51 +0000 (01:54 +0000)] 
Minor revision.

3 years agoAdd missing dependencies.
Andrey Mokhov [Fri, 26 Feb 2016 00:46:11 +0000 (00:46 +0000)] 
Add missing dependencies.

3 years agoSimplify and refactor moduleFiles oracle.
Andrey Mokhov [Thu, 25 Feb 2016 23:15:18 +0000 (23:15 +0000)] 
Simplify and refactor moduleFiles oracle.

See #210.

3 years agoDrop redundant brackets.
Andrey Mokhov [Tue, 23 Feb 2016 02:46:06 +0000 (02:46 +0000)] 
Drop redundant brackets.

3 years agoTest findModuleFiles.
Andrey Mokhov [Sun, 21 Feb 2016 02:22:26 +0000 (02:22 +0000)] 
Test findModuleFiles.

See #197, #210.

3 years agoAdd findModuleFiles and export it.
Andrey Mokhov [Sun, 21 Feb 2016 02:21:00 +0000 (02:21 +0000)] 
Add findModuleFiles and export it.

See #210.

3 years agoDrop duplication of module names in moduleFilesOracle.
Andrey Mokhov [Sun, 21 Feb 2016 01:28:12 +0000 (01:28 +0000)] 
Drop duplication of module names in moduleFilesOracle.

See #210.

3 years agoKeep duplicates in the intersection.
Andrey Mokhov [Sun, 21 Feb 2016 01:27:24 +0000 (01:27 +0000)] 
Keep duplicates in the intersection.

3 years agoAdd lookupAll and test it.
Andrey Mokhov [Sun, 21 Feb 2016 00:01:08 +0000 (00:01 +0000)] 
Add lookupAll and test it.

See #210.

3 years agoDocument and test encode/decodeModule.
Andrey Mokhov [Sat, 20 Feb 2016 22:40:41 +0000 (22:40 +0000)] 
Document and test encode/decodeModule.

See #197, #210.

3 years agoRefactor moduleFilesOracle, work in progress.
Andrey Mokhov [Fri, 19 Feb 2016 18:31:30 +0000 (18:31 +0000)] 
Refactor moduleFilesOracle, work in progress.

See #210.

3 years agoRefactor paths using Context.
Andrey Mokhov [Fri, 19 Feb 2016 02:49:11 +0000 (02:49 +0000)] 
Refactor paths using Context.

See #207.

3 years agoRefactor oracles, drop redundant newCache.
Andrey Mokhov [Fri, 19 Feb 2016 01:15:10 +0000 (01:15 +0000)] 
Refactor oracles, drop redundant newCache.

3 years agoAdd comments.
Andrey Mokhov [Fri, 19 Feb 2016 00:35:44 +0000 (00:35 +0000)] 
Add comments.

See #210.

3 years agoDrop redundant newCache.
Andrey Mokhov [Fri, 19 Feb 2016 00:30:00 +0000 (00:30 +0000)] 
Drop redundant newCache.

See #210.

3 years agoMake RecordWildCards a default extension.
Andrey Mokhov [Fri, 19 Feb 2016 00:00:14 +0000 (00:00 +0000)] 
Make RecordWildCards a default extension.

See #207.

3 years agoAdd missing resource dependency to buildBinary.
Andrey Mokhov [Thu, 18 Feb 2016 08:36:38 +0000 (08:36 +0000)] 
Add missing resource dependency to buildBinary.

See #206.

3 years agoAdd --profile=- to CI build scripts.
Andrey Mokhov [Thu, 18 Feb 2016 00:25:54 +0000 (00:25 +0000)] 
Add --profile=- to CI build scripts.

Fix #209.

3 years agoMerge pull request #208 from ndmitchell/master
Andrey Mokhov [Wed, 17 Feb 2016 17:09:24 +0000 (17:09 +0000)] 
Merge pull request #208 from ndmitchell/master

Ensure that if ghc compilation fails then we return a non-zero error code from build.bat

3 years agoMerge branch 'master' of https://github.com/ndmitchell/shaking-up-ghc
Neil Mitchell [Wed, 17 Feb 2016 16:25:50 +0000 (16:25 +0000)] 
Merge branch 'master' of https://github.com/ndmitchell/shaking-up-ghc

3 years agoEnsure that if ghc compilation fails then we return a non-zero error code from build.bat
Neil Mitchell [Wed, 17 Feb 2016 16:24:19 +0000 (16:24 +0000)] 
Ensure that if ghc compilation fails then we return a non-zero error code from build.bat