ghc.git
3 years agoUse Quickest flavour on Mac OSX
Andrey Mokhov [Tue, 21 Jun 2016 00:22:18 +0000 (01:22 +0100)] 
Use Quickest flavour on Mac OSX

See #259

3 years agoFix Quick flavour
Andrey Mokhov [Mon, 20 Jun 2016 02:08:45 +0000 (03:08 +0100)] 
Fix Quick flavour

See #259, #268.

3 years agoUse Quickest flavour on Appveyor
Andrey Mokhov [Mon, 20 Jun 2016 02:08:10 +0000 (03:08 +0100)] 
Use Quickest flavour on Appveyor

See #259, #268.

3 years agoAdd Quickest build flavour
Andrey Mokhov [Mon, 20 Jun 2016 02:07:24 +0000 (03:07 +0100)] 
Add Quickest build flavour

See #259, #268.

3 years agoChange default colours to fit both B-on-W and W-on-B terminals
Andrey Mokhov [Sun, 12 Jun 2016 18:58:12 +0000 (19:58 +0100)] 
Change default colours to fit both B-on-W and W-on-B terminals

See #263.

3 years agoMerge pull request #262 from alexbiehl/patch-1
Andrey Mokhov [Thu, 9 Jun 2016 09:46:52 +0000 (10:46 +0100)] 
Merge pull request #262 from alexbiehl/patch-1

Note on nm on OS X

3 years agoNote on nm on OS X
Alex Biehl [Wed, 8 Jun 2016 10:47:49 +0000 (12:47 +0200)] 
Note on nm on OS X

3 years agoSet dynamicGhcPrograms = False
Andrey Mokhov [Wed, 8 Jun 2016 00:20:47 +0000 (01:20 +0100)] 
Set dynamicGhcPrograms = False

See #259.

3 years agoFix formatting
Andrey Mokhov [Wed, 8 Jun 2016 00:20:03 +0000 (01:20 +0100)] 
Fix formatting

3 years agoMerge pull request #260 from hvr/pr/unify-cabal-script
Andrey Mokhov [Sat, 4 Jun 2016 22:41:34 +0000 (23:41 +0100)] 
Merge pull request #260 from hvr/pr/unify-cabal-script

Merge build.cabal-new.sh into build.cabal.sh

3 years agoClean up switching from Settings.User to UserSettings
Andrey Mokhov [Sat, 4 Jun 2016 22:40:52 +0000 (23:40 +0100)] 
Clean up switching from Settings.User to UserSettings

3 years agoMinor revision
Andrey Mokhov [Sat, 4 Jun 2016 20:56:12 +0000 (21:56 +0100)] 
Minor revision

3 years agoMerge build.cabal-new.sh into build.cabal.sh
Herbert Valerio Riedel [Fri, 3 Jun 2016 20:19:36 +0000 (22:19 +0200)] 
Merge build.cabal-new.sh into build.cabal.sh

The script now detect the cabal version and uses either the robust and
fast 'new-build'-logic (for version 1.24 or later), or falls back to the
fragile sandbox-based legacy logic.

3 years agoFix paths to user settings
Andrey Mokhov [Thu, 2 Jun 2016 22:27:10 +0000 (23:27 +0100)] 
Fix paths to user settings

[skip ci]

3 years agoFix path to user settings
Andrey Mokhov [Thu, 2 Jun 2016 22:19:21 +0000 (23:19 +0100)] 
Fix path to user settings

[skip ci]

3 years agoSwitch to UseLibdw
Andrey Mokhov [Wed, 1 Jun 2016 08:48:32 +0000 (09:48 +0100)] 
Switch to UseLibdw

See #259.

3 years agoTest the resulting GHC binary
Andrey Mokhov [Wed, 1 Jun 2016 08:15:00 +0000 (09:15 +0100)] 
Test the resulting GHC binary

See #259.

3 years agoMerge pull request #258 from KaiHa/ticket/247
Andrey Mokhov [Tue, 31 May 2016 06:10:48 +0000 (07:10 +0100)] 
Merge pull request #258 from KaiHa/ticket/247

Enable optional UserSettings.hs file

3 years agoEnable optional UserSettings.hs file
Kai Harries [Sat, 28 May 2016 15:53:07 +0000 (17:53 +0200)] 
Enable optional UserSettings.hs file

