Move RTS path settings to Settings.Path
[hadrian.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-2016
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                        , CmdLineFlag
24                        , Context
25                        , Environment
26                        , Expression
27                        , Flavour
28                        , GHC
29                        , Oracles.ArgsHash
30                        , Oracles.Config
31                        , Oracles.Config.Flag
32                        , Oracles.Config.Setting
33                        , Oracles.Dependencies
34                        , Oracles.DirectoryContents
35                        , Oracles.ModuleFiles
36                        , Oracles.PackageData
37                        , Oracles.Path
38                        , Package
39                        , Predicate
40                        , Rules
41                        , Rules.Cabal
42                        , Rules.Clean
43                        , Rules.Compile
44                        , Rules.Configure
45                        , Rules.Data
46                        , Rules.Dependencies
47                        , Rules.Documentation
48                        , Rules.Generate
49                        , Rules.Generators.Common
50                        , Rules.Generators.ConfigHs
51                        , Rules.Generators.GhcAutoconfH
52                        , Rules.Generators.GhcBootPlatformH
53                        , Rules.Generators.GhcPlatformH
54                        , Rules.Generators.GhcSplit
55                        , Rules.Generators.GhcVersionH
56                        , Rules.Generators.VersionHs
57                        , Rules.Gmp
58                        , Rules.Libffi
59                        , Rules.Library
60                        , Rules.Oracles
61                        , Rules.Perl
62                        , Rules.Program
63                        , Rules.Register
64                        , Rules.Selftest
65                        , Rules.SourceDist
66                        , Rules.Test
67                        , Rules.Wrappers.Ghc
68                        , Rules.Wrappers.GhcPkg
69                        , Settings
70                        , Settings.Builders.Alex
71                        , Settings.Builders.Ar
72                        , Settings.Builders.Common
73                        , Settings.Builders.Cc
74                        , Settings.Builders.Configure
75                        , Settings.Builders.DeriveConstants
76                        , Settings.Builders.GenPrimopCode
77                        , Settings.Builders.Ghc
78                        , Settings.Builders.GhcCabal
79                        , Settings.Builders.GhcPkg
80                        , Settings.Builders.Haddock
81                        , Settings.Builders.Happy
82                        , Settings.Builders.Hsc2Hs
83                        , Settings.Builders.HsCpp
84                        , Settings.Builders.Ld
85                        , Settings.Builders.Make
86                        , Settings.Builders.Tar
87                        , Settings.Default
88                        , Settings.Flavours.Quick
89                        , Settings.Flavours.Quickest
90                        , Settings.Packages.Base
91                        , Settings.Packages.Compiler
92                        , Settings.Packages.Directory
93                        , Settings.Packages.Ghc
94                        , Settings.Packages.GhcCabal
95                        , Settings.Packages.GhcPrim
96                        , Settings.Packages.Haddock
97                        , Settings.Packages.Hp2ps
98                        , Settings.Packages.IntegerGmp
99                        , Settings.Packages.IservBin
100                        , Settings.Packages.Rts
101                        , Settings.Packages.RunGhc
102                        , Settings.Packages.Touchy
103                        , Settings.Packages.Unlit
104                        , Settings.Path
105                        , Stage
106                        , Target
107                        , UserSettings
108                        , Util
109                        , Way
110
111     default-language:    Haskell2010
112     default-extensions:  RecordWildCards
113     other-extensions:    DeriveGeneric
114                        , FlexibleInstances
115                        , GeneralizedNewtypeDeriving
116                        , LambdaCase
117                        , OverloadedStrings
118                        , ScopedTypeVariables
119     build-depends:       base >= 4.8 && < 5
120                        , ansi-terminal        == 0.6.*
121                        , Cabal                == 1.25.*
122                        , containers           == 0.5.*
123                        , directory            == 1.2.*
124                        , extra                >= 1.4.7
125                        , mtl                  == 2.2.*
126                        , QuickCheck           >= 2.6 && < 2.9
127                        , shake                >= 0.15.6
128                        , transformers         >= 0.4 && < 0.6
129                        , unordered-containers == 0.2.*
130     build-tools:         alex  >= 3.1
131                        , happy >= 1.19.4
132     ghc-options:         -Wall
133                          -fno-warn-name-shadowing
134                          -rtsopts -with-rtsopts=-I0
135                          -threaded