[Git][ghc/ghc][wip/toolchain-selection] 2 commits: Delete unused imports of SysTools.Info
Rodrigo Mesquita (@alt-romes)
gitlab at gitlab.haskell.org
Mon May 22 18:47:03 UTC 2023
Rodrigo Mesquita pushed to branch wip/toolchain-selection at Glasgow Haskell Compiler / GHC
Commits:
fd4e2953 by Rodrigo Mesquita at 2023-05-22T19:06:33+01:00
Delete unused imports of SysTools.Info
- - - - -
8196df06 by Rodrigo Mesquita at 2023-05-22T19:46:58+01:00
Drop PROG_CPP in distrib/autoconf too
- - - - -
5 changed files:
- compiler/GHC/Linker/ExtraObj.hs
- compiler/GHC/SysTools.hs
- compiler/GHC/SysTools/Info.hs
- compiler/GHC/SysTools/Tasks.hs
- distrib/configure.ac.in
Changes:
=====================================
compiler/GHC/Linker/ExtraObj.hs
=====================================
@@ -39,7 +39,6 @@ import qualified GHC.Data.ShortText as ST
import GHC.SysTools.Elf
import GHC.SysTools.Tasks
-import GHC.SysTools.Info
import GHC.Linker.Unit
import Control.Monad
=====================================
compiler/GHC/SysTools.hs
=====================================
@@ -17,7 +17,6 @@ module GHC.SysTools (
-- * Interface to system tools
module GHC.SysTools.Tasks,
- module GHC.SysTools.Info,
-- * Fast file copy
copyFile,
@@ -35,7 +34,6 @@ import GHC.Prelude
import GHC.Utils.Panic
import GHC.Driver.Session
-import GHC.SysTools.Info
import GHC.SysTools.Tasks
import GHC.SysTools.BaseDir
import GHC.Settings.IO
=====================================
compiler/GHC/SysTools/Info.hs
=====================================
@@ -8,23 +8,6 @@
-----------------------------------------------------------------------------
module GHC.SysTools.Info where
-import GHC.Utils.Exception
-import GHC.Utils.Error
-import GHC.Driver.Session
-import GHC.Utils.Outputable
-import GHC.Utils.Misc
-import GHC.Utils.Logger
-
-import Data.List ( isInfixOf, isPrefixOf )
-import Data.IORef
-
-import System.IO
-
-import GHC.Platform
-import GHC.Prelude
-
-import GHC.SysTools.Process
-
{- Note [Run-time linker info]
~~~~~~~~~~~~~~~~~~~~~~~~~~~
See also: #5240, #6063, #10110
=====================================
compiler/GHC/SysTools/Tasks.hs
=====================================
@@ -19,7 +19,6 @@ import GHC.CmmToLlvm.Config (LlvmVersion, llvmVersionStr, supportedLlvmVersionUp
import GHC.Settings
import GHC.SysTools.Process
-import GHC.SysTools.Info
import GHC.Driver.Session
=====================================
distrib/configure.ac.in
=====================================
@@ -106,9 +106,6 @@ dnl --------------------------------------------------------------
AC_PROG_CC([gcc clang])
AC_PROG_CXX([g++ clang++ c++])
-dnl ** figure out how to invoke the C preprocessor (i.e. `gcc -E`)
-AC_PROG_CPP
-
# --with-hs-cpp/--with-hs-cpp-flags
FP_HSCPP_CMD_WITH_ARGS(HaskellCPPCmd, HaskellCPPArgs)
AC_SUBST([HaskellCPPCmd])
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/97a64016882224b52197e5796ca7be5e959eddca...8196df064f0427fbbfb23e5bbeb1214c3a493613
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/97a64016882224b52197e5796ca7be5e959eddca...8196df064f0427fbbfb23e5bbeb1214c3a493613
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230522/c429841c/attachment-0001.html>
More information about the ghc-commits
mailing list