Fix #247

The defaul user settings are stored in ./src/UserSettings.hs. If the
user want to override these settings, he can copy this file into ./ and
make the desired changes to ./UserSettings.hs.

3 years agoMerge pull request #257 from michalt/rts-linker/1
Andrey Mokhov [Wed, 25 May 2016 20:47:24 +0000 (21:47 +0100)] 
Merge pull request #257 from michalt/rts-linker/1

Packages/Rts: add `linker` to RTS directories

3 years agoPackages/Rts: add `linker` to RTS directories
Michal Terepeta [Wed, 25 May 2016 18:14:33 +0000 (20:14 +0200)] 
Packages/Rts: add `linker` to RTS directories

Recent commit split off the m32 allocator to `rts/linker/`, which
broke the build using Hadrian (since it didn't know about the new
directory). This fixes it.

Signed-off-by: Michal Terepeta <michal.terepeta@gmail.com>
3 years agoUse LTS-5.17
Andrey Mokhov [Mon, 23 May 2016 00:31:47 +0000 (01:31 +0100)] 
Use LTS-5.17

3 years agoDrop shake-0.15.6 from extra-deps, and add extra-1.4.7
Andrey Mokhov [Sun, 22 May 2016 23:38:19 +0000 (00:38 +0100)] 
Drop shake-0.15.6 from extra-deps, and add extra-1.4.7

3 years agoUpgrade to extra-1.4.7
Andrey Mokhov [Sun, 22 May 2016 23:16:14 +0000 (00:16 +0100)] 
Upgrade to extra-1.4.7

3 years agoMerge pull request #256 from michalt/validate-threads
Andrey Mokhov [Sun, 22 May 2016 20:53:26 +0000 (21:53 +0100)] 
Merge pull request #256 from michalt/validate-threads

Set `THREADS` when running validate

3 years agoSet `THREADS` when running validate
Michal Terepeta [Sun, 22 May 2016 19:26:53 +0000 (21:26 +0200)] 
Set `THREADS` when running validate

GHC testsuite uses the `THREADS` env variable (and not the make's `-j`
setting) to control the parallelism. This commit sets THREADS to the
value of `shakeThreads`.

3 years agoMinor revision
Andrey Mokhov [Sun, 22 May 2016 19:04:30 +0000 (20:04 +0100)] 
Minor revision

3 years agoSimplify using firstJustM
Andrey Mokhov [Sun, 22 May 2016 01:10:55 +0000 (02:10 +0100)] 
Simplify using firstJustM

3 years agoUse simpler mapM instead of traverse
Andrey Mokhov [Sun, 22 May 2016 00:57:26 +0000 (01:57 +0100)] 
Use simpler mapM instead of traverse

3 years agoRename PackageDb to PackageDatabase
Andrey Mokhov [Sun, 22 May 2016 00:48:07 +0000 (01:48 +0100)] 
Rename PackageDb to PackageDatabase

3 years agoDrop TransitiveDepNames
Andrey Mokhov [Sun, 22 May 2016 00:46:39 +0000 (01:46 +0100)] 
Drop TransitiveDepNames

3 years agoRun Make builder with -jN using N = shakeThreads
Andrey Mokhov [Sun, 22 May 2016 00:22:19 +0000 (01:22 +0100)] 
Run Make builder with -jN using N = shakeThreads

3 years agoDrop orderOnly dependency on GMP objects
Andrey Mokhov [Sun, 22 May 2016 00:19:16 +0000 (01:19 +0100)] 
Drop orderOnly dependency on GMP objects

3 years agoRefactor dependency oracles
Andrey Mokhov [Sat, 21 May 2016 23:02:50 +0000 (00:02 +0100)] 
Refactor dependency oracles

3 years agoFix missing dependencies for Stage2 packages
Andrey Mokhov [Sat, 21 May 2016 01:23:31 +0000 (02:23 +0100)] 
Fix missing dependencies for Stage2 packages

Fix #240.

3 years agoBuild check-api-annotations
Andrey Mokhov [Fri, 20 May 2016 23:59:42 +0000 (00:59 +0100)] 
Build check-api-annotations

Fix #242.

3 years agoAdd a note on --verbose
Andrey Mokhov [Fri, 20 May 2016 23:48:01 +0000 (00:48 +0100)] 
Add a note on --verbose

[skip ci]

