hadrian.git
3 years agoMove Shake database to shake-build/.db, rename _shake to .shake for consistency.
Andrey Mokhov [Sun, 20 Dec 2015 04:04:07 +0000 (04:04 +0000)] 
Move Shake database to shake-build/.db, rename _shake to .shake for consistency.

3 years agoSet shakeFilesPath to shake-build/.db
Andrey Mokhov [Sat, 19 Dec 2015 01:06:14 +0000 (01:06 +0000)] 
Set shakeFilesPath to shake-build/.db

3 years agoMove to shake-build subdirectory.
Andrey Mokhov [Sat, 19 Dec 2015 01:04:20 +0000 (01:04 +0000)] 
Move to shake-build subdirectory.

3 years agoMerge pull request #2 from bgamari/master
Andrey Mokhov [Fri, 18 Dec 2015 23:16:30 +0000 (23:16 +0000)] 
Merge pull request #2 from bgamari/master

Various fixes

3 years agoThe new build system will live in `shake-build`.
Andrey Mokhov [Fri, 18 Dec 2015 21:18:10 +0000 (21:18 +0000)] 
The new build system will live in `shake-build`.

3 years agoAdd remote GHCi libraries
Ben Gamari [Fri, 18 Dec 2015 11:27:16 +0000 (12:27 +0100)] 
Add remote GHCi libraries

See GHC commit 4905b83a2d448c65ccced385343d4e8124548a3b.

3 years agoDependencies: Use msum instead of explicit pattern matching
Ben Gamari [Wed, 16 Dec 2015 15:35:24 +0000 (16:35 +0100)] 
Dependencies: Use msum instead of explicit pattern matching

3 years agogenprimopcode also has a Cabal file
Ben Gamari [Wed, 16 Dec 2015 02:17:23 +0000 (03:17 +0100)] 
genprimopcode also has a Cabal file

As of GHC commit 314395e00be10e6343840c215a4779aeec2542df.

3 years agogenapply now has a Cabal build
Ben Gamari [Wed, 16 Dec 2015 02:13:51 +0000 (03:13 +0100)] 
genapply now has a Cabal build

3 years agoAdd configuration for libdw
Ben Gamari [Wed, 16 Dec 2015 01:42:11 +0000 (02:42 +0100)] 
Add configuration for libdw

3 years agoderiveConstants now has a Cabal file
Ben Gamari [Wed, 16 Dec 2015 01:19:26 +0000 (02:19 +0100)] 
deriveConstants now has a Cabal file

Since 314395e00be10e6343840c215a4779aeec2542df

3 years agoLIB_NAME, PACKAGE_KEY are now COMPONENT_ID
Ben Gamari [Wed, 16 Dec 2015 00:56:05 +0000 (01:56 +0100)] 
LIB_NAME, PACKAGE_KEY are now COMPONENT_ID

Since GHC commit 6338a1cc6df2c7fd8a62eeb4c5240dd90ee74a6c.

3 years agoGHC: bin-package-db is now ghc-boot
Ben Gamari [Wed, 16 Dec 2015 00:32:59 +0000 (01:32 +0100)] 
GHC: bin-package-db is now ghc-boot

3 years agoAdd build.sh for building on Posix platforms
Ben Gamari [Wed, 16 Dec 2015 00:28:13 +0000 (01:28 +0100)] 
Add build.sh for building on Posix platforms

3 years agoAdd NFData instances
Ben Gamari [Wed, 16 Dec 2015 00:27:04 +0000 (01:27 +0100)] 
Add NFData instances

3 years agoUpdate README.md
Andrey Mokhov [Thu, 17 Dec 2015 19:42:44 +0000 (19:42 +0000)] 
Update README.md

3 years agoDon't build system.config by default.
Andrey Mokhov [Wed, 16 Dec 2015 23:07:44 +0000 (23:07 +0000)] 
Don't build system.config by default.

3 years agoNo need to modify configure.ac any more. See https://phabricator.haskell.org/D1638
Andrey Mokhov [Wed, 16 Dec 2015 22:49:27 +0000 (22:49 +0000)] 
No need to modify configure.ac any more. See https://phabricator.haskell.org/D1638

3 years agoClean up.
Andrey Mokhov [Mon, 14 Dec 2015 02:43:00 +0000 (02:43 +0000)] 
Clean up.

3 years agoBuild hp2ps utility.
Andrey Mokhov [Sun, 13 Dec 2015 22:18:45 +0000 (22:18 +0000)] 
Build hp2ps utility.

3 years agoBuild genprimopcode utility.
Andrey Mokhov [Sun, 13 Dec 2015 19:25:30 +0000 (19:25 +0000)] 
Build genprimopcode utility.

3 years agoBuild genapply utility.
Andrey Mokhov [Sun, 13 Dec 2015 19:19:18 +0000 (19:19 +0000)] 
Build genapply utility.

3 years agoBuild deriveConstants utility.
Andrey Mokhov [Sun, 13 Dec 2015 03:54:05 +0000 (03:54 +0000)] 
Build deriveConstants utility.

3 years agoBuild haddock.
Andrey Mokhov [Sun, 13 Dec 2015 02:30:44 +0000 (02:30 +0000)] 
Build haddock.

3 years agoBuild all utils that use cabal files.
Andrey Mokhov [Sat, 12 Dec 2015 02:13:35 +0000 (02:13 +0000)] 
Build all utils that use cabal files.

3 years agoBuild ghc-pwd.
Andrey Mokhov [Sat, 12 Dec 2015 00:53:49 +0000 (00:53 +0000)] 
Build ghc-pwd.

3 years agoBuild ghc-pkg and ghc-cabal in stage 0.
Andrey Mokhov [Sat, 12 Dec 2015 00:50:27 +0000 (00:50 +0000)] 
Build ghc-pkg and ghc-cabal in stage 0.

3 years agoAdd support for building ghc-pkg.
Andrey Mokhov [Sat, 12 Dec 2015 00:41:49 +0000 (00:41 +0000)] 
Add support for building ghc-pkg.

3 years agoAdd generator for ghc-pkg//Version.hs.
Andrey Mokhov [Sat, 12 Dec 2015 00:41:26 +0000 (00:41 +0000)] 
Add generator for ghc-pkg//Version.hs.

3 years agoPass __GLASGOW_HASKELL__ to gcc when compiling directory.c
Andrey Mokhov [Fri, 11 Dec 2015 00:24:01 +0000 (00:24 +0000)] 
Pass __GLASGOW_HASKELL__ to gcc when compiling directory.c

3 years agoFix a poor pattern for detecting -0 library files.
Andrey Mokhov [Fri, 11 Dec 2015 00:23:25 +0000 (00:23 +0000)] 
Fix a poor pattern for detecting -0 library files.

3 years agoAdd support for utility packages.
Andrey Mokhov [Thu, 10 Dec 2015 01:42:07 +0000 (01:42 +0000)] 
Add support for utility packages.

3 years agoAdd extra objects into integerGmp library.
Andrey Mokhov [Thu, 10 Dec 2015 00:28:42 +0000 (00:28 +0000)] 
Add extra objects into integerGmp library.

3 years agoWork on command lines for compiling stage 2 GHC.
Andrey Mokhov [Wed, 9 Dec 2015 02:00:09 +0000 (02:00 +0000)] 
Work on command lines for compiling stage 2 GHC.

3 years agoAdd basic support for -0 libraries.
Andrey Mokhov [Wed, 9 Dec 2015 01:58:53 +0000 (01:58 +0000)] 
Add basic support for -0 libraries.

3 years agoAdd GhcLink builder.
Andrey Mokhov [Wed, 9 Dec 2015 01:57:52 +0000 (01:57 +0000)] 
Add GhcLink builder.

3 years agoPass dll0 modules to ghc-cabal for the compiler package.
Andrey Mokhov [Mon, 7 Dec 2015 02:27:38 +0000 (02:27 +0000)] 
Pass dll0 modules to ghc-cabal for the compiler package.

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

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

3 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.

3 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.

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

3 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.

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

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

3 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.

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

3 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.

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

3 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).

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

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

3 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.

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

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

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

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

3 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.

3 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.

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

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

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

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

3 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.

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

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

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

3 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.

3 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.

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

3 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.

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

3 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.

3 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.

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

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

3 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.

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

3 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.

3 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).

3 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.

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

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

3 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.