hadrian.git
4 years agoAdd buildProgram rule.
Andrey Mokhov [Mon, 7 Dec 2015 01:44:10 +0000 (01:44 +0000)] 
Add buildProgram rule.

4 years agoRemove duplicates from library archives.
Andrey Mokhov [Mon, 7 Dec 2015 01:43:51 +0000 (01:43 +0000)] 
Remove duplicates from library archives.

4 years agoAdd support for compiling programs with Ghc builder.
Andrey Mokhov [Mon, 7 Dec 2015 01:42:30 +0000 (01:42 +0000)] 
Add support for compiling programs with Ghc builder.

4 years agoRename Target fields: sources -> inputs, files -> outputs.
Andrey Mokhov [Sat, 26 Sep 2015 22:35:57 +0000 (23:35 +0100)] 
Rename Target fields: sources -> inputs, files -> outputs.

4 years agoAdd comments/todos.
Andrey Mokhov [Sat, 26 Sep 2015 21:56:01 +0000 (22:56 +0100)] 
Add comments/todos.

4 years agoAdd support for non-library packages.
Andrey Mokhov [Fri, 25 Sep 2015 01:53:37 +0000 (02:53 +0100)] 
Add support for non-library packages.

4 years agoFinalise meeting agenda.
Andrey Mokhov [Fri, 25 Sep 2015 01:52:32 +0000 (02:52 +0100)] 
Finalise meeting agenda.

4 years agoClean up, add comments.
Andrey Mokhov [Fri, 25 Sep 2015 01:52:16 +0000 (02:52 +0100)] 
Clean up, add comments.

4 years agoPut when trackBuildSystem conditional more precisely.
Andrey Mokhov [Thu, 24 Sep 2015 22:48:02 +0000 (23:48 +0100)] 
Put when trackBuildSystem conditional more precisely.

4 years agoAdd ghc-bin package.
Andrey Mokhov [Thu, 24 Sep 2015 22:47:18 +0000 (23:47 +0100)] 
Add ghc-bin package.

4 years agoImprove Generate rule: clean up code, more accurate dependencies.
Andrey Mokhov [Thu, 24 Sep 2015 22:46:24 +0000 (23:46 +0100)] 
Improve Generate rule: clean up code, more accurate dependencies.

4 years agoFix HsCpp argument list.
Andrey Mokhov [Thu, 24 Sep 2015 22:45:01 +0000 (23:45 +0100)] 
Fix HsCpp argument list.

4 years agoAdd new mode for Ar builder: useAtFile (big performance increase).
Andrey Mokhov [Thu, 24 Sep 2015 22:44:34 +0000 (23:44 +0100)] 
Add new mode for Ar builder: useAtFile (big performance increase).

4 years agoAdd new setting keys.
Andrey Mokhov [Thu, 24 Sep 2015 22:42:47 +0000 (23:42 +0100)] 
Add new setting keys.

4 years agoAdd ArSupportsAtFile flag.
Andrey Mokhov [Thu, 24 Sep 2015 22:42:10 +0000 (23:42 +0100)] 
Add ArSupportsAtFile flag.

4 years agoAdd ArSupportsAtFile, BuildPlatform, HostPlatform, TargetPlatform flags.
Andrey Mokhov [Thu, 24 Sep 2015 22:41:37 +0000 (23:41 +0100)] 
Add ArSupportsAtFile, BuildPlatform, HostPlatform, TargetPlatform flags.

4 years agoAdd more thoughts.
Andrey Mokhov [Thu, 24 Sep 2015 11:44:59 +0000 (12:44 +0100)] 
Add more thoughts.

4 years agoAdd new builder HsCpp.
Andrey Mokhov [Thu, 24 Sep 2015 11:44:38 +0000 (12:44 +0100)] 
Add new builder HsCpp.

4 years agoImplement new generate rules.
Andrey Mokhov [Thu, 24 Sep 2015 04:50:46 +0000 (05:50 +0100)] 
Implement new generate rules.

4 years agoFix untracked .hs-incl dependencies.
Andrey Mokhov [Thu, 24 Sep 2015 04:50:17 +0000 (05:50 +0100)] 
Fix untracked .hs-incl dependencies.

