summaryrefslogtreecommitdiff
path: root/hadrian/src
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2020-10-02 11:33:53 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-10-09 08:46:22 -0400
commite691a5a04692beb601d480ccf9f283199a70ed62 (patch)
tree908470d2977047a1b0ce727baa4b90f396966544 /hadrian/src
parentef65b1546ad01fdd10386f713fc246d49269a196 (diff)
downloadhaskell-e691a5a04692beb601d480ccf9f283199a70ed62.tar.gz
Hadrian: add quick-debug flavour
Diffstat (limited to 'hadrian/src')
-rwxr-xr-xhadrian/src/Settings.hs3
-rw-r--r--hadrian/src/Settings/Flavours/Quick.hs7
2 files changed, 9 insertions, 1 deletions
diff --git a/hadrian/src/Settings.hs b/hadrian/src/Settings.hs
index 30f65bb4f1..bf4919312b 100755
--- a/hadrian/src/Settings.hs
+++ b/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 ]
diff --git a/hadrian/src/Settings/Flavours/Quick.hs b/hadrian/src/Settings/Flavours/Quick.hs
index 4146d66586..253202261b 100644
--- a/hadrian/src/Settings/Flavours/Quick.hs
+++ b/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
+ }