Cheng Shao pushed to branch wip/bump-submodules-2603 at Glasgow Haskell Compiler / GHC

Commits:

4 changed files:

Changes:

  • hadrian/src/Rules/ToolArgs.hs
    ... ... @@ -153,6 +153,9 @@ toolTargets = [ cabalSyntax
    153 153
                   , filepath
    
    154 154
                   , fileio
    
    155 155
                   , osString
    
    156
    +              -- os-string/filepath now depend on them
    
    157
    +              , thLift
    
    158
    +              , thQuasiquoter
    
    156 159
                   -- , ghc     -- # depends on ghc library
    
    157 160
                   -- , runGhc  -- # depends on ghc library
    
    158 161
                   , ghcBoot
    
    ... ... @@ -200,4 +203,3 @@ dirMap = do
    200 203
           cd <- readContextData c
    
    201 204
           ids <- liftIO $ mapM canonicalizePath [pkgPath p </> i | i <- srcDirs cd]
    
    202 205
           return $ map (,(p, modules cd ++ otherModules cd)) ids
    203
    -

  • hadrian/src/Settings/Flavours/GhcInGhci.hs
    1 1
     module Settings.Flavours.GhcInGhci (ghcInGhciFlavour) where
    
    2 2
     
    
    3
    +import qualified Data.Set as Set
    
    3 4
     import Expression
    
    4 5
     import Flavour
    
    6
    +import Oracles.Flag
    
    5 7
     import {-# SOURCE #-} Settings.Default
    
    6 8
     
    
    7 9
     -- Please update doc/flavours.md when changing this file.
    
    8 10
     ghcInGhciFlavour :: Flavour
    
    9 11
     ghcInGhciFlavour = disableProfiledLibs $ defaultFlavour
    
    10 12
         { name        = "ghc-in-ghci"
    
    11
    -    , extraArgs        = ghciArgs
    
    13
    +    , extraArgs   = ghciArgs
    
    14
    +    , libraryWays =
    
    15
    +        Set.fromList
    
    16
    +            <$> mconcat
    
    17
    +                [ pure [vanilla]
    
    18
    +                , platformSupportsSharedLibs ? pure [dynamic]
    
    19
    +                ]
    
    12 20
         }
    
    13 21
     
    
    14 22
     ghciArgs :: Args
    

  • libraries/filepath
    1
    -Subproject commit cbcd0ccf92f47e6c10fb9cc513a7b26facfc19fe
    1
    +Subproject commit baac7d7e76449f76fc6785e77206edb5530b6bfb

  • libraries/os-string
    1
    -Subproject commit c08666bf7bf528e607fc1eacc20032ec59e69df3
    1
    +Subproject commit 71f66e1af2288867becaa567dfb10c1d791b0343