Mark as temporarily out-of-date
[ghc.git] / 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                        , Environment
26                        , Expression
27                        , Flavour
28                        , GHC
29                        , Hadrian.Builder
30                        , Hadrian.Builder.Ar
31                        , Hadrian.Expression
32                        , Hadrian.Haskell.Cabal
33                        , Hadrian.Haskell.Cabal.Parse
34                        , Hadrian.Oracles.ArgsHash
35                        , Hadrian.Oracles.DirectoryContents
36                        , Hadrian.Oracles.Path
37                        , Hadrian.Oracles.TextFile
38                        , Hadrian.Package
39                        , Hadrian.Target
40                        , Hadrian.Utilities
41                        , Oracles.Flag
42                        , Oracles.Setting
43                        , Oracles.ModuleFiles
44                        , Oracles.PackageData
45                        , Rules
46                        , Rules.Clean
47                        , Rules.Compile
48                        , Rules.Configure
49                        , Rules.Data
50                        , Rules.Dependencies
51                        , Rules.Documentation
52                        , Rules.Generate
53                        , Rules.Gmp
54                        , Rules.Install
55                        , Rules.Libffi
56                        , Rules.Library
57                        , Rules.Perl
58                        , Rules.Program
59                        , Rules.Register
60                        , Rules.Selftest
61                        , Rules.SourceDist
62                        , Rules.Test
63                        , Rules.Wrappers
64                        , Settings
65                        , Settings.Builders.Alex
66                        , Settings.Builders.Common
67                        , Settings.Builders.Cc
68                        , Settings.Builders.Configure
69                        , Settings.Builders.DeriveConstants
70                        , Settings.Builders.GenPrimopCode
71                        , Settings.Builders.Ghc
72                        , Settings.Builders.GhcCabal
73                        , Settings.Builders.GhcPkg
74                        , Settings.Builders.Haddock
75                        , Settings.Builders.Happy
76                        , Settings.Builders.Hsc2Hs
77                        , Settings.Builders.HsCpp
78                        , Settings.Builders.Ld
79                        , Settings.Builders.Make
80                        , Settings.Builders.Tar
81                        , Settings.Default
82                        , Settings.Flavours.Development
83                        , Settings.Flavours.Performance
84                        , Settings.Flavours.Profiled
85                        , Settings.Flavours.Quick
86                        , Settings.Flavours.Quickest
87                        , Settings.Packages.Base
88                        , Settings.Packages.Cabal
89                        , Settings.Packages.Compiler
90                        , Settings.Packages.Ghc
91                        , Settings.Packages.GhcCabal
92                        , Settings.Packages.Ghci
93                        , Settings.Packages.GhcPkg
94                        , Settings.Packages.GhcPrim
95                        , Settings.Packages.Haddock
96                        , Settings.Packages.Haskeline
97                        , Settings.Packages.IntegerGmp
98                        , Settings.Packages.Rts
99                        , Settings.Packages.RunGhc
100                        , Stage
101                        , Target
102                        , UserSettings
103                        , Utilities
104                        , Way
105     default-language:    Haskell2010
106     default-extensions:  DeriveFunctor
107                        , DeriveGeneric
108                        , FlexibleInstances
109                        , GeneralizedNewtypeDeriving
110                        , LambdaCase
111                        , RecordWildCards
112                        , ScopedTypeVariables
113                        , TupleSections
114     other-extensions:    MultiParamTypeClasses
115                        , TypeFamilies
116     build-depends:       base >= 4.8 && < 5
117                        , ansi-terminal        == 0.6.*
118                        , Cabal                == 2.0.0.2
119                        , containers           == 0.5.*
120                        , directory            >= 1.2 && < 1.4
121                        , extra                >= 1.4.7
122                        , mtl                  == 2.2.*
123                        , QuickCheck           >= 2.6 && < 2.10
124                        , shake                >= 0.15.6
125                        , transformers         >= 0.4 && < 0.6
126                        , unordered-containers == 0.2.*
127     build-tools:         alex  >= 3.1
128                        , happy >= 1.19.4
129     ghc-options:       -Wall
130                        -Wincomplete-record-updates
131                        -Wredundant-constraints
132                        -fno-warn-name-shadowing
133                        -rtsopts
134                        -- Disable idle GC to avoid redundant GCs while waiting
135                        -- for external processes
136                        -with-rtsopts=-I0
137                        -- Don't use parallel GC as the synchronization time tends to eat any
138                        -- benefit.
139                        -with-rtsopts=-qg0
140                        -threaded