3 years agoAdd a note on --progress-colour
Andrey Mokhov [Fri, 20 May 2016 23:41:58 +0000 (00:41 +0100)] 
Add a note on --progress-colour

[skip ci]

3 years agoPass GMP objects to Ld explicitly
Andrey Mokhov [Thu, 19 May 2016 23:23:50 +0000 (00:23 +0100)] 
Pass GMP objects to Ld explicitly

See #241.

3 years agoAdd missing dependency
Andrey Mokhov [Thu, 19 May 2016 22:50:46 +0000 (23:50 +0100)] 
Add missing dependency

See #241.

3 years agoRevise comments
Andrey Mokhov [Thu, 19 May 2016 22:39:15 +0000 (23:39 +0100)] 
Revise comments

3 years agoLink gmp objects to integerGmp library
Andrey Mokhov [Thu, 19 May 2016 21:55:32 +0000 (22:55 +0100)] 
Link gmp objects to integerGmp library

Fix #241

3 years agoMinor revision
Andrey Mokhov [Thu, 19 May 2016 21:32:41 +0000 (22:32 +0100)] 
Minor revision

3 years agoUnify include and link paths
Andrey Mokhov [Wed, 18 May 2016 23:45:14 +0000 (00:45 +0100)] 
Unify include and link paths

3 years agoRun CI in verbose mode
Andrey Mokhov [Wed, 18 May 2016 08:34:51 +0000 (09:34 +0100)] 
Run CI in verbose mode

3 years agoDon't use colours on CI
Andrey Mokhov [Wed, 18 May 2016 01:57:50 +0000 (02:57 +0100)] 
Don't use colours on CI

See #244

3 years agoAdd --progress-colour command line flag
Andrey Mokhov [Wed, 18 May 2016 01:54:23 +0000 (02:54 +0100)] 
Add --progress-colour command line flag

Fix #244.

3 years agoFix putSuccess
Andrey Mokhov [Tue, 17 May 2016 23:53:54 +0000 (00:53 +0100)] 
Fix putSuccess

3 years agoAdd quote function
Andrey Mokhov [Tue, 17 May 2016 23:28:08 +0000 (00:28 +0100)] 
Add quote function

3 years agoReplace quote by show
Andrey Mokhov [Tue, 17 May 2016 23:11:12 +0000 (00:11 +0100)] 
Replace quote by show

3 years agoAdd a paragraph on customising progress messages
Andrey Mokhov [Tue, 17 May 2016 22:55:16 +0000 (23:55 +0100)] 
Add a paragraph on customising progress messages

See #244. [skip ci]

3 years agoDon't celebrate duplication
Andrey Mokhov [Tue, 17 May 2016 22:45:39 +0000 (23:45 +0100)] 
Don't celebrate duplication

3 years agoMove versionToInt to Settings/Builders/Haddock
Andrey Mokhov [Tue, 17 May 2016 22:41:55 +0000 (23:41 +0100)] 
Move versionToInt to Settings/Builders/Haddock

3 years agoMake build progress info colours customisable, drop putError and putOracle.
Andrey Mokhov [Tue, 17 May 2016 22:36:41 +0000 (23:36 +0100)] 
Make build progress info colours customisable, drop putError and putOracle.

See #244.

3 years agoDrop dreary package signagures
Andrey Mokhov [Mon, 16 May 2016 22:16:59 +0000 (23:16 +0100)] 
Drop dreary package signagures

3 years agoAdd ghc-boot-th package
Andrey Mokhov [Mon, 16 May 2016 22:10:48 +0000 (23:10 +0100)] 
Add ghc-boot-th package

3 years agoTrack only files of known extensions when looking for module files
Andrey Mokhov [Mon, 16 May 2016 20:46:41 +0000 (21:46 +0100)] 
Track only files of known extensions when looking for module files

Fix #254

3 years agoMerge pull request #253 from michalt/colors/1
Andrey Mokhov [Mon, 16 May 2016 12:46:36 +0000 (13:46 +0100)] 
Merge pull request #253 from michalt/colors/1

Check if the output supports colors, see #244

