hadrian.git
2 years agoAdd binary wrappers for hp2ps, hpc, hsc2hs (#321)
Zhen Zhang [Wed, 7 Jun 2017 10:15:03 +0000 (18:15 +0800)] 
Add binary wrappers for hp2ps, hpc, hsc2hs (#321)

2 years agoFix implicit assumption about inplace installation etc. (#315)
Zhen Zhang [Wed, 7 Jun 2017 01:04:28 +0000 (09:04 +0800)] 
Fix implicit assumption about inplace installation etc. (#315)

2 years agoCompute cabalDeps in GhcCabal build (#320)
Zhen Zhang [Tue, 6 Jun 2017 15:46:11 +0000 (23:46 +0800)] 
Compute cabalDeps in GhcCabal build (#320)

2 years agoAdd more utilities including install and symbolic link (#316)
Zhen Zhang [Tue, 6 Jun 2017 00:53:14 +0000 (08:53 +0800)] 
Add more utilities including install and symbolic link (#316)

2 years agoFix CABAL_VERSION argument in building ghc-cabal (#319)
Zhen Zhang [Mon, 5 Jun 2017 10:54:54 +0000 (18:54 +0800)] 
Fix CABAL_VERSION argument in building ghc-cabal (#319)

2 years agoAdd copyFileUntracked (#313)
Zhen Zhang [Tue, 16 May 2017 20:13:17 +0000 (13:13 -0700)] 
Add copyFileUntracked (#313)

2 years agoAdd Werror to CC and HC (#309)
Zhen Zhang [Wed, 3 May 2017 15:58:34 +0000 (08:58 -0700)] 
Add Werror to CC and HC (#309)

2 years agoDisable some warnings (#307)
Zhen Zhang [Fri, 28 Apr 2017 15:28:04 +0000 (23:28 +0800)] 
Disable some warnings (#307)

2 years agoRename runHaskell wrapper to runGhc for consistency
Andrey Mokhov [Thu, 27 Apr 2017 20:39:41 +0000 (21:39 +0100)] 
Rename runHaskell wrapper to runGhc for consistency

See #305

2 years agoUse xcode8 image
Andrey Mokhov [Thu, 27 Apr 2017 00:08:41 +0000 (01:08 +0100)] 
Use xcode8 image

2 years agoGHC ticket 13583 has been resolved, so the workaround is no longer needed
Andrey Mokhov [Wed, 26 Apr 2017 23:43:14 +0000 (00:43 +0100)] 
GHC ticket 13583 has been resolved, so the workaround is no longer needed

See #276

2 years agoDrop package self-dependencies
Andrey Mokhov [Wed, 26 Apr 2017 23:20:42 +0000 (00:20 +0100)] 
Drop package self-dependencies

This occurs in iserv-bin package, which contains both a library and an executable.

See #12

2 years agoAllow cmm files in non-custom packages
Andrey Mokhov [Wed, 26 Apr 2017 00:53:28 +0000 (01:53 +0100)] 
Allow cmm files in non-custom packages

2 years agoAdd wrapper for Runhaskell, Fix #304 (#305)
Zhen Zhang [Sat, 15 Apr 2017 20:08:33 +0000 (04:08 +0800)] 
Add wrapper for Runhaskell, Fix #304 (#305)

2 years agoAdded a note about git line-ending settings (#303)
Ivan Poliakov [Fri, 31 Mar 2017 22:54:46 +0000 (23:54 +0100)] 
Added a note about git line-ending settings (#303)

2 years agoDrop repetition in the list of packages, fixing Hadrian's selftest
Andrey Mokhov [Thu, 16 Mar 2017 11:31:47 +0000 (11:31 +0000)] 
Drop repetition in the list of packages, fixing Hadrian's selftest

2 years agoRename readPackageDescription to readGenericPackageDescription to fix the warning
Andrey Mokhov [Thu, 16 Mar 2017 01:17:36 +0000 (01:17 +0000)] 
Rename readPackageDescription to readGenericPackageDescription to fix the warning

2 years agoRename compact to ghc-compact
Andrey Mokhov [Thu, 16 Mar 2017 01:17:01 +0000 (01:17 +0000)] 
Rename compact to ghc-compact

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

2 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

2 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

2 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

2 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

2 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

2 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]

2 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

2 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

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

2 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

2 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

2 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]

2 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]

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

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

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

See #188, #268

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

2 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

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

Fix #179.

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

See #179

2 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

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

See #179

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

2 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

2 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

2 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

2 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

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

See #239

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

2 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

2 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

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

2 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

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

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

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

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

2 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

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

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

2 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

2 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

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

2 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

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

[skip ci]

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

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

See #113

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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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