Occurrrence analysis improvements for NOINLINE functions
[ghc.git] / hadrian / src / Settings / Flavours / Quick.hs
1 module Settings.Flavours.Quick (quickFlavour) where
2
3 import Expression
4 import Flavour
5 import Oracles.Flag
6 import {-# SOURCE #-} Settings.Default
7
8 -- Please update doc/flavours.md when changing this file.
9 quickFlavour :: Flavour
10 quickFlavour = defaultFlavour
11 { name = "quick"
12 , args = defaultBuilderArgs <> quickArgs <> defaultPackageArgs
13 , libraryWays = mconcat
14 [ pure [vanilla]
15 , notStage0 ? platformSupportsSharedLibs ? pure [dynamic] ] }
16
17 quickArgs :: Args
18 quickArgs = sourceArgs SourceArgs
19 { hsDefault = pure ["-O0", "-H64m"]
20 , hsLibrary = notStage0 ? arg "-O"
21 , hsCompiler = stage0 ? arg "-O"
22 , hsGhc = stage0 ? arg "-O" }