4 years agoImplement all modes of GenPrimopCode builder.
Andrey Mokhov [Thu, 24 Sep 2015 04:49:39 +0000 (05:49 +0100)] 
Implement all modes of GenPrimopCode builder.

4 years agoAdd getLibWays to capture context-less ways.
Andrey Mokhov [Thu, 24 Sep 2015 04:49:11 +0000 (05:49 +0100)] 
Add getLibWays to capture context-less ways.

4 years agoClean up code.
Andrey Mokhov [Thu, 24 Sep 2015 04:47:46 +0000 (05:47 +0100)] 
Clean up code.

4 years agoFix GhcPrim path in getPackageSources.
Andrey Mokhov [Thu, 24 Sep 2015 04:46:13 +0000 (05:46 +0100)] 
Fix GhcPrim path in getPackageSources.

4 years agoFix ghcEnableTablesNextToCode, refactor code.
Andrey Mokhov [Thu, 24 Sep 2015 04:45:34 +0000 (05:45 +0100)] 
Fix ghcEnableTablesNextToCode, refactor code.

4 years agoAdd GhcSplit and Unlit builders.
Andrey Mokhov [Thu, 24 Sep 2015 04:43:05 +0000 (05:43 +0100)] 
Add GhcSplit and Unlit builders.

4 years agoImplement generation of PrimopWrappers.hs. Work on generating Config.hs.
Andrey Mokhov [Wed, 23 Sep 2015 01:10:25 +0000 (02:10 +0100)] 
Implement generation of PrimopWrappers.hs. Work on generating Config.hs.

4 years agoDraft GenPrimopCode argument list.
Andrey Mokhov [Wed, 23 Sep 2015 01:09:29 +0000 (02:09 +0100)] 
Draft GenPrimopCode argument list.

4 years agoAdd next meeting discusion agenda.
Andrey Mokhov [Wed, 23 Sep 2015 01:08:56 +0000 (02:08 +0100)] 
Add next meeting discusion agenda.

4 years agoAdd genPrimopCodeArgs to defaultArgs.
Andrey Mokhov [Wed, 23 Sep 2015 01:08:22 +0000 (02:08 +0100)] 
Add genPrimopCodeArgs to defaultArgs.

4 years agoAdd new configuration flags for generating Config.hs.
Andrey Mokhov [Wed, 23 Sep 2015 01:07:52 +0000 (02:07 +0100)] 
Add new configuration flags for generating Config.hs.

4 years agoHandle GenPrimopCode builder in a special way.
Andrey Mokhov [Wed, 23 Sep 2015 01:07:17 +0000 (02:07 +0100)] 
Handle GenPrimopCode builder in a special way.

4 years agoAdd GenPrimopCode builder.
Andrey Mokhov [Wed, 23 Sep 2015 01:06:48 +0000 (02:06 +0100)] 
Add GenPrimopCode builder.

4 years agoAdd new configuration flags for generating Config.hs.
Andrey Mokhov [Wed, 23 Sep 2015 01:06:28 +0000 (02:06 +0100)] 
Add new configuration flags for generating Config.hs.

4 years agoFinish Generate rule.
Andrey Mokhov [Mon, 21 Sep 2015 00:03:02 +0000 (01:03 +0100)] 
Finish Generate rule.

4 years agoAdd support for new configuration flags.
Andrey Mokhov [Mon, 21 Sep 2015 00:02:39 +0000 (01:02 +0100)] 
Add support for new configuration flags.

4 years agoAdd support for new keys in package-data files.
Andrey Mokhov [Mon, 21 Sep 2015 00:01:59 +0000 (01:01 +0100)] 
Add support for new keys in package-data files.

4 years agoTrack generated sources.
Andrey Mokhov [Mon, 21 Sep 2015 00:01:13 +0000 (01:01 +0100)] 
Track generated sources.

4 years agoClean up.
Andrey Mokhov [Mon, 21 Sep 2015 00:00:48 +0000 (01:00 +0100)] 
Clean up.

4 years agoUnify paths of sources and files in a target.
Andrey Mokhov [Sun, 20 Sep 2015 23:59:34 +0000 (00:59 +0100)] 
Unify paths of sources and files in a target.

4 years agoAdd hsc2HsArgs to global settings.
Andrey Mokhov [Sun, 20 Sep 2015 23:58:57 +0000 (00:58 +0100)] 
Add hsc2HsArgs to global settings.

