[commit: ghc] wip/nfs-locking: Optimise stage1 compiler (9a1b659)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 01:27:24 UTC 2017


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

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

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

commit 9a1b6591a9a91097ac93dd1d461d8fac2856ed66
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Fri Sep 15 00:46:38 2017 +0100

    Optimise stage1 compiler
    
    See #393


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

9a1b6591a9a91097ac93dd1d461d8fac2856ed66
 doc/flavours.md                   | 4 ++--
 src/Settings/Flavours/Quickest.hs | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/flavours.md b/doc/flavours.md
index 3bf0c30..042475e 100644
--- a/doc/flavours.md
+++ b/doc/flavours.md
@@ -61,9 +61,9 @@ when compiling the `compiler` library, and `hsGhc` when compiling/linking the GH
     <td>-O0<br>-H32m</td>
     <td></td>
     <td></td>
+    <td>-O</td>
     <td></td>
-    <td></td>
-    <td></td>
+    <td>-O</td>
     <td></td>
   </tr>
   <tr>
diff --git a/src/Settings/Flavours/Quickest.hs b/src/Settings/Flavours/Quickest.hs
index 3c507bc..88922ec 100644
--- a/src/Settings/Flavours/Quickest.hs
+++ b/src/Settings/Flavours/Quickest.hs
@@ -15,8 +15,8 @@ quickestArgs :: Args
 quickestArgs = sourceArgs $ SourceArgs
     { hsDefault  = pure ["-O0", "-H64m"]
     , hsLibrary  = mempty
-    , hsCompiler = mempty
-    , hsGhc      = mempty }
+    , hsCompiler = stage0 ? arg "-O"
+    , hsGhc      = stage0 ? arg "-O" }
 
 quickestRtsWays :: Ways
 quickestRtsWays = mconcat



More information about the ghc-commits mailing list