[commit: ghc] wip/nfs-locking: Use -H32m in all build flavours (a7b1494)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 00:31:29 UTC 2017


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

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

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

commit a7b149453928e5cf7c8051d4c6329ef9db3246f1
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Fri Jan 13 11:47:27 2017 +0000

    Use -H32m in all build flavours
    
    See #268


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

a7b149453928e5cf7c8051d4c6329ef9db3246f1
 src/Settings/Flavours/Development.hs | 2 +-
 src/Settings/Flavours/Performance.hs | 2 +-
 src/Settings/Flavours/Profiled.hs    | 2 +-
 src/Settings/Flavours/Quick.hs       | 2 +-
 src/Settings/Flavours/Quickest.hs    | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/Settings/Flavours/Development.hs b/src/Settings/Flavours/Development.hs
index 7cfd7da..4e1ee2d 100644
--- a/src/Settings/Flavours/Development.hs
+++ b/src/Settings/Flavours/Development.hs
@@ -14,7 +14,7 @@ developmentArgs :: Stage -> Args
 developmentArgs ghcStage = do
     stage <- getStage
     sourceArgs $ SourceArgs
-        { hsDefault  = append ["-O", "-H64m"]
+        { hsDefault  = append ["-O", "-H32m"]
         , hsLibrary  = notStage0 ? arg "-dcore-lint"
         , hsCompiler = succ stage == ghcStage ? append ["-O0", "-DDEBUG"]
         , hsGhc      = succ stage == ghcStage ? append ["-O0", "-DDEBUG"] }
diff --git a/src/Settings/Flavours/Performance.hs b/src/Settings/Flavours/Performance.hs
index 0e07c71..a9cef4d 100644
--- a/src/Settings/Flavours/Performance.hs
+++ b/src/Settings/Flavours/Performance.hs
@@ -11,7 +11,7 @@ performanceFlavour = defaultFlavour
 
 performanceArgs :: Args
 performanceArgs = sourceArgs $ SourceArgs
-    { hsDefault  = append ["-O", "-H64m"]
+    { hsDefault  = append ["-O", "-H32m"]
     , hsLibrary  = notStage0 ? arg "-O2"
     , hsCompiler = mconcat [stage0 ? arg "-O", notStage0 ? arg "-O2"]
     , hsGhc      = mconcat [stage0 ? arg "-O", notStage0 ? arg "-O2"] }
diff --git a/src/Settings/Flavours/Profiled.hs b/src/Settings/Flavours/Profiled.hs
index 2f5dc74..861c66c 100644
--- a/src/Settings/Flavours/Profiled.hs
+++ b/src/Settings/Flavours/Profiled.hs
@@ -12,7 +12,7 @@ profiledFlavour = defaultFlavour
 
 profiledArgs :: Args
 profiledArgs = sourceArgs $ SourceArgs
-    { hsDefault  = append ["-O0", "-H64m"]
+    { hsDefault  = append ["-O0", "-H32m"]
     , hsLibrary  = notStage0 ? arg "-O"
     , hsCompiler = arg "-O"
     , hsGhc      = arg "-O" }
diff --git a/src/Settings/Flavours/Quick.hs b/src/Settings/Flavours/Quick.hs
index 6fe3353..5cbd1e4 100644
--- a/src/Settings/Flavours/Quick.hs
+++ b/src/Settings/Flavours/Quick.hs
@@ -12,7 +12,7 @@ quickFlavour = defaultFlavour
 
 quickArgs :: Args
 quickArgs = sourceArgs $ SourceArgs
-    { hsDefault  = append ["-O0", "-H64m"]
+    { hsDefault  = append ["-O0", "-H32m"]
     , hsLibrary  = notStage0 ? arg "-O"
     , hsCompiler =    stage0 ? arg "-O"
     , hsGhc      =    stage0 ? arg "-O" }
diff --git a/src/Settings/Flavours/Quickest.hs b/src/Settings/Flavours/Quickest.hs
index 0560b39..d5dff73 100644
--- a/src/Settings/Flavours/Quickest.hs
+++ b/src/Settings/Flavours/Quickest.hs
@@ -13,7 +13,7 @@ quickestFlavour = defaultFlavour
 
 quickestArgs :: Args
 quickestArgs = sourceArgs $ SourceArgs
-    { hsDefault  = append ["-O0", "-H64m"]
+    { hsDefault  = append ["-O0", "-H32m"]
     , hsLibrary  = mempty
     , hsCompiler = mempty
     , hsGhc      = mempty }



More information about the ghc-commits mailing list