4 years agoAdd support for Alex, Happy and Hsc2Hs builders.
Andrey Mokhov [Sun, 20 Sep 2015 23:58:19 +0000 (00:58 +0100)] 
Add support for Alex, Happy and Hsc2Hs builders.

4 years agoAdd support for empty YES/NO flags (treat empty as NO).
Andrey Mokhov [Sun, 20 Sep 2015 23:57:40 +0000 (00:57 +0100)] 
Add support for empty YES/NO flags (treat empty as NO).

4 years agoAdd a note on dead/duplicated code.
Andrey Mokhov [Sun, 20 Sep 2015 23:56:55 +0000 (00:56 +0100)] 
Add a note on dead/duplicated code.

4 years agoAdd more configuration flags.
Andrey Mokhov [Sun, 20 Sep 2015 23:55:17 +0000 (00:55 +0100)] 
Add more configuration flags.

4 years agoCollect arguments for Hsc2Hs builder.
Andrey Mokhov [Sun, 20 Sep 2015 23:54:29 +0000 (00:54 +0100)] 
Collect arguments for Hsc2Hs builder.

4 years agoAdd generatePackageCode rule, alexArgs, happyArgs and Hsc2Hs builder.
Andrey Mokhov [Sun, 20 Sep 2015 01:22:46 +0000 (02:22 +0100)] 
Add generatePackageCode rule, alexArgs, happyArgs and Hsc2Hs builder.

4 years agoClean up.
Andrey Mokhov [Fri, 18 Sep 2015 23:04:02 +0000 (00:04 +0100)] 
Clean up.

4 years agoGenerate only one rule for Haddock (Stage1).
Andrey Mokhov [Sun, 23 Aug 2015 00:04:55 +0000 (01:04 +0100)] 
Generate only one rule for Haddock (Stage1).

4 years agoFix Ghc/GhcM arguments.
Andrey Mokhov [Sat, 22 Aug 2015 23:33:01 +0000 (00:33 +0100)] 
Fix Ghc/GhcM arguments.

4 years agoClean up code, add comments.
Andrey Mokhov [Sat, 22 Aug 2015 23:04:55 +0000 (00:04 +0100)] 
Clean up code, add comments.

4 years agoRefactor imports, add comments.
Andrey Mokhov [Sat, 22 Aug 2015 21:18:14 +0000 (22:18 +0100)] 
Refactor imports, add comments.

4 years agoReplace GccLt46 with gccGe46 as the former was always used negated.
Andrey Mokhov [Sat, 22 Aug 2015 20:41:21 +0000 (21:41 +0100)] 
Replace GccLt46 with gccGe46 as the former was always used negated.

4 years agoRemove notP and (??) Predicate functions.
Andrey Mokhov [Sat, 22 Aug 2015 20:40:24 +0000 (21:40 +0100)] 
Remove notP and (??) Predicate functions.

4 years agoAdd comments, order Builder alphabetically.
Andrey Mokhov [Sat, 22 Aug 2015 20:18:28 +0000 (21:18 +0100)] 
Add comments, order Builder alphabetically.

4 years agoAdd comments.
Andrey Mokhov [Sat, 22 Aug 2015 20:08:19 +0000 (21:08 +0100)] 
Add comments.

4 years agoMerge Base.hs and Util.hs.
Andrey Mokhov [Sat, 22 Aug 2015 20:03:38 +0000 (21:03 +0100)] 
Merge Base.hs and Util.hs.

4 years agoMove Settings/Default.hs to GHC.hs, add Settings.hs.
Andrey Mokhov [Sat, 22 Aug 2015 18:20:11 +0000 (19:20 +0100)] 
Move Settings/Default.hs to GHC.hs, add Settings.hs.

4 years agoRefactor Oracles.
Andrey Mokhov [Sat, 22 Aug 2015 17:47:04 +0000 (18:47 +0100)] 
Refactor Oracles.

4 years agoRefactor imports.
Andrey Mokhov [Sat, 22 Aug 2015 17:00:14 +0000 (18:00 +0100)] 
Refactor imports.

