Add an Outputable instance for SDoc with ppr = id.
[ghc.git] / hadrian / hadrian.cabal
1 name:                hadrian
2 version:             0.1.0.0
3 synopsis:            GHC build system
4 license:             BSD3
5 license-file:        LICENSE
6 author:              Andrey Mokhov <andrey.mokhov@gmail.com>, github: @snowleopard
7 maintainer:          Andrey Mokhov <andrey.mokhov@gmail.com>, github: @snowleopard
8 copyright:           Andrey Mokhov 2014-2017
9 category:            Development
10 build-type:          Simple
11 cabal-version:       >=1.10
12
13 source-repository head
14     type:     git
15     location: https://github.com/snowleopard/hadrian
16
17 executable hadrian
18     main-is:             Main.hs
19     hs-source-dirs:      .
20                        , src
21     other-modules:       Base
22                        , Builder
23                        , CommandLine
24                        , Context
25                        , Context.Path
26                        , Context.Type
27                        , Environment
28                        , Expression
29                        , Expression.Type
30                        , Flavour
31                        , Hadrian.Builder
32                        , Hadrian.Builder.Ar
33                        , Hadrian.Builder.Sphinx
34                        , Hadrian.Builder.Tar
35                        , Hadrian.BuildPath
36                        , Hadrian.Expression
37                        , Hadrian.Haskell.Cabal
38                        , Hadrian.Haskell.Cabal.Type
39                        , Hadrian.Haskell.Cabal.Parse
40                        , Hadrian.Oracles.ArgsHash
41                        , Hadrian.Oracles.Cabal
42                        , Hadrian.Oracles.Cabal.Rules
43                        , Hadrian.Oracles.Cabal.Type
44                        , Hadrian.Oracles.DirectoryContents
45                        , Hadrian.Oracles.Path
46                        , Hadrian.Oracles.TextFile
47                        , Hadrian.Package
48                        , Hadrian.Target
49                        , Hadrian.Utilities
50                        , Oracles.Flag
51                        , Oracles.Setting
52                        , Oracles.ModuleFiles
53                        , Oracles.TestSettings
54                        , Packages
55                        , Rules
56                        , Rules.BinaryDist
57                        , Rules.Clean
58                        , Rules.Compile
59                        , Rules.Configure
60                        , Rules.Dependencies
61                        , Rules.Documentation
62                        , Rules.Generate
63                        , Rules.Gmp
64                        , Rules.Libffi
65                        , Rules.Library
66                        , Rules.Nofib
67                        , Rules.Program
68                        , Rules.Register
69                        , Rules.Rts
70                        , Rules.Selftest
71                        , Rules.SimpleTargets
72                        , Rules.SourceDist
73                        , Rules.Test
74                        , Settings
75                        , Settings.Builders.Alex
76                        , Settings.Builders.Cabal
77                        , Settings.Builders.Common
78                        , Settings.Builders.Cc
79                        , Settings.Builders.Configure
80                        , Settings.Builders.DeriveConstants
81                        , Settings.Builders.GenPrimopCode
82                        , Settings.Builders.Ghc
83                        , Settings.Builders.GhcPkg
84                        , Settings.Builders.Haddock
85                        , Settings.Builders.Happy
86                        , Settings.Builders.Hsc2Hs
87                        , Settings.Builders.HsCpp
88                        , Settings.Builders.Ld
89                        , Settings.Builders.Make
90                        , Settings.Builders.RunTest
91                        , Settings.Builders.Xelatex
92                        , Settings.Default
93                        , Settings.Flavours.Benchmark
94                        , Settings.Flavours.Common
95                        , Settings.Flavours.Development
96                        , Settings.Flavours.Llvm
97                        , Settings.Flavours.Performance
98                        , Settings.Flavours.Profiled
99                        , Settings.Flavours.Quick
100                        , Settings.Flavours.QuickCross
101                        , Settings.Flavours.Quickest
102                        , Settings.Flavours.GhcInGhci
103                        , Settings.Packages
104                        , Settings.Warnings
105                        , Stage
106                        , Target
107                        , UserSettings
108                        , Utilities
109                        , Way
110                        , Way.Type
111     default-language:    Haskell2010
112     default-extensions:  DeriveFunctor
113                        , DeriveGeneric
114                        , FlexibleInstances
115                        , GeneralizedNewtypeDeriving
116                        , LambdaCase
117                        , RecordWildCards
118                        , ScopedTypeVariables
119                        , TupleSections
120     other-extensions:    MultiParamTypeClasses
121                        , TypeFamilies
122     build-depends:       base                 >= 4.8     && < 5
123                        , Cabal                >= 3.0     && < 3.1
124                        , containers           >= 0.5     && < 0.7
125                        , directory            >= 1.3.1.0 && < 1.4
126                        , extra                >= 1.4.7
127                        , filepath
128                        , mtl                  == 2.2.*
129                        , parsec               >= 3.1     && < 3.2
130                        , QuickCheck           >= 2.6     && < 2.13
131                        , shake                >= 0.17.6
132                        , transformers         >= 0.4     && < 0.6
133                        , unordered-containers >= 0.2.1   && < 0.3
134     build-tools:         alex  >= 3.1
135                        , happy >= 1.19.4
136     ghc-options:       -Wall
137                        -Wincomplete-record-updates
138                        -Wredundant-constraints
139                        -fno-warn-name-shadowing
140                        -rtsopts
141                        -- * -I0: Disable idle GC to avoid redundant GCs while
142                        --        waiting for external processes
143                        -- * -qg: Don't use parallel GC as the synchronization
144                        --        time tends to eat any benefit.
145                        "-with-rtsopts=-I0 -qg"
146                        -threaded