Hadrian: support dynamically linking ghc
[ghc.git] / hadrian / hadrian.cabal
index 566437e..422217b 100644 (file)
@@ -22,18 +22,24 @@ executable hadrian
                        , Builder
                        , CommandLine
                        , Context
+                       , Context.Path
+                       , Context.Type
                        , Environment
                        , Expression
+                       , Expression.Type
                        , Flavour
-                       , GHC
                        , Hadrian.Builder
                        , Hadrian.Builder.Ar
                        , Hadrian.Builder.Sphinx
                        , Hadrian.Builder.Tar
                        , Hadrian.Expression
                        , Hadrian.Haskell.Cabal
+                       , Hadrian.Haskell.Cabal.Type
                        , Hadrian.Haskell.Cabal.Parse
                        , Hadrian.Oracles.ArgsHash
+                       , Hadrian.Oracles.Cabal
+                       , Hadrian.Oracles.Cabal.Rules
+                       , Hadrian.Oracles.Cabal.Type
                        , Hadrian.Oracles.DirectoryContents
                        , Hadrian.Oracles.Path
                        , Hadrian.Oracles.TextFile
@@ -43,34 +49,34 @@ executable hadrian
                        , Oracles.Flag
                        , Oracles.Setting
                        , Oracles.ModuleFiles
-                       , Oracles.PackageData
+                       , Oracles.TestSettings
+                       , Packages
                        , Rules
+                       , Rules.BinaryDist
                        , Rules.Clean
                        , Rules.Compile
                        , Rules.Configure
-                       , Rules.PackageData
                        , Rules.Dependencies
                        , Rules.Documentation
                        , Rules.Generate
                        , Rules.Gmp
-                       , Rules.Install
                        , Rules.Libffi
                        , Rules.Library
+                       , Rules.Nofib
                        , Rules.Program
                        , Rules.Register
                        , Rules.Selftest
                        , Rules.SourceDist
                        , Rules.Test
-                       , Rules.Wrappers
                        , Settings
                        , Settings.Builders.Alex
+                       , Settings.Builders.Cabal
                        , Settings.Builders.Common
                        , Settings.Builders.Cc
                        , Settings.Builders.Configure
                        , Settings.Builders.DeriveConstants
                        , Settings.Builders.GenPrimopCode
                        , Settings.Builders.Ghc
-                       , Settings.Builders.GhcCabal
                        , Settings.Builders.GhcPkg
                        , Settings.Builders.Haddock
                        , Settings.Builders.Happy
@@ -78,33 +84,24 @@ executable hadrian
                        , Settings.Builders.HsCpp
                        , Settings.Builders.Ld
                        , Settings.Builders.Make
+                       , Settings.Builders.RunTest
                        , Settings.Builders.Xelatex
                        , Settings.Default
+                       , Settings.Flavours.Common
                        , Settings.Flavours.Development
                        , Settings.Flavours.Performance
                        , Settings.Flavours.Profiled
                        , Settings.Flavours.Quick
                        , Settings.Flavours.QuickCross
                        , Settings.Flavours.Quickest
-                       , Settings.Packages.Base
-                       , Settings.Packages.Cabal
-                       , Settings.Packages.Compiler
-                       , Settings.Packages.Ghc
-                       , Settings.Packages.GhcCabal
-                       , Settings.Packages.Ghci
-                       , Settings.Packages.GhcPkg
-                       , Settings.Packages.GhcPrim
-                       , Settings.Packages.Haddock
-                       , Settings.Packages.Haskeline
-                       , Settings.Packages.IntegerGmp
-                       , Settings.Packages.Rts
-                       , Settings.Packages.RunGhc
+                       , Settings.Packages
                        , Settings.Warnings
                        , Stage
                        , Target
                        , UserSettings
                        , Utilities
                        , Way
+                       , Way.Type
     default-language:    Haskell2010
     default-extensions:  DeriveFunctor
                        , DeriveGeneric
@@ -116,17 +113,17 @@ executable hadrian
                        , TupleSections
     other-extensions:    MultiParamTypeClasses
                        , TypeFamilies
-    build-depends:       base >= 4.8 && < 5
-                       , ansi-terminal        == 0.6.*
-                       , Cabal                == 2.0.0.2
+    build-depends:       base                 >= 4.8     && < 5
+                       , Cabal                >= 2.5     && < 2.6
                        , containers           == 0.5.*
-                       , directory            >= 1.2 && < 1.4
+                       , directory            >= 1.2     && < 1.4
                        , extra                >= 1.4.7
                        , mtl                  == 2.2.*
-                       , QuickCheck           >= 2.6 && < 2.10
-                       , shake                == 0.16.*
-                       , transformers         >= 0.4 && < 0.6
-                       , unordered-containers == 0.2.*
+                       , parsec               >= 3.1     && < 3.2
+                       , QuickCheck           >= 2.6     && < 2.12
+                       , shake                >= 0.16.4
+                       , transformers         >= 0.4     && < 0.6
+                       , unordered-containers >= 0.2.1   && < 0.3
     build-tools:         alex  >= 3.1
                        , happy >= 1.19.4
     ghc-options:       -Wall