4 years agoUse -Wall when compiling the build system.
Andrey Mokhov [Sat, 22 Aug 2015 16:59:54 +0000 (17:59 +0100)] 
Use -Wall when compiling the build system.

4 years agoAdd runghcid.bat.
Andrey Mokhov [Sat, 22 Aug 2015 16:59:18 +0000 (17:59 +0100)] 
Add runghcid.bat.

4 years agoFix Haddock arguments.
Andrey Mokhov [Fri, 21 Aug 2015 23:26:44 +0000 (00:26 +0100)] 
Fix Haddock arguments.

4 years agoImplement interestingInfo for Haddock.
Andrey Mokhov [Fri, 21 Aug 2015 22:39:40 +0000 (23:39 +0100)] 
Implement interestingInfo for Haddock.

4 years agoFix infinite loop bug in chunksOfSize.
Andrey Mokhov [Fri, 21 Aug 2015 22:39:06 +0000 (23:39 +0100)] 
Fix infinite loop bug in chunksOfSize.

4 years agoRename Switches.hs to Predicates.hs.
Andrey Mokhov [Fri, 21 Aug 2015 21:23:05 +0000 (22:23 +0100)] 
Rename Switches.hs to Predicates.hs.

4 years agoAdd PartialTarget, handle GHC.Prim module in a special way.
Andrey Mokhov [Fri, 21 Aug 2015 21:14:48 +0000 (22:14 +0100)] 
Add PartialTarget, handle GHC.Prim module in a special way.

4 years agoRemove parallel, stm, random, primitive, vector and dph from Stage1 packages, drop...
Andrey Mokhov [Fri, 21 Aug 2015 15:30:17 +0000 (16:30 +0100)] 
Remove parallel, stm, random, primitive, vector and dph from Stage1 packages, drop integerGmp2 support.

4 years agoDrop DepKeys, add DepId, clean up code.
Andrey Mokhov [Fri, 21 Aug 2015 15:29:01 +0000 (16:29 +0100)] 
Drop DepKeys, add DepId, clean up code.

4 years agoClean up, fix -Wall warnings.
Andrey Mokhov [Fri, 21 Aug 2015 15:28:03 +0000 (16:28 +0100)] 
Clean up, fix -Wall warnings.

4 years agoDrop integerGmp2 and clean up.
Andrey Mokhov [Fri, 21 Aug 2015 15:12:27 +0000 (16:12 +0100)] 
Drop integerGmp2 and clean up.

4 years agoClean up.
Andrey Mokhov [Fri, 21 Aug 2015 15:11:53 +0000 (16:11 +0100)] 
Clean up.

4 years agoMove Monoid (ReaderT Target Action a) instance to src/Target.hs.
Andrey Mokhov [Fri, 21 Aug 2015 15:10:44 +0000 (16:10 +0100)] 
Move Monoid (ReaderT Target Action a) instance to src/Target.hs.

4 years agoMove basic predicates to src/Switches.hs.
Andrey Mokhov [Fri, 21 Aug 2015 15:09:43 +0000 (16:09 +0100)] 
Move basic predicates to src/Switches.hs.

4 years agoMove needBuilder to src/Builder.hs.
Andrey Mokhov [Fri, 21 Aug 2015 15:07:01 +0000 (16:07 +0100)] 
Move needBuilder to src/Builder.hs.

4 years agoDrop custom cfg/configure.ac and instead add an appropriate AC_CONFIG_FILES command...
Andrey Mokhov [Thu, 20 Aug 2015 22:56:01 +0000 (23:56 +0100)] 
Drop custom cfg/configure.ac and instead add an appropriate AC_CONFIG_FILES command directly to the existing configure.ac.

4 years agoRemove traces of mk-miner submodule.
Andrey Mokhov [Wed, 19 Aug 2015 14:14:52 +0000 (15:14 +0100)] 
Remove traces of mk-miner submodule.

4 years agoDrop mk-miner submodule.
Andrey Mokhov [Wed, 19 Aug 2015 14:02:19 +0000 (15:02 +0100)] 
Drop mk-miner submodule.

4 years agoImplement buildPackageDocumentation build rule.
Andrey Mokhov [Wed, 19 Aug 2015 01:42:50 +0000 (02:42 +0100)] 
Implement buildPackageDocumentation build rule.

