hadrian.git
2 years agoDepend on the exact version of the in-tree Cabal library
Andrey Mokhov [Thu, 16 Mar 2017 00:56:50 +0000 (00:56 +0000)] 
Depend on the exact version of the in-tree Cabal library

2 years agoMerge branch 'master' of https://github.com/snowleopard/hadrian
Andrey Mokhov [Thu, 16 Mar 2017 00:42:05 +0000 (00:42 +0000)] 
Merge branch 'master' of https://github.com/snowleopard/hadrian

2 years agoMove -rtsopts to linker options
Andrey Mokhov [Thu, 16 Mar 2017 00:41:56 +0000 (00:41 +0000)] 
Move -rtsopts to linker options

2 years agoAdd extra to the list of dependencies
Andrey Mokhov [Tue, 14 Feb 2017 22:50:42 +0000 (23:50 +0100)] 
Add extra to the list of dependencies

2 years agoUse --depth 1 for git clone (#298)
Gracjan Polak [Sat, 11 Feb 2017 22:32:07 +0000 (23:32 +0100)] 
Use --depth 1 for git clone (#298)

* Use --depth 1 for git clone

* Update .travis.yml

Try separating git commands

* Update .travis.yml

Try github

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml

2 years agoSwitch to new GMP library
Andrey Mokhov [Mon, 6 Feb 2017 01:59:37 +0000 (02:59 +0100)] 
Switch to new GMP library

See GHC ticket 7655

2 years agoAdd -Wno-sync-nand to ghcPrim's cbits/atomic.c
Andrey Mokhov [Mon, 6 Feb 2017 01:21:05 +0000 (02:21 +0100)] 
Add -Wno-sync-nand to ghcPrim's cbits/atomic.c

See GHC ticket #9678

2 years agoFix breakage due to changes in Cabal API
Andrey Mokhov [Wed, 25 Jan 2017 17:45:48 +0000 (17:45 +0000)] 
Fix breakage due to changes in Cabal API

3 years agoMove checkApiAnnotations, compareSizes and ghcTags to Stage0
Andrey Mokhov [Thu, 19 Jan 2017 02:46:21 +0000 (02:46 +0000)] 
Move checkApiAnnotations, compareSizes and ghcTags to Stage0

See #246

3 years agoUse -H32m in all build flavours
Andrey Mokhov [Fri, 13 Jan 2017 12:55:22 +0000 (12:55 +0000)] 
Use -H32m in all build flavours

See #268

3 years agoUse -H32m in all build flavours
Andrey Mokhov [Fri, 13 Jan 2017 11:47:27 +0000 (11:47 +0000)] 
Use -H32m in all build flavours

See #268

3 years agoFilter out repeated ways when copying libffi
Andrey Mokhov [Fri, 13 Jan 2017 11:43:58 +0000 (11:43 +0000)] 
Filter out repeated ways when copying libffi

3 years agoDon't need the GMP library when building with integerSimple
Andrey Mokhov [Fri, 13 Jan 2017 02:12:31 +0000 (02:12 +0000)] 
Don't need the GMP library when building with integerSimple

3 years agoAdd a note on --integer-simple command line flag
Andrey Mokhov [Fri, 13 Jan 2017 00:49:58 +0000 (00:49 +0000)] 
Add a note on --integer-simple command line flag

See #179. [skip ci]

3 years agoSpeed up Travis OSX build by --integer-simple
Andrey Mokhov [Thu, 12 Jan 2017 23:32:36 +0000 (23:32 +0000)] 
Speed up Travis OSX build by --integer-simple

3 years agoAdd --integer-simple command line argument
Andrey Mokhov [Thu, 12 Jan 2017 23:31:50 +0000 (23:31 +0000)] 
Add --integer-simple command line argument

See #179

3 years agoReorder source arguments
Andrey Mokhov [Thu, 12 Jan 2017 20:20:41 +0000 (20:20 +0000)] 
Reorder source arguments

3 years agoRename Settings.Optimisation to Settings.SourceArgs
Andrey Mokhov [Thu, 12 Jan 2017 12:21:54 +0000 (12:21 +0000)] 
Rename Settings.Optimisation to Settings.SourceArgs

3 years agoDon't modify ways in development flavours
Andrey Mokhov [Thu, 12 Jan 2017 01:24:26 +0000 (01:24 +0000)] 
Don't modify ways in development flavours

3 years agoUpdate notes on build ways and flavours
Andrey Mokhov [Thu, 12 Jan 2017 01:15:19 +0000 (01:15 +0000)] 
Update notes on build ways and flavours

[skip ci]

3 years agoLink to build flavours doc
Andrey Mokhov [Thu, 12 Jan 2017 01:03:13 +0000 (01:03 +0000)] 
Link to build flavours doc

[skip ci]

3 years agoAdd a doc on build flavours
Andrey Mokhov [Thu, 12 Jan 2017 01:00:53 +0000 (01:00 +0000)] 
Add a doc on build flavours

See #239, #268.

3 years agoRefactor build flavours
Andrey Mokhov [Mon, 9 Jan 2017 03:30:19 +0000 (03:30 +0000)] 
Refactor build flavours

3 years agoAdd development flavours
Andrey Mokhov [Mon, 9 Jan 2017 01:24:57 +0000 (01:24 +0000)] 
Add development flavours

See #188, #268

3 years agoDrop no longer relevant bits
Andrey Mokhov [Sun, 8 Jan 2017 02:56:18 +0000 (02:56 +0000)] 
Drop no longer relevant bits

3 years agoUpdate section on integerLibrary, expand build ways example
Andrey Mokhov [Sun, 8 Jan 2017 02:39:51 +0000 (02:39 +0000)] 
Update section on integerLibrary, expand build ways example

See #179

3 years agoRevert to integerGmp
Andrey Mokhov [Sun, 8 Jan 2017 02:11:38 +0000 (02:11 +0000)] 
Revert to integerGmp

Fix #179.

3 years agoTest integerSimple on CI
Andrey Mokhov [Sun, 8 Jan 2017 01:30:31 +0000 (01:30 +0000)] 
Test integerSimple on CI

See #179

3 years agoDepend on GMP only when using integerGmp
Andrey Mokhov [Sun, 8 Jan 2017 01:29:35 +0000 (01:29 +0000)] 
Depend on GMP only when using integerGmp

See #179

3 years agoMove integerLibrary to flavour
Andrey Mokhov [Sun, 8 Jan 2017 01:28:06 +0000 (01:28 +0000)] 
Move integerLibrary to flavour

See #179

3 years agoMinor revision
Andrey Mokhov [Sat, 7 Jan 2017 22:40:55 +0000 (22:40 +0000)] 
Minor revision

3 years agoMake quick and quickest flavours more precise
Andrey Mokhov [Sat, 7 Jan 2017 18:43:32 +0000 (18:43 +0000)] 
Make quick and quickest flavours more precise

3 years agoDrop redundant top-level rts target
Andrey Mokhov [Sat, 7 Jan 2017 14:33:25 +0000 (14:33 +0000)] 
Drop redundant top-level rts target

3 years agoRemove dependency on rts for programs built in Stage0
Andrey Mokhov [Sat, 7 Jan 2017 14:32:20 +0000 (14:32 +0000)] 
Remove dependency on rts for programs built in Stage0

3 years agoDepend on RTS only when building GHC program
Andrey Mokhov [Sat, 7 Jan 2017 03:22:41 +0000 (03:22 +0000)] 
Depend on RTS only when building GHC program

3 years agoFix profiled GHC
Andrey Mokhov [Sat, 7 Jan 2017 02:55:48 +0000 (02:55 +0000)] 
Fix profiled GHC

See #239

3 years agoFix way-specific flags
Andrey Mokhov [Sat, 7 Jan 2017 02:50:41 +0000 (02:50 +0000)] 
Fix way-specific flags

3 years agoDuplicate libffi library for each build way
Andrey Mokhov [Sat, 7 Jan 2017 02:50:04 +0000 (02:50 +0000)] 
Duplicate libffi library for each build way

3 years agoMove -Wall before custom package settings, drop tab warnings
Andrey Mokhov [Fri, 6 Jan 2017 16:34:21 +0000 (16:34 +0000)] 
Move -Wall before custom package settings, drop tab warnings

See #296

3 years agoMinor revision
Andrey Mokhov [Fri, 6 Jan 2017 02:59:20 +0000 (02:59 +0000)] 
Minor revision

3 years agoAdd missing flags for Parser module
Andrey Mokhov [Fri, 6 Jan 2017 02:33:02 +0000 (02:33 +0000)] 
Add missing flags for Parser module

See #268

3 years agoAdd prof flavour
Andrey Mokhov [Fri, 6 Jan 2017 02:00:02 +0000 (02:00 +0000)] 
Add prof flavour

3 years agoAdd missing profiling flags
Andrey Mokhov [Fri, 6 Jan 2017 01:59:23 +0000 (01:59 +0000)] 
Add missing profiling flags

3 years agoAdd perf flavour
Andrey Mokhov [Fri, 6 Jan 2017 00:59:26 +0000 (00:59 +0000)] 
Add perf flavour

3 years agoBuild compact library
Andrey Mokhov [Sat, 31 Dec 2016 01:04:40 +0000 (01:04 +0000)] 
Build compact library

3 years agoBuild internal ghci support in Stage1
Andrey Mokhov [Sat, 31 Dec 2016 01:03:52 +0000 (01:03 +0000)] 
Build internal ghci support in Stage1

3 years agoBuild ghci library in Stage0
Andrey Mokhov [Fri, 30 Dec 2016 23:19:27 +0000 (23:19 +0000)] 
Build ghci library in Stage0

3 years agoAdapt to Cabal library changes
Andrey Mokhov [Fri, 30 Dec 2016 23:05:50 +0000 (23:05 +0000)] 
Adapt to Cabal library changes

3 years agoHandle Make correctly in needBuilder, refactor customBuild
Andrey Mokhov [Fri, 16 Dec 2016 21:07:13 +0000 (21:07 +0000)] 
Handle Make correctly in needBuilder, refactor customBuild

See #295

3 years agoFix paths in inplace-pkg-config files
Andrey Mokhov [Fri, 16 Dec 2016 01:27:46 +0000 (01:27 +0000)] 
Fix paths in inplace-pkg-config files

3 years agoMinor revision
Andrey Mokhov [Sun, 27 Nov 2016 22:39:42 +0000 (22:39 +0000)] 
Minor revision

3 years agoDirectory package no longer needs special treatment
Andrey Mokhov [Sun, 27 Nov 2016 22:18:41 +0000 (22:18 +0000)] 
Directory package no longer needs special treatment

3 years agoDrop references to #113
Andrey Mokhov [Sun, 27 Nov 2016 18:23:04 +0000 (18:23 +0000)] 
Drop references to #113

[skip ci]

3 years agoAdd GhcPkgMode
Andrey Mokhov [Sun, 27 Nov 2016 18:11:58 +0000 (18:11 +0000)] 
Add GhcPkgMode

3 years agoDrop old TODOs
Andrey Mokhov [Sun, 27 Nov 2016 17:51:57 +0000 (17:51 +0000)] 
Drop old TODOs

See #113

3 years agoSimplify ghcCabalPackageArgs
Andrey Mokhov [Sun, 27 Nov 2016 15:56:22 +0000 (15:56 +0000)] 
Simplify ghcCabalPackageArgs

3 years agoSimplify handling of programs with no Haskell main
Andrey Mokhov [Sun, 27 Nov 2016 15:36:50 +0000 (15:36 +0000)] 
Simplify handling of programs with no Haskell main

3 years agoSimplify handling of non-Cabal contexts
Andrey Mokhov [Sun, 27 Nov 2016 14:34:52 +0000 (14:34 +0000)] 
Simplify handling of non-Cabal contexts

3 years agoMove custom contexts to Settings.Path
Andrey Mokhov [Sun, 27 Nov 2016 12:01:41 +0000 (12:01 +0000)] 
Move custom contexts to Settings.Path

3 years agoMove RTS path settings to Settings.Path
Andrey Mokhov [Sun, 27 Nov 2016 11:42:25 +0000 (11:42 +0000)] 
Move RTS path settings to Settings.Path

3 years agoRefactor Data and Register build rules
Andrey Mokhov [Sun, 27 Nov 2016 01:48:25 +0000 (01:48 +0000)] 
Refactor Data and Register build rules

3 years agoPut RTS's package configuration into inplace-pkg-config for consistency
Andrey Mokhov [Sun, 27 Nov 2016 01:01:03 +0000 (01:01 +0000)] 
Put RTS's package configuration into inplace-pkg-config for consistency

3 years agoDrop redundant clean up after ghc-cabal
Andrey Mokhov [Sun, 27 Nov 2016 00:32:02 +0000 (00:32 +0000)] 
Drop redundant clean up after ghc-cabal

See #113

3 years agoDon't generate in-tree directories by ghc-cabal
Andrey Mokhov [Sat, 26 Nov 2016 23:38:35 +0000 (23:38 +0000)] 
Don't generate in-tree directories by ghc-cabal

See #113

3 years agoMinor revision, don't copy Hadrian binaries
Andrey Mokhov [Wed, 2 Nov 2016 01:55:16 +0000 (01:55 +0000)] 
Minor revision, don't copy Hadrian binaries

3 years agoBuild dependencies for all known packages that exist
Andrey Mokhov [Tue, 1 Nov 2016 21:30:15 +0000 (21:30 +0000)] 
Build dependencies for all known packages that exist

3 years agoMove GHC/Prim.hs outside of autogen directory
Andrey Mokhov [Tue, 1 Nov 2016 19:27:32 +0000 (19:27 +0000)] 
Move GHC/Prim.hs outside of autogen directory

3 years agoAdd missing dependencies on generated files
Andrey Mokhov [Mon, 31 Oct 2016 23:55:27 +0000 (23:55 +0000)] 
Add missing dependencies on generated files

See #285.

3 years agoSimplify, remove old hacks
Andrey Mokhov [Mon, 31 Oct 2016 23:52:34 +0000 (23:52 +0000)] 
Simplify, remove old hacks

3 years agoDrop redundant createDirectory calls
Andrey Mokhov [Mon, 31 Oct 2016 19:50:36 +0000 (19:50 +0000)] 
Drop redundant createDirectory calls

3 years agoFix path separators
Andrey Mokhov [Mon, 31 Oct 2016 19:19:19 +0000 (19:19 +0000)] 
Fix path separators

3 years agoMinor revision
Andrey Mokhov [Mon, 31 Oct 2016 18:25:18 +0000 (18:25 +0000)] 
Minor revision

3 years agoFix buildProgram
Andrey Mokhov [Sun, 30 Oct 2016 23:57:13 +0000 (23:57 +0000)] 
Fix buildProgram

3 years agoMove programInplacePath to Settings.Path
Andrey Mokhov [Sun, 30 Oct 2016 23:45:21 +0000 (23:45 +0000)] 
Move programInplacePath to Settings.Path

3 years agoRefactor programPath
Andrey Mokhov [Sun, 30 Oct 2016 23:37:10 +0000 (23:37 +0000)] 
Refactor programPath

3 years agoDon't build ghcPkg in Stage1
Andrey Mokhov [Sun, 30 Oct 2016 23:34:46 +0000 (23:34 +0000)] 
Don't build ghcPkg in Stage1

3 years agoSimplify needTouchy, drop old comments
Andrey Mokhov [Sun, 30 Oct 2016 23:33:07 +0000 (23:33 +0000)] 
Simplify needTouchy, drop old comments

3 years agoTest conditions for building win32 and unix packages
Andrey Mokhov [Sun, 30 Oct 2016 17:58:54 +0000 (17:58 +0000)] 
Test conditions for building win32 and unix packages

See #197

3 years agoRun selftest in GHC tree
Andrey Mokhov [Sun, 30 Oct 2016 17:46:37 +0000 (17:46 +0000)] 
Run selftest in GHC tree

3 years agoAdd a selftest for Packages
Andrey Mokhov [Sun, 30 Oct 2016 17:26:46 +0000 (17:26 +0000)] 
Add a selftest for Packages

3 years agoMinor revision
Andrey Mokhov [Sun, 30 Oct 2016 13:28:09 +0000 (13:28 +0000)] 
Minor revision

3 years agoSimplify defaultPackages definition
Andrey Mokhov [Sun, 30 Oct 2016 02:18:53 +0000 (02:18 +0000)] 
Simplify defaultPackages definition

3 years agoRename src/Rules/Actions.hs -> src/Util.hs
Andrey Mokhov [Sun, 30 Oct 2016 01:29:51 +0000 (01:29 +0000)] 
Rename src/Rules/Actions.hs -> src/Util.hs

3 years agoRename src/Settings/Paths.hs -> src/Settings/Path.hs
Andrey Mokhov [Sun, 30 Oct 2016 01:20:01 +0000 (01:20 +0000)] 
Rename src/Settings/Paths.hs -> src/Settings/Path.hs

3 years agoMerge LookupInPath and Path oracles
Andrey Mokhov [Sun, 30 Oct 2016 01:11:22 +0000 (01:11 +0000)] 
Merge LookupInPath and Path oracles

3 years agoAdd missing src/Oracles/Path.hs
Andrey Mokhov [Sun, 30 Oct 2016 01:01:43 +0000 (01:01 +0000)] 
Add missing src/Oracles/Path.hs

3 years agoRefactor builder path manipulation
Andrey Mokhov [Sun, 30 Oct 2016 00:54:14 +0000 (01:54 +0100)] 
Refactor builder path manipulation

3 years agoBring back tmp directory for in-tree build artefacts
Andrey Mokhov [Sat, 29 Oct 2016 10:50:13 +0000 (11:50 +0100)] 
Bring back tmp directory for in-tree build artefacts

3 years agoBuild iservBin, fix comments
Andrey Mokhov [Sat, 29 Oct 2016 10:15:33 +0000 (11:15 +0100)] 
Build iservBin, fix comments

3 years agoRefactor programPath
Andrey Mokhov [Sat, 29 Oct 2016 02:53:46 +0000 (03:53 +0100)] 
Refactor programPath

3 years agoSimplify builderPath
Andrey Mokhov [Sat, 29 Oct 2016 01:42:29 +0000 (02:42 +0100)] 
Simplify builderPath

3 years agoMove rtsContext to Settings.Packages.Rts
Andrey Mokhov [Sat, 29 Oct 2016 01:15:08 +0000 (02:15 +0100)] 
Move rtsContext to Settings.Packages.Rts

3 years agoTurn contextDirectory into stageDirectory
Andrey Mokhov [Sat, 29 Oct 2016 01:11:59 +0000 (02:11 +0100)] 
Turn contextDirectory into stageDirectory

3 years agoRefactor package-data generation for custom packages
Andrey Mokhov [Sat, 29 Oct 2016 00:19:03 +0000 (01:19 +0100)] 
Refactor package-data generation for custom packages

3 years agoRetry pacman package downloads on AppVeyor to make CI more robust
Andrey Mokhov [Fri, 28 Oct 2016 22:03:05 +0000 (23:03 +0100)] 
Retry pacman package downloads on AppVeyor to make CI more robust

3 years agoAdd a note on source distribution
Andrey Mokhov [Fri, 28 Oct 2016 16:33:11 +0000 (17:33 +0100)] 
Add a note on source distribution

See #219.

3 years agoMerge pull request #265 from KaiHa/wip/ticket219
Andrey Mokhov [Thu, 27 Oct 2016 22:19:12 +0000 (23:19 +0100)] 
Merge pull request #265 from KaiHa/wip/ticket219

Implement 'sdist-ghc' rule

3 years agoAdd rule 'sdist-ghc'
Kai Harries [Thu, 9 Jun 2016 19:50:24 +0000 (21:50 +0200)] 
Add rule 'sdist-ghc'

See #219

3 years agoCompute package dependencies only for packages we build
Andrey Mokhov [Thu, 27 Oct 2016 19:00:58 +0000 (20:00 +0100)] 
Compute package dependencies only for packages we build

See #265

3 years agoBuild Hadrian in /hadrian/bin
Andrey Mokhov [Sun, 23 Oct 2016 18:06:09 +0000 (19:06 +0100)] 
Build Hadrian in /hadrian/bin