[commit: ghc] wip/nfs-locking: Add TODOs. (86ae5c7)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 00:13:07 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/nfs-locking
Link       : http://ghc.haskell.org/trac/ghc/changeset/86ae5c73a514bea9a5035128f673833b071e5dc9/ghc

>---------------------------------------------------------------

commit 86ae5c73a514bea9a5035128f673833b071e5dc9
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Sat May 14 18:29:43 2016 +0100

    Add TODOs.


>---------------------------------------------------------------

86ae5c73a514bea9a5035128f673833b071e5dc9
 src/Settings/User.hs | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/Settings/User.hs b/src/Settings/User.hs
index cc48684..2294fc7 100644
--- a/src/Settings/User.hs
+++ b/src/Settings/User.hs
@@ -53,6 +53,7 @@ userRtsWays = mempty
 trackBuildSystem :: Bool
 trackBuildSystem = True
 
+-- TODO: This should be set automatically when validating.
 validating :: Bool
 validating = False
 
@@ -61,6 +62,12 @@ validating = False
 splitObjects :: Predicate
 splitObjects = (return cmdSplitObjects) &&^ defaultSplitObjects
 
+-- | Control when to build documentation.
+buildHaddock :: Predicate
+buildHaddock = return cmdBuildHaddock
+
+-- TODO: Do we need to be able to set these from command line?
+-- TODO: Turn below into ghcWays?
 dynamicGhcPrograms :: Bool
 dynamicGhcPrograms = False
 
@@ -70,13 +77,9 @@ ghciWithDebugger = False
 ghcProfiled :: Bool
 ghcProfiled = False
 
--- TODO: do we need to be able to set this from command line?
 ghcDebugged :: Bool
 ghcDebugged = False
 
-buildHaddock :: Predicate
-buildHaddock = return cmdBuildHaddock
-
 -- | Set to True to print full command lines during the build process. Note,
 -- this is a Predicate, hence you can enable verbose output for a chosen package
 -- only, e.g.: verboseCommands = package ghcPrim.



More information about the ghc-commits mailing list