[Git][ghc/ghc][master] Hadrian: add quick-debug flavour

Marge Bot gitlab at gitlab.haskell.org
Fri Oct 9 12:46:31 UTC 2020



 Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
e691a5a0 by Sylvain Henry at 2020-10-09T08:46:22-04:00
Hadrian: add quick-debug flavour

- - - - -


3 changed files:

- hadrian/doc/flavours.md
- hadrian/src/Settings.hs
- hadrian/src/Settings/Flavours/Quick.hs


Changes:

=====================================
hadrian/doc/flavours.md
=====================================
@@ -35,8 +35,8 @@ when compiling the `compiler` library, and `hsGhc` when compiling/linking the GH
   </tr>
   <tr>
     <th>default<br></td>
-    <td>-O<br>-H64m<br></td>
-    <td>-O2<br>-H64m</td>
+    <td>-O<br>-H32m<br></td>
+    <td>-O2<br>-H32m</td>
     <td></td>
     <td>-haddock</td>
     <td></td>
@@ -55,6 +55,28 @@ when compiling the `compiler` library, and `hsGhc` when compiling/linking the GH
     <td>-O</td>
     <td></td>
   </tr>
+  <tr>
+    <th>quick-validate</td>
+    <td>-O0<br>-H64m<br>-Werror</td>
+    <td>-O0<br>-H64m<br>-Werror</td>
+    <td></td>
+    <td>-O</td>
+    <td>-O2</td>
+    <td>-O</td>
+    <td>-O</td>
+    <td></td>
+  </tr>
+  <tr>
+    <th>quick-debug</td>
+    <td>-O0<br>-H64m</td>
+    <td>-O0<br>-H64m</td>
+    <td></td>
+    <td>-O</td>
+    <td>-O2</td>
+    <td>-O</td>
+    <td>-O</td>
+    <td>-debug (link)</td>
+  </tr>
   <tr>
     <th>quickest</td>
     <td>-O0<br>-H64m</td>
@@ -190,7 +212,7 @@ information. The following table lists ways that are built in different flavours
     <td>Only in<br>prof<br>flavour</td>
 </tr>
 <tr>
-    <th>quick<br>quick-llvm</th>
+    <th>quick<br>quick-llvm<br>quick-validate<br>quick-debug</th>
     <td>vanilla</td>
     <td>vanilla<br>dynamic</td>
     <td>logging<br>debug<br>threaded<br>threadedDebug<br>threadedLogging


=====================================
hadrian/src/Settings.hs
=====================================
@@ -54,7 +54,8 @@ hadrianFlavours :: [Flavour]
 hadrianFlavours =
     [ benchmarkFlavour, defaultFlavour, developmentFlavour Stage1
     , developmentFlavour Stage2, performanceFlavour, profiledFlavour
-    , quickFlavour, quickValidateFlavour, quickestFlavour
+    , quickFlavour, quickValidateFlavour, quickDebugFlavour
+    , quickestFlavour
     , quickCrossFlavour, benchmarkLlvmFlavour
     , performanceLlvmFlavour, profiledLlvmFlavour, quickLlvmFlavour
     , ghcInGhciFlavour, validateFlavour, slowValidateFlavour ]


=====================================
hadrian/src/Settings/Flavours/Quick.hs
=====================================
@@ -1,6 +1,7 @@
 module Settings.Flavours.Quick
    ( quickFlavour
    , quickValidateFlavour
+   , quickDebugFlavour
    )
 where
 
@@ -39,3 +40,9 @@ quickValidateFlavour :: Flavour
 quickValidateFlavour = werror $ quickFlavour
     { name = "quick-validate"
     }
+
+quickDebugFlavour :: Flavour
+quickDebugFlavour = quickFlavour
+    { name = "quick-debug"
+    , ghcDebugged = True
+    }



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/e691a5a04692beb601d480ccf9f283199a70ed62

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/e691a5a04692beb601d480ccf9f283199a70ed62
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20201009/db90c07f/attachment-0001.html>


More information about the ghc-commits mailing list