[Git][ghc/ghc][master] Hadrian: fix PowerPC64le support (#17601)

Marge Bot gitlab at gitlab.haskell.org
Thu Jul 2 14:46:34 UTC 2020



 Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
23e4e047 by Sylvain Henry at 2020-07-02T10:46:31-04:00
Hadrian: fix PowerPC64le support (#17601)

[ci skip]

- - - - -


1 changed file:

- hadrian/src/Hadrian/Haskell/Cabal.hs


Changes:

=====================================
hadrian/src/Hadrian/Haskell/Cabal.hs
=====================================
@@ -59,9 +59,10 @@ pkgGenericDescription = fmap genericPackageDescription . readPackageData
 --
 -- Inverse of 'Cabal.Distribution.Simple.GHC.ghcArchString'.
 cabalArchString :: String -> String
-cabalArchString "powerpc"   = "ppc"
-cabalArchString "powerpc64" = "ppc64"
-cabalArchString other       = other
+cabalArchString "powerpc"     = "ppc"
+cabalArchString "powerpc64"   = "ppc64"
+cabalArchString "powerpc64le" = "ppc64"
+cabalArchString other         = other
 
 -- | Cabal's rendering of an OS as used in its directory structure.
 --



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/23e4e04700f840e3c4e75ccb2085aea05bfb5318
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/20200702/34385317/attachment.html>


More information about the ghc-commits mailing list