shaking-up-ghc.cabal 5.54 KB
Newer Older
1
2
3
4
5
name:                shaking-up-ghc
version:             0.1.0.0
synopsis:            GHC build system
license:             BSD3
license-file:        LICENSE
Andrey Mokhov's avatar
Andrey Mokhov committed
6
7
8
author:              Andrey Mokhov <andrey.mokhov@gmail.com>, github: @snowleopard
maintainer:          Andrey Mokhov <andrey.mokhov@gmail.com>, github: @snowleopard
copyright:           Andrey Mokhov 2014-2015
9
10
11
12
13
14
15
16
17
18
19
20
21
category:            Development
build-type:          Simple
cabal-version:       >=1.10

source-repository head
    type:     git
    location: https://github.com/snowleopard/shaking-up-ghc

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

111
    default-language:    Haskell2010
112
113
114
    other-extensions:    DeriveDataTypeable
                       , DeriveGeneric
                       , FlexibleInstances
115
116
                       , GeneralizedNewtypeDeriving
                       , LambdaCase
117
                       , OverloadedStrings
118
                       , RecordWildCards
119
                       , ScopedTypeVariables
120
121
122
123
124
125
126
127
128
129
130
131
    build-depends:       base >= 4.8 && < 5
                       , ansi-terminal        == 0.6.*
                       , Cabal                == 1.22.*
                       , containers           == 0.5.*
                       , directory            == 1.2.*
                       , extra                == 1.4.*
                       , mtl                  == 2.2.*
                       , QuickCheck           >= 2.6 && < 2.9
                       , shake                == 0.15.*
                       , transformers         >= 0.4 && < 0.6
                       , unordered-containers == 0.2.*
    ghc-options:         -Wall -fno-warn-name-shadowing -rtsopts -with-rtsopts=-I0