4 years agoAdd findKnownPackage for finding packages by name.
Andrey Mokhov [Wed, 19 Aug 2015 01:42:15 +0000 (02:42 +0100)] 
Add findKnownPackage for finding packages by name.

4 years agoCollect all arguments for haddock.
Andrey Mokhov [Wed, 19 Aug 2015 01:41:39 +0000 (02:41 +0100)] 
Collect all arguments for haddock.

4 years agoBuild haddock only in Stage1.
Andrey Mokhov [Wed, 19 Aug 2015 01:39:23 +0000 (02:39 +0100)] 
Build haddock only in Stage1.

4 years agoAdd pkgHaddockPath for finding haddock files.
Andrey Mokhov [Wed, 19 Aug 2015 01:38:31 +0000 (02:38 +0100)] 
Add pkgHaddockPath for finding haddock files.

4 years agoAdd haddock build targets.
Andrey Mokhov [Wed, 19 Aug 2015 01:37:30 +0000 (02:37 +0100)] 
Add haddock build targets.

4 years agoAdd HiddenModules key to PackageData.hs.
Andrey Mokhov [Wed, 19 Aug 2015 01:36:33 +0000 (02:36 +0100)] 
Add HiddenModules key to PackageData.hs.

4 years agoAdd Haddock builder.
Andrey Mokhov [Wed, 19 Aug 2015 01:35:56 +0000 (02:35 +0100)] 
Add Haddock builder.

4 years agoAdd haddock path to cfg/system.config.in.
Andrey Mokhov [Wed, 19 Aug 2015 01:35:04 +0000 (02:35 +0100)] 
Add haddock path to cfg/system.config.in.

4 years agoClarify comment.
Andrey Mokhov [Wed, 12 Aug 2015 00:30:38 +0000 (01:30 +0100)] 
Clarify comment.

4 years agoAdd trackBuildSystem switch (perhaps, temporarily).
Andrey Mokhov [Wed, 12 Aug 2015 00:27:28 +0000 (01:27 +0100)] 
Add trackBuildSystem switch (perhaps, temporarily).

4 years agoAdd removeFile to Util.hs.
Andrey Mokhov [Tue, 11 Aug 2015 01:48:11 +0000 (02:48 +0100)] 
Add removeFile to Util.hs.

4 years agoAdd comments.
Andrey Mokhov [Mon, 10 Aug 2015 23:24:24 +0000 (00:24 +0100)] 
Add comments.

4 years agoFix performance drop due to improper use of removeFiles.
Andrey Mokhov [Mon, 10 Aug 2015 23:16:38 +0000 (00:16 +0100)] 
Fix performance drop due to improper use of removeFiles.

4 years agoOptimise ArgsHash oracle improving zero build time.
Andrey Mokhov [Mon, 10 Aug 2015 00:40:17 +0000 (01:40 +0100)] 
Optimise ArgsHash oracle improving zero build time.

4 years agoRename getHsSources to getPackageSources.
Andrey Mokhov [Mon, 10 Aug 2015 00:39:47 +0000 (01:39 +0100)] 
Rename getHsSources to getPackageSources.

4 years agoClean up code, do renaming.
Andrey Mokhov [Mon, 10 Aug 2015 00:38:57 +0000 (01:38 +0100)] 
Clean up code, do renaming.

4 years agoSwitch to using one dependency file for all objects.
Andrey Mokhov [Mon, 10 Aug 2015 00:35:55 +0000 (01:35 +0100)] 
Switch to using one dependency file for all objects.

4 years agoImprove zero build performance.
Andrey Mokhov [Sat, 8 Aug 2015 00:03:26 +0000 (01:03 +0100)] 
Improve zero build performance.

4 years agoAdd support for hs-boot files.
Andrey Mokhov [Fri, 7 Aug 2015 21:33:20 +0000 (22:33 +0100)] 
Add support for hs-boot files.

4 years agoAdd hibootsuf and an unsafe version of safeDetectWay.
Andrey Mokhov [Fri, 7 Aug 2015 21:32:59 +0000 (22:32 +0100)] 
Add hibootsuf and an unsafe version of safeDetectWay.

4 years agoClean up.
Andrey Mokhov [Fri, 7 Aug 2015 11:28:07 +0000 (12:28 +0100)] 
Clean up.