hadrian.git
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

3 years agoUse Data.Bifunctor.bimap as it is now available on bootstrapping GHC.
Andrey Mokhov [Wed, 17 Feb 2016 01:59:11 +0000 (01:59 +0000)] 
Use Data.Bifunctor.bimap as it is now available on bootstrapping GHC.

3 years agoRefactor Selftest, add more tests for matchVersionedFilePath.
Andrey Mokhov [Tue, 16 Feb 2016 23:10:12 +0000 (23:10 +0000)] 
Refactor Selftest, add more tests for matchVersionedFilePath.

3 years agoDon't unify paths as it seems prone to surprises.
Andrey Mokhov [Tue, 16 Feb 2016 23:09:34 +0000 (23:09 +0000)] 
Don't unify paths as it seems prone to surprises.

3 years agoAdd tests for matchVersionedFilePath.
Andrey Mokhov [Tue, 16 Feb 2016 19:26:37 +0000 (19:26 +0000)] 
Add tests for matchVersionedFilePath.

3 years agoUse matchVersionedFilePath in registerPackage build rule.
Andrey Mokhov [Tue, 16 Feb 2016 19:16:33 +0000 (19:16 +0000)] 
Use matchVersionedFilePath in registerPackage build rule.

See #207.

3 years agoFactor out buildPackageGhciLibrary from buildPackageLibrary and make it more robust.
Andrey Mokhov [Tue, 16 Feb 2016 19:15:47 +0000 (19:15 +0000)] 
Factor out buildPackageGhciLibrary from buildPackageLibrary and make it more robust.

See #207.

3 years agoHide Shake.parallel. Again.
Andrey Mokhov [Tue, 16 Feb 2016 18:00:52 +0000 (18:00 +0000)] 
Hide Shake.parallel. Again.

3 years agoAdd matchVersionedFilePath and use for matching library targets.
Andrey Mokhov [Tue, 16 Feb 2016 17:30:13 +0000 (17:30 +0000)] 
Add matchVersionedFilePath and use for matching library targets.

3 years agoDrop matchBuildResult and associated functions.
Andrey Mokhov [Tue, 16 Feb 2016 03:12:11 +0000 (03:12 +0000)] 
Drop matchBuildResult and associated functions.

See #207.

3 years agoFinalise generation of build rules from contexts.
Andrey Mokhov [Tue, 16 Feb 2016 03:08:24 +0000 (03:08 +0000)] 
Finalise generation of build rules from contexts.

See #207.

3 years agoPass way to buildPackageLibrary via Context, minor revision.
Andrey Mokhov [Tue, 16 Feb 2016 03:01:56 +0000 (03:01 +0000)] 
Pass way to buildPackageLibrary via Context, minor revision.

See #207.

3 years agoMinor revision.
Andrey Mokhov [Tue, 16 Feb 2016 02:40:38 +0000 (02:40 +0000)] 
Minor revision.

See #207.

3 years agoDrop workaround for GHC bug #11331.
Andrey Mokhov [Tue, 16 Feb 2016 02:26:08 +0000 (02:26 +0000)] 
Drop workaround for GHC bug #11331.

See #174.

3 years agoPass way to compilePackage via Context.
Andrey Mokhov [Tue, 16 Feb 2016 02:24:35 +0000 (02:24 +0000)] 
Pass way to compilePackage via Context.

See #207.

3 years agoAdd allWays.
Andrey Mokhov [Tue, 16 Feb 2016 00:53:44 +0000 (00:53 +0000)] 
Add allWays.

3 years agoMove profilingDynamic to full ways.
Andrey Mokhov [Tue, 16 Feb 2016 00:44:44 +0000 (00:44 +0000)] 
Move profilingDynamic to full ways.

3 years agoFix separation into full and RTS-only ways, add comments.
Andrey Mokhov [Tue, 16 Feb 2016 00:31:32 +0000 (00:31 +0000)] 
Fix separation into full and RTS-only ways, add comments.

3 years agoDo not hide Shake.parallel (we no longer have conflicting Way.parallel).
Andrey Mokhov [Tue, 16 Feb 2016 00:08:25 +0000 (00:08 +0000)] 
Do not hide Shake.parallel (we no longer have conflicting Way.parallel).

3 years agoDrop Parallel way unit.
Andrey Mokhov [Tue, 16 Feb 2016 00:04:46 +0000 (00:04 +0000)] 
Drop Parallel way unit.

3 years agoDrop GranSim way unit.
Andrey Mokhov [Tue, 16 Feb 2016 00:01:47 +0000 (00:01 +0000)] 
Drop GranSim way unit.

3 years agoDrop Rules.Resources, move packageDb resource to buildRules.
Andrey Mokhov [Mon, 15 Feb 2016 23:20:41 +0000 (23:20 +0000)] 
Drop Rules.Resources, move packageDb resource to buildRules.

3 years agoMinor revision.
Andrey Mokhov [Sun, 14 Feb 2016 23:42:17 +0000 (23:42 +0000)] 
Minor revision.

3 years agoUse do notation to combine Rules.
Andrey Mokhov [Sun, 14 Feb 2016 23:34:37 +0000 (23:34 +0000)] 
Use do notation to combine Rules.

3 years agoDrop unused Resources parameter.
Andrey Mokhov [Sun, 14 Feb 2016 23:30:15 +0000 (23:30 +0000)] 
Drop unused Resources parameter.

3 years agoMove Rules/Package.hs into Rules.hs.
Andrey Mokhov [Sun, 14 Feb 2016 23:21:54 +0000 (23:21 +0000)] 
Move Rules/Package.hs into Rules.hs.

3 years agoMove Selftest and Test rules into Rules directory.
Andrey Mokhov [Sun, 14 Feb 2016 23:02:46 +0000 (23:02 +0000)] 
Move Selftest and Test rules into Rules directory.

3 years agoFactor out build rules into Rules.buildRules.
Andrey Mokhov [Sun, 14 Feb 2016 22:59:11 +0000 (22:59 +0000)] 
Factor out build rules into Rules.buildRules.

3 years agoFix incorrect context when reading BuildGhciLib flag.
Andrey Mokhov [Sun, 14 Feb 2016 22:57:17 +0000 (22:57 +0000)] 
Fix incorrect context when reading BuildGhciLib flag.

3 years agoInstall mkUserGuidePart binary to inplace/bin.
Andrey Mokhov [Sun, 14 Feb 2016 22:55:38 +0000 (22:55 +0000)] 
Install mkUserGuidePart binary to inplace/bin.

3 years agoMove mkUserGuidePart to Stage2.
Andrey Mokhov [Sun, 14 Feb 2016 21:54:25 +0000 (21:54 +0000)] 
Move mkUserGuidePart to Stage2.

3 years agoAdd comments.
Andrey Mokhov [Sun, 14 Feb 2016 21:18:57 +0000 (21:18 +0000)] 
Add comments.