[Git][ghc/ghc][wip/weird-sign-extends] Work around untracked dependencies

Matthew Craven (@clyring) gitlab at gitlab.haskell.org
Sat Mar 2 03:31:44 UTC 2024



Matthew Craven pushed to branch wip/weird-sign-extends at Glasgow Haskell Compiler / GHC


Commits:
b3069ef5 by Matthew Craven at 2024-03-01T22:31:18-05:00
Work around untracked dependencies

This is a temporary hack, until ghc properly reports the implicit
dependency of every module outside of ghc-bignum or ghc-prim on
GHC.Num.BigNat.  Otherwise we see CI failures.  See also #23942.

- - - - -


4 changed files:

- compiler/GHC/Utils/Containers/Internal/StrictPair.hs
- libraries/base/src/GHC/IO/Encoding/Iconv.hs
- libraries/ghc-experimental/src/Data/Sum/Experimental.hs
- libraries/ghc-experimental/src/Data/Tuple/Experimental.hs


Changes:

=====================================
compiler/GHC/Utils/Containers/Internal/StrictPair.hs
=====================================
@@ -4,6 +4,10 @@
 
 module GHC.Utils.Containers.Internal.StrictPair (StrictPair(..), toPair) where
 
+-- stupid build-order workaround until #23942 is properly fixed
+import GHC.Base ()
+
+
 -- | The same as a regular Haskell pair, but
 --
 -- @


=====================================
libraries/base/src/GHC/IO/Encoding/Iconv.hs
=====================================
@@ -27,4 +27,7 @@ import GHC.Internal.IO.Encoding.Iconv
 #else
     ( ) where
 
+-- stupid build-order workaround until #23942 is properly fixed
+import GHC.Base ()
+
 #endif


=====================================
libraries/ghc-experimental/src/Data/Sum/Experimental.hs
=====================================
@@ -81,3 +81,6 @@ module Data.Sum.Experimental (
 ) where
 
 import GHC.Types
+
+-- stupid build-order workaround until #23942 is properly fixed
+import GHC.Base ()


=====================================
libraries/ghc-experimental/src/Data/Tuple/Experimental.hs
=====================================
@@ -161,3 +161,6 @@ module Data.Tuple.Experimental (
 import GHC.Tuple
 import GHC.Types
 import GHC.Classes
+
+-- stupid build-order workaround until #23942 is properly fixed
+import GHC.Base ()



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/b3069ef5d89a8d6d2a36f2166b327fd8d0582064

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/b3069ef5d89a8d6d2a36f2166b327fd8d0582064
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/20240301/c702d44c/attachment-0001.html>


More information about the ghc-commits mailing list