hadrian.cabal 5.67 KB
Newer Older
Andrey Mokhov's avatar
Andrey Mokhov committed
1
name:                hadrian
2
3
4
5
version:             0.1.0.0
synopsis:            GHC build system
license:             BSD3
license-file:        LICENSE
Andrey Mokhov's avatar
Andrey Mokhov committed
6
7
author:              Andrey Mokhov <andrey.mokhov@gmail.com>, github: @snowleopard
maintainer:          Andrey Mokhov <andrey.mokhov@gmail.com>, github: @snowleopard
Andrey Mokhov's avatar
Andrey Mokhov committed
8
copyright:           Andrey Mokhov 2014-2016
9
10
11
12
13
14
category:            Development
build-type:          Simple
cabal-version:       >=1.10

source-repository head
    type:     git
Andrey Mokhov's avatar
Andrey Mokhov committed
15
    location: https://github.com/snowleopard/hadrian
16

17
executable hadrian
18
    main-is:             Main.hs
kaiha's avatar
kaiha committed
19
20
    hs-source-dirs:      .
                       , src
21
22
    other-modules:       Base
                       , Builder
Andrey Mokhov's avatar
Andrey Mokhov committed
23
                       , CmdLineFlag
24
                       , Context
25
                       , Environment
26
                       , Expression
Andrey Mokhov's avatar
Andrey Mokhov committed
27
                       , Flavour
28
29
30
31
32
33
                       , GHC
                       , Oracles.ArgsHash
                       , Oracles.Config
                       , Oracles.Config.Flag
                       , Oracles.Config.Setting
                       , Oracles.Dependencies
kaiha's avatar
kaiha committed
34
                       , Oracles.DirectoryContent
35
                       , Oracles.LookupInPath
36
37
                       , Oracles.ModuleFiles
                       , Oracles.PackageData
38
                       , Oracles.PackageDatabase
39
                       , Oracles.WindowsPath
40
                       , Package
41
                       , Predicate
42
43
44
                       , Rules
                       , Rules.Actions
                       , Rules.Cabal
Andrey Mokhov's avatar
Andrey Mokhov committed
45
                       , Rules.Clean
46
                       , Rules.Compile
47
                       , Rules.Configure
48
49
50
51
                       , Rules.Data
                       , Rules.Dependencies
                       , Rules.Documentation
                       , Rules.Generate
52
                       , Rules.Generators.Common
53
                       , Rules.Generators.ConfigHs
54
55
56
                       , Rules.Generators.GhcAutoconfH
                       , Rules.Generators.GhcBootPlatformH
                       , Rules.Generators.GhcPlatformH
57
                       , Rules.Generators.GhcSplit
58
                       , Rules.Generators.GhcVersionH
59
                       , Rules.Generators.VersionHs
60
                       , Rules.Gmp
Andrey Mokhov's avatar
Andrey Mokhov committed
61
                       , Rules.Libffi
62
63
                       , Rules.Library
                       , Rules.Oracles
Moritz Angermann's avatar
Moritz Angermann committed
64
                       , Rules.Perl
65
                       , Rules.Program
66
                       , Rules.Register
67
68
                       , Rules.Selftest
                       , Rules.Test
Andrey Mokhov's avatar
Andrey Mokhov committed
69
                       , Rules.Wrappers.Ghc
Moritz Angermann's avatar
Moritz Angermann committed
70
                       , Rules.Wrappers.GhcPkg
71
72
73
                       , Settings
                       , Settings.Builders.Alex
                       , Settings.Builders.Ar
Andrey Mokhov's avatar
Andrey Mokhov committed
74
                       , Settings.Builders.Common
Andrey Mokhov's avatar
Andrey Mokhov committed
75
                       , Settings.Builders.Cc
Andrey Mokhov's avatar
Andrey Mokhov committed
76
                       , Settings.Builders.Configure
77
                       , Settings.Builders.DeriveConstants
Andrey Mokhov's avatar
Andrey Mokhov committed
78
                       , Settings.Builders.GenApply
79
80
81
82
83
84
85
86
87
                       , Settings.Builders.GenPrimopCode
                       , Settings.Builders.Ghc
                       , Settings.Builders.GhcCabal
                       , Settings.Builders.GhcPkg
                       , Settings.Builders.Haddock
                       , Settings.Builders.Happy
                       , Settings.Builders.Hsc2Hs
                       , Settings.Builders.HsCpp
                       , Settings.Builders.Ld
Andrey Mokhov's avatar
Andrey Mokhov committed
88
                       , Settings.Builders.Make
Andrey Mokhov's avatar
Andrey Mokhov committed
89
                       , Settings.Builders.Tar
90
                       , Settings.Default
91
                       , Settings.Flavours.Quick
Andrey Mokhov's avatar
Andrey Mokhov committed
92
                       , Settings.Flavours.Quickest
93
                       , Settings.Packages.Base
Andrey Mokhov's avatar
Andrey Mokhov committed
94
95
                       , Settings.Packages.Compiler
                       , Settings.Packages.Directory
96
97
                       , Settings.Packages.Ghc
                       , Settings.Packages.GhcCabal
98
99
                       , Settings.Packages.GhcPrim
                       , Settings.Packages.Haddock
100
                       , Settings.Packages.Hp2ps
101
                       , Settings.Packages.IntegerGmp
102
                       , Settings.Packages.IservBin
Andrey Mokhov's avatar
Andrey Mokhov committed
103
                       , Settings.Packages.Rts
104
                       , Settings.Packages.RunGhc
105
                       , Settings.Packages.Touchy
106
                       , Settings.Packages.Unlit
107
                       , Settings.Paths
108
109
                       , Stage
                       , Target
110
                       , UserSettings
111
112
                       , Way

113
    default-language:    Haskell2010
114
    default-extensions:  RecordWildCards
115
    other-extensions:    DeriveGeneric
116
                       , FlexibleInstances
117
118
                       , GeneralizedNewtypeDeriving
                       , LambdaCase
119
                       , OverloadedStrings
120
                       , ScopedTypeVariables
121
122
    build-depends:       base >= 4.8 && < 5
                       , ansi-terminal        == 0.6.*
123
                       , Cabal                >= 1.25
124
125
                       , containers           == 0.5.*
                       , directory            == 1.2.*
Andrey Mokhov's avatar
Andrey Mokhov committed
126
                       , extra                >= 1.4.7
127
128
                       , mtl                  == 2.2.*
                       , QuickCheck           >= 2.6 && < 2.9
Andrey Mokhov's avatar
Andrey Mokhov committed
129
                       , shake                >= 0.15.6
130
131
                       , transformers         >= 0.4 && < 0.6
                       , unordered-containers == 0.2.*
Andrey Mokhov's avatar
Andrey Mokhov committed
132
133
134
135
    ghc-options:         -Wall
                         -fno-warn-name-shadowing
                         -rtsopts -with-rtsopts=-I0
                         -threaded