[commit: ghc] wip/nfs-locking: Disable profiling and dynamic ways temporarily. (f4fb52d)
git at git.haskell.org
git at git.haskell.org
Fri Oct 27 00:12:27 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/nfs-locking
Link : http://ghc.haskell.org/trac/ghc/changeset/f4fb52d17a91d97b37ac5352beb32153a8345f45/ghc
>---------------------------------------------------------------
commit f4fb52d17a91d97b37ac5352beb32153a8345f45
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date: Sun Dec 20 04:06:07 2015 +0000
Disable profiling and dynamic ways temporarily.
>---------------------------------------------------------------
f4fb52d17a91d97b37ac5352beb32153a8345f45
src/Settings/User.hs | 3 ++-
src/Settings/Ways.hs | 3 +++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/Settings/User.hs b/src/Settings/User.hs
index 5159bce..0dffbfd 100644
--- a/src/Settings/User.hs
+++ b/src/Settings/User.hs
@@ -22,8 +22,9 @@ userKnownPackages :: [Package]
userKnownPackages = []
-- Control which ways libraries and rts are built
+-- TODO: skip profiling for speed, skip dynamic since it's currently broken
userLibWays :: Ways
-userLibWays = mempty
+userLibWays = remove [profiling, dynamic]
userRtsWays :: Ways
userRtsWays = mempty
diff --git a/src/Settings/Ways.hs b/src/Settings/Ways.hs
index ad42cea..7788242 100644
--- a/src/Settings/Ways.hs
+++ b/src/Settings/Ways.hs
@@ -4,6 +4,9 @@ import Expression
import Predicates
import Settings.User
+-- TODO: use a single expression Ways parameterised by package instead of
+-- expressions libWays and rtsWays
+
-- Combining default ways with user modifications
getLibWays :: Expr [Way]
getLibWays = fromDiffExpr $ defaultLibWays <> userLibWays
More information about the ghc-commits
mailing list