3 years agoCheck if the output supports colors (fixes #244)
Michal Terepeta [Sun, 15 May 2016 15:31:30 +0000 (17:31 +0200)] 
Check if the output supports colors (fixes #244)

This avoids using colors when the output is, e.g., redirected to a
file. This requried a change to avoid passing the `--colour` flag to
shake (so that hadrian is in charge of colors).

Signed-off-by: Michal Terepeta <michal.terepeta@gmail.com>
3 years agoRename module Predicates to Predicate
Andrey Mokhov [Mon, 16 May 2016 00:51:17 +0000 (01:51 +0100)] 
Rename module Predicates to Predicate

3 years agoRe-export Expression from Predicates
Andrey Mokhov [Mon, 16 May 2016 00:47:31 +0000 (01:47 +0100)] 
Re-export Expression from Predicates

3 years agoClean up imports (improve consistency)
Andrey Mokhov [Mon, 16 May 2016 00:33:39 +0000 (01:33 +0100)] 
Clean up imports (improve consistency)

3 years agoDon't add redundant path separator in -/-
Andrey Mokhov [Mon, 16 May 2016 00:31:02 +0000 (01:31 +0100)] 
Don't add redundant path separator in -/-

3 years agoMinor revision
Andrey Mokhov [Sun, 15 May 2016 23:26:02 +0000 (00:26 +0100)] 
Minor revision

3 years agoDrop DeriveDataTypeable extension
Andrey Mokhov [Sun, 15 May 2016 00:03:32 +0000 (01:03 +0100)] 
Drop DeriveDataTypeable extension

3 years agoMinor revision
Andrey Mokhov [Sun, 15 May 2016 00:02:51 +0000 (01:02 +0100)] 
Minor revision

3 years agoDrop non-derived Show instance for PackageName
Andrey Mokhov [Sat, 14 May 2016 23:47:13 +0000 (00:47 +0100)] 
Drop non-derived Show instance for PackageName

3 years agoSimplify
Andrey Mokhov [Sat, 14 May 2016 23:20:54 +0000 (00:20 +0100)] 
Simplify

3 years agoFix predicate
Andrey Mokhov [Sat, 14 May 2016 23:14:34 +0000 (00:14 +0100)] 
Fix predicate

[skip ci]

3 years agoUnix line endings, match Haddock comments in Settings/User.hs
Andrey Mokhov [Sat, 14 May 2016 23:11:25 +0000 (00:11 +0100)] 
Unix line endings, match Haddock comments in Settings/User.hs

[skip ci]

3 years agoComments
Andrey Mokhov [Sat, 14 May 2016 23:03:12 +0000 (00:03 +0100)] 
Comments

[skip ci]

3 years agoAdd miscellaneous, minor revision
Andrey Mokhov [Sat, 14 May 2016 17:33:55 +0000 (18:33 +0100)] 
Add miscellaneous, minor revision

[skip ci]

3 years agoAdd TODOs.
Andrey Mokhov [Sat, 14 May 2016 17:29:43 +0000 (18:29 +0100)] 
Add TODOs.

3 years agoMinor revision
Andrey Mokhov [Sat, 14 May 2016 17:15:10 +0000 (18:15 +0100)] 
Minor revision

[skip ci]

3 years agoMinor revision
Andrey Mokhov [Sat, 14 May 2016 17:10:51 +0000 (18:10 +0100)] 
Minor revision

[skip ci]

3 years agoAdd a link to the user settings doc
Andrey Mokhov [Sat, 14 May 2016 13:05:05 +0000 (14:05 +0100)] 
Add a link to the user settings doc

See #245. [skip ci]

3 years agoAdd user settings documentation
Andrey Mokhov [Sat, 14 May 2016 12:58:21 +0000 (13:58 +0100)] 
Add user settings documentation

See #56, #245.

3 years agoAdd link to MVP issue
Andrey Mokhov [Fri, 13 May 2016 19:11:02 +0000 (20:11 +0100)] 
Add link to MVP issue

See #239.

3 years agoAdd missing path unifications.
Andrey Mokhov [Thu, 12 May 2016 00:05:08 +0000 (01:05 +0100)] 
Add missing path unifications.

3 years agoAdd predicate input, rename predicate file to output.
Andrey Mokhov [Wed, 11 May 2016 22:29:15 +0000 (23:29 +0100)] 
Add predicate input, rename predicate file to output.

See #245.

3 years agoUpdate comments.
Andrey Mokhov [Tue, 10 May 2016 01:31:16 +0000 (02:31 +0100)] 
Update comments.

[skip ci]

3 years agoDo not unify paths on each -/- invocation.
Andrey Mokhov [Tue, 10 May 2016 01:26:26 +0000 (02:26 +0100)] 
Do not unify paths on each -/- invocation.

See #220.

3 years agoAdd makeBuilderArgs.
Andrey Mokhov [Tue, 10 May 2016 00:07:25 +0000 (01:07 +0100)] 
Add makeBuilderArgs.

3 years agoFix configureBuilderArgs name.
Andrey Mokhov [Tue, 10 May 2016 00:06:35 +0000 (01:06 +0100)] 
Fix configureBuilderArgs name.

3 years agoAdd missing Settings.Flavours.Quick module.
Andrey Mokhov [Tue, 10 May 2016 00:05:59 +0000 (01:05 +0100)] 
Add missing Settings.Flavours.Quick module.

3 years agoAdd Make builder.
Andrey Mokhov [Mon, 9 May 2016 23:32:04 +0000 (00:32 +0100)] 
Add Make builder.

3 years agoEcho stdout only if --progress-info={normal, unicorn}.
Andrey Mokhov [Mon, 9 May 2016 22:31:47 +0000 (23:31 +0100)] 
Echo stdout only if --progress-info={normal, unicorn}.

See #235.

3 years agoAdd a note on automated run of boot and configure
Andrey Mokhov [Sat, 7 May 2016 10:46:35 +0000 (11:46 +0100)] 
Add a note on automated run of boot and configure

See #234. [skip ci]

3 years agoUse --flavour=quick
Andrey Mokhov [Thu, 5 May 2016 23:18:12 +0000 (00:18 +0100)] 
Use --flavour=quick

See #234. [skip ci]

3 years agoRun boot and configure via Hadrian
Andrey Mokhov [Thu, 5 May 2016 19:20:38 +0000 (20:20 +0100)] 
Run boot and configure via Hadrian

[skip ci]

3 years agoMerge pull request #237 from michalt/movedirectory-fix/1
Andrey Mokhov [Thu, 5 May 2016 16:59:09 +0000 (17:59 +0100)] 
Merge pull request #237 from michalt/movedirectory-fix/1

Actions: use `mv` instead of renameDirectory (fixes #236)

3 years agoActions: use `mv` instead of renameDirectory (fixes #236)
Michal Terepeta [Thu, 5 May 2016 15:05:24 +0000 (17:05 +0200)] 
Actions: use `mv` instead of renameDirectory (fixes #236)

Implementing `moveDirectory` by calling into `renameDirectory` is
problematic because it doesn't work across file-systems (e.g., a
tmpfs based `/tmp`).

This fixes the problem by calling into `mv` instead (similarly to
what we do for `copyDirectory`).

3 years agoAdd comments.
Andrey Mokhov [Thu, 5 May 2016 12:07:07 +0000 (13:07 +0100)] 
Add comments.

3 years agoMake only install target in libffi.
Andrey Mokhov [Thu, 5 May 2016 04:57:20 +0000 (05:57 +0100)] 
Make only install target in libffi.

3 years agoAdd comments.
Andrey Mokhov [Thu, 5 May 2016 04:42:48 +0000 (05:42 +0100)] 
Add comments.

See #55. [skip ci]

3 years agoRefactor Gmp and Libffi rules.
Andrey Mokhov [Thu, 5 May 2016 04:30:22 +0000 (05:30 +0100)] 
Refactor Gmp and Libffi rules.

3 years agoMove GMP paths to Settings.Paths.
Andrey Mokhov [Thu, 5 May 2016 04:15:22 +0000 (05:15 +0100)] 
Move GMP paths to Settings.Paths.

3 years agoMove decode/encodeModule to Oracles.ModuleFiles.
Andrey Mokhov [Thu, 5 May 2016 03:56:09 +0000 (04:56 +0100)] 
Move decode/encodeModule to Oracles.ModuleFiles.

3 years agoFix get-win32-tarballs command line.
Andrey Mokhov [Thu, 5 May 2016 03:25:47 +0000 (04:25 +0100)] 
Fix get-win32-tarballs command line.

3 years agoShow output of boot and configure.
Andrey Mokhov [Thu, 5 May 2016 03:22:57 +0000 (04:22 +0100)] 
Show output of boot and configure.

See #234.