Skip to content
Snippets Groups Projects
Commit b40dc9e7 authored by Sylvain Henry's avatar Sylvain Henry
Browse files

Merge branch 'hsyl20/fix-9.2-10.5' into 'master'

Fix build with 9.2 (#2)

See merge request !1
parents 8fee87ea 5c86e145
No related branches found
No related tags found
1 merge request!1Fix build with 9.2 (#2)
...@@ -12,4 +12,4 @@ Build with: ...@@ -12,4 +12,4 @@ Build with:
.. code:: .. code::
cabal new-build -w /path/to/ghc/HEAD/_build/stage1/bin/ghc cabal build -w /path/to/ghc/HEAD/_build/stage1/bin/ghc
...@@ -87,6 +87,37 @@ library ...@@ -87,6 +87,37 @@ library
, GHC.HsToCore.PmCheck.Ppr as PmPpr , GHC.HsToCore.PmCheck.Ppr as PmPpr
, GHC.HsToCore.PmCheck.Types as PmTypes , GHC.HsToCore.PmCheck.Types as PmTypes
if impl(ghc >= 9.0) && impl (ghc < 9.2)
reexported-modules:
GHC.Rename.Doc as RnHsDoc
, GHC.Utils.Encoding as Encoding
, GHC.Core.Map as CoreMap
, GHC.Core.Ppr.TyThing as PprTyThing
, GHC.Driver.Types as HscTypes
, GHC.Driver.Finder as Finder
, GHC.CoreToByteCode as ByteCodeGen
, GHC.Runtime.Linker.Types as LinkerTypes
, GHC.Runtime.Linker as Linker
, GHC.SysTools.FileCleanup as FileCleanup
, GHC.SysTools.ExtraObj as SysTools.ExtraObj
, GHC.Cmm.Monad as CmmMonad
, GHC.Builtin.RebindableNames
if impl(ghc >= 9.2)
hs-source-dirs: src
exposed-modules:
CoreMap
HscTypes
reexported-modules:
GHC.Types.TyThing.Ppr as PprTyThing
, GHC.Unit.Finder as Finder
, GHC.StgToByteCode as ByteCodeGen
, GHC.Linker.Types as LinkerTypes
, GHC.Linker as Linker
, GHC.Utils.TmpFs as FileCleanup
, GHC.Linker.ExtraObj as SysTools.ExtraObj
, GHC.Cmm.Parser.Monad as CmmMonad
if impl(ghc >= 9.0) if impl(ghc >= 9.0)
hs-source-dirs: src hs-source-dirs: src
exposed-modules: Outputable exposed-modules: Outputable
...@@ -95,7 +126,6 @@ library ...@@ -95,7 +126,6 @@ library
, GHC.Rename.Env as RnEnv , GHC.Rename.Env as RnEnv
, GHC.Rename.Expr as RnExpr , GHC.Rename.Expr as RnExpr
, GHC.Rename.Fixity as RnFixity , GHC.Rename.Fixity as RnFixity
, GHC.Rename.Doc as RnHsDoc
, GHC.Rename.Names as RnNames , GHC.Rename.Names as RnNames
, GHC.Rename.Pat as RnPat , GHC.Rename.Pat as RnPat
, GHC.Rename.Module as RnSource , GHC.Rename.Module as RnSource
...@@ -107,7 +137,6 @@ library ...@@ -107,7 +137,6 @@ library
, GHC.Builtin.Names as PrelNames , GHC.Builtin.Names as PrelNames
, GHC.Builtin.Names.TH as THNames , GHC.Builtin.Names.TH as THNames
, GHC.Builtin.PrimOps as PrimOp , GHC.Builtin.PrimOps as PrimOp
, GHC.Builtin.RebindableNames
, GHC.Builtin.Types as TysWiredIn , GHC.Builtin.Types as TysWiredIn
, GHC.Builtin.Types.Literals as TcTypeNats , GHC.Builtin.Types.Literals as TcTypeNats
, GHC.Builtin.Types.Prim as TysPrims , GHC.Builtin.Types.Prim as TysPrims
...@@ -162,7 +191,6 @@ library ...@@ -162,7 +191,6 @@ library
, GHC.Cmm.Lint as CmmLint , GHC.Cmm.Lint as CmmLint
, GHC.Cmm.Liveness as CmmLive , GHC.Cmm.Liveness as CmmLive
, GHC.Cmm.MachOp as CmmMachOp , GHC.Cmm.MachOp as CmmMachOp
, GHC.Cmm.Monad as CmmMonad
, GHC.Cmm.Node as CmmNode , GHC.Cmm.Node as CmmNode
, GHC.Cmm.Opt as CmmOpt , GHC.Cmm.Opt as CmmOpt
, GHC.Cmm.Pipeline as CmmPipeline , GHC.Cmm.Pipeline as CmmPipeline
...@@ -256,8 +284,6 @@ library ...@@ -256,8 +284,6 @@ library
, GHC.SysTools.Ar as Ar , GHC.SysTools.Ar as Ar
, GHC.SysTools.BaseDir as SysTools.BaseDir , GHC.SysTools.BaseDir as SysTools.BaseDir
, GHC.SysTools.Elf as Elf , GHC.SysTools.Elf as Elf
, GHC.SysTools.ExtraObj as SysTools.ExtraObj
, GHC.SysTools.FileCleanup as FileCleanup
, GHC.SysTools.Info as SysTools.Info , GHC.SysTools.Info as SysTools.Info
, GHC.SysTools.Process as SysTools.Process , GHC.SysTools.Process as SysTools.Process
, GHC.SysTools.Tasks as SysTools.Tasks , GHC.SysTools.Tasks as SysTools.Tasks
...@@ -289,8 +315,6 @@ library ...@@ -289,8 +315,6 @@ library
, GHC.Runtime.Debugger as Debugger , GHC.Runtime.Debugger as Debugger
, GHC.Runtime.Interpreter as GHCi , GHC.Runtime.Interpreter as GHCi
, GHC.Runtime.Linker as Linker
, GHC.Runtime.Linker.Types as LinkerTypes
, GHC.Runtime.Loader as DynamicLoading , GHC.Runtime.Loader as DynamicLoading
, GHC.Runtime.Eval as InteractiveEval , GHC.Runtime.Eval as InteractiveEval
, GHC.Runtime.Eval.Types as InteractiveEvalTypes , GHC.Runtime.Eval.Types as InteractiveEvalTypes
...@@ -303,8 +327,6 @@ library ...@@ -303,8 +327,6 @@ library
, GHC.ByteCode.Linker as ByteCodeLink , GHC.ByteCode.Linker as ByteCodeLink
, GHC.ByteCode.Types as ByteCodeTypes , GHC.ByteCode.Types as ByteCodeTypes
, GHC.CoreToByteCode as ByteCodeGen
, GHC.Llvm.MetaData as Llvm.MetaData , GHC.Llvm.MetaData as Llvm.MetaData
, GHC.Llvm.Ppr as Llvm.PpLlvm , GHC.Llvm.Ppr as Llvm.PpLlvm
, GHC.Llvm.Types as Llvm.Types , GHC.Llvm.Types as Llvm.Types
...@@ -321,7 +343,6 @@ library ...@@ -321,7 +343,6 @@ library
, GHC.Driver.Backpack as DriverBkp , GHC.Driver.Backpack as DriverBkp
, GHC.Driver.CmdLine as CmdLineParser , GHC.Driver.CmdLine as CmdLineParser
, GHC.Driver.CodeOutput as CodeOutput , GHC.Driver.CodeOutput as CodeOutput
, GHC.Driver.Finder as Finder
, GHC.Driver.MakeFile as DriverMkDepend , GHC.Driver.MakeFile as DriverMkDepend
, GHC.Driver.Main as HscMain , GHC.Driver.Main as HscMain
, GHC.Driver.Make as GhcMake , GHC.Driver.Make as GhcMake
...@@ -332,7 +353,6 @@ library ...@@ -332,7 +353,6 @@ library
, GHC.Driver.Pipeline.Monad as PipelineMonad , GHC.Driver.Pipeline.Monad as PipelineMonad
, GHC.Driver.Plugins as Plugins , GHC.Driver.Plugins as Plugins
, GHC.Driver.Monad as GhcMonad , GHC.Driver.Monad as GhcMonad
, GHC.Driver.Types as HscTypes
, GHC.Prelude as GhcPrelude , GHC.Prelude as GhcPrelude
, GHC.Plugins as GhcPlugins , GHC.Plugins as GhcPlugins
, GHC as GHC , GHC as GHC
...@@ -415,7 +435,6 @@ library ...@@ -415,7 +435,6 @@ library
, GHC.Core.InstEnv as InstEnv , GHC.Core.InstEnv as InstEnv
, GHC.Core.Lint as CoreLint , GHC.Core.Lint as CoreLint
, GHC.Core.Make as MkCore , GHC.Core.Make as MkCore
, GHC.Core.Map as CoreMap
, GHC.Core.Multiplicity , GHC.Core.Multiplicity
, GHC.Core.Opt.Arity as CoreArity , GHC.Core.Opt.Arity as CoreArity
...@@ -423,7 +442,6 @@ library ...@@ -423,7 +442,6 @@ library
, GHC.Core.PatSyn as PatSyn , GHC.Core.PatSyn as PatSyn
, GHC.Core.Ppr as PprCore , GHC.Core.Ppr as PprCore
, GHC.Core.Ppr.TyThing as PprTyThing
, GHC.Core.Predicate as Predicate , GHC.Core.Predicate as Predicate
, GHC.Core.Rules as Rules , GHC.Core.Rules as Rules
, GHC.Core.Seq as CoreSeq , GHC.Core.Seq as CoreSeq
...@@ -449,7 +467,6 @@ library ...@@ -449,7 +467,6 @@ library
, GHC.Utils.Binary as Binary , GHC.Utils.Binary as Binary
, GHC.Utils.BufHandle as BufWrite , GHC.Utils.BufHandle as BufWrite
, GHC.Utils.CliOption as CliOption , GHC.Utils.CliOption as CliOption
, GHC.Utils.Encoding as Encoding
, GHC.Utils.Error as ErrUtils , GHC.Utils.Error as ErrUtils
, GHC.Utils.Exception as Exception , GHC.Utils.Exception as Exception
, GHC.Utils.FV as FV , GHC.Utils.FV as FV
......
module CoreMap
( module GHC.Core.Map.Expr
, module GHC.Core.Map.Type
)
where
import GHC.Core.Map.Expr
import GHC.Core.Map.Type
module HscTypes
( module X
)
where
import GHC.Driver.Env.Types as X
import GHC.Unit.Finder.Types as X
import GHC.Unit.Module.Status as X
import GHC.Unit.Module.Graph as X
import GHC.Unit.Module.ModDetails as X
import GHC.Unit.Module.ModGuts as X
import GHC.Unit.Module.ModSummary as X
import GHC.Unit.Home.ModInfo as X
import GHC.Unit.Module.ModIface as X
import GHC.Unit.Module.Warnings as X
import GHC.Unit.Types as X
import GHC.Types.SourceFile as X
import GHC.Types.Fixity.Env as X
import GHC.Types.Target as X
import GHC.Types.Meta as X
import GHC.Types.TyThing as X
import GHC.Types.TypeEnv as X
import GHC.Types.HpcInfo as X
import GHC.Types.SourceError as X
import GHC.Driver.Env as X
import GHC.Runtime.Context as X
import GHC.Linker.Types as X
import GHC.ByteCode.Types as X
import GHC.Types.SafeHaskell as X
import GHC.Types.CompleteMatch as X
import GHC.Hs as X
import GHC.Iface.Ext.Fields as X
{-# LANGUAGE CPP #-}
module Outputable module Outputable
( module GHC.Utils.Outputable ( module GHC.Utils.Outputable
#if !MIN_VERSION_GLASGOW_HASKELL(9,0,0,0)
-- now exported again from Outputable
, initSDocContext , initSDocContext
#endif
) where ) where
import GHC.Utils.Outputable import GHC.Utils.Outputable
import GHC.Driver.Session (initSDocContext) #if !MIN_VERSION_GLASGOW_HASKELL(9,0,0,0)
\ No newline at end of file import GHC.Driver.Session (initSDocContext)
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment