[Git][ghc/ghc][wip/9.2.7-backports] Hadrian: Enable SMP on powerpc64{le}

Zubin (@wz1000) gitlab at gitlab.haskell.org
Fri Feb 17 04:41:54 UTC 2023



Zubin pushed to branch wip/9.2.7-backports at Glasgow Haskell Compiler / GHC


Commits:
136f5035 by Peter Trommler at 2023-02-17T10:11:40+05:30
Hadrian: Enable SMP on powerpc64{le}

Fixes #19825

(cherry picked from commit 7cfa6f3114168797cf1fa7faa4ffe6c06b73f149)

- - - - -


1 changed file:

- hadrian/src/Oracles/Flag.hs


Changes:

=====================================
hadrian/src/Oracles/Flag.hs
=====================================
@@ -72,7 +72,16 @@ targetSupportsSMP :: Action Bool
 targetSupportsSMP = do
   unreg <- flag GhcUnregisterised
   armVer <- targetArmVersion
-  goodArch <- anyTargetArch ["i386", "x86_64", "sparc", "powerpc", "arm", "aarch64", "s390x", "riscv64"]
+  goodArch <- anyTargetArch ["i386"
+                            , "x86_64"
+                            , "sparc"
+                            , "powerpc"
+                            , "powerpc64"
+                            , "powerpc64le"
+                            , "arm"
+                            , "aarch64"
+                            , "s390x"
+                            , "riscv64"]
   if   -- The THREADED_RTS requires `BaseReg` to be in a register and the
        -- Unregisterised mode doesn't allow that.
      | unreg                -> return False



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/136f5035286a09563af6e04653b59047785926be
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/20230216/4d71edae/attachment-0001.html>


More information about the ghc